Constant class

From LabVIEW Wiki
Jump to: navigation, search
VI Server Class Information
Return to VI Server Class Hierarchy
Class Name Constant class
Class ID 16386
Scope VI Scripting
Class Inheritance
Class Children


The Constant class is a class in the VI Server Class Hierarchy, (see also VI Server).

Properties

Show/Hide Constant Properties Table

Legend
R/WReadable/Writable Permissions
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
Constant Properties Table
Property ID Long Name (English) Description R/W RTE
634AC00ValueProvides the value of the constant, which is an LV Variant.Read/WriteNo
634AC01DescriptionProvides a description of the constant.Read/WriteNo
634AC02LabelReturns a reference to the label.Read OnlyNo
634AC03Tip StripGets or sets the tip strip of a constant. A tip strip is the brief description of the object that appears when you move the cursor over the object.Read/WriteNo
634AC04TerminalReturns a reference to the terminal.Read OnlyNo
634AC05Is Typedef?Returns whether the constant is linked to the type definition.Read OnlyNo
634AC06Typedef:PathReturns the path to the type definition if the constant is linked to a type definition. Otherwise, LabVIEW returns an empty path.Read OnlyNo
634AC07Auto-Update From TypedefIf TRUE, the constant automatically updates when the type definition changes.Read/WriteNo
634AC08Typedef:VIReturns a reference to the type definition if the constant is connected to a type definition. Otherwise, LabVIEW returns <NotARef>.Read OnlyNo

Methods

Show/Hide Constant Properties Table

Legend
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
Constant Methods Table
Method ID Long Name (English) Description RTE
634A800Disconnect From TypedefDisconnects the constant from the type definition and returns TRUE. If the constant is not connected to a type definition, LabVIEW returns FALSE.No
634A801Update From TypedefUpdates the constant from the type definition and returns TRUE. If the constant is not connected to a type definition, LabVIEW returns FALSE.No
634A802Change to ControlChanges the constant to a control and returns a reference to the control. LabVIEW automatically closes the reference to the constant.No
634A803Change to IndicatorChanges the constant to an indicator and returns a reference to the indicator. LabVIEW automatically closes the reference to the constant.No
634A804Copy DataCopies the data associated with the constant and saves it to the clipboard.No
634A806Paste DataPlaces the data from the clipboard into the constant.No
634A807Change to Shared Variable NodeChanges the constant to a Shared Variable node and returns a reference to the Shared Variable node. If you do not specify a shared variable to bind to the node, LabVIEW creates a new shared variable. LabVIEW automatically closes the reference to the constant.No

Events

This class has no events or it inherits events from its parent: GObject Class.


History

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

See Also