Control class/Update From Typedef method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 6331C0A
Scope VI Scripting
Data Name Update Typedef
Short Name* Update Typedef
Long Name* Update From Typedef
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 6
Owning Class Name Control Class
Return Data Type Boolean data type

Boolean

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

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.

Parameters

Data type Name Required Description
Boolean Update From Typedef Yes. Return value.

Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links