Diagram class/Create from Data Type method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 6D17C804
Scope VI Scripting
Data Name Create from Data Type
Short Name* Create from Data Type
Long Name* Create from Data Type
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 16384
Owning Class Name Diagram Class
Return Data Type No return value
Invoke Node Create from Data Type
Available in Real-Time Operating SystemNo
Available in Run-Time EngineNo
Loads the block diagram into memoryYes
Loads the front panel into memoryYes
Need to authenticate before useNo
Remote access allowedNo
Settable when the VI is runningNo

Creates a control or constant of the data type you specify. LabVIEW always creates a control initially. To change the type of the new object, use the Change to Indicator method.

Use the To More Specific Class function to try to cast the reference this method returns to the specific class you want to use in the application. If the function does not return an error, the reference matches the specific class.


Data type Name Required Description
LV Variant Data Type Yes The data type you want to use to create the constant.
Numeric Cluster Position No Specifies the position where you want to create the constant or control.
Control Refnum New Object Reference No The reference to the constant or control you create.
Boolean Make Names Unique (F) No



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

See Also

External Links