Update From Typedef Method

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.

Remarks

The following table lists the characteristics of this method.

Data type
Available in Run-Time EngineNo
Available in Real-Time Operating SystemYes
Settable when the VI is runningNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes