Owning Palette: Cluster, Class, & Variant VIs and Functions
Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the Variant VIs and functions to add, retrieve, and delete attributes in LabVIEW variants, manipulate variants, and retrieve data types of variants.
Palette Object | Description |
---|---|
Delete Variant Attribute | Deletes an attribute(s) and value(s) in variant data. |
Flattened String To Variant | Converts flattened data into variant data. |
Get Variant Attribute | Retrieves the names and values of all attributes or the value of a single attribute, depending on whether you wire the name parameter. |
Set Variant Attribute | Allows you to change or create an attribute and value for variant data. |
To Variant | Converts any LabVIEW data to variant data. You also can use this function to convert ActiveX data to variant data. |
Variant Constant | Use the variant constant to pass an empty variant to the block diagram. You cannot set a value for the variant constant. |
Variant To Data | Converts variant data to a LabVIEW data type so LabVIEW can display or process the data. You also can use this function to convert variant data to ActiveX data. |
Variant To Flattened String | Converts variant data into a flattened string and an array of integers that represent the data type. You cannot flatten ActiveX variant data. |
Subpalette | Description |
---|---|
Data Type Parsing VIs | Use the Data Type Parsing VIs to retrieve and compare the data type stored in a variant to other data types. |