Short Name: Update Typedef
Requires: VI Scripting
Class: Control Methods
To Use: Create a method.
Updates the control from the type definition and returns TRUE. If the control is not connected to a type definition, LabVIEW returns FALSE.
In most cases, LabVIEW correctly preserves the default values of each instance when updating from the type definition. However, if LabVIEW is unable to map the previous default values to the updated controls or constants when updating instances, LabVIEW may lose or incorrectly preserve the default values of instances LabVIEW updates programmatically. Avoid updating type definition instances programmatically if the instances have custom default values and you plan to make extensive changes to the type definition.
Note After the update, obtain a new reference to the control because the update might have changed type of the control. |
The following table lists the characteristics of this method.
Data type | |
Available in Run-Time Engine | No |
Available in Real-Time Operating System | Yes |
Settable when the VI is running | No |
Loads the front panel into memory | No |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access allowed | Yes |