Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Variant Functions

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

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 functions to add, retrieve, and delete attributes in LabVIEW variants, as well as manipulate variants.

Palette ObjectDescription
Delete Variant AttributeDeletes an attribute(s) and value(s) in variant data.
Flattened String To VariantConverts flattened data into variant data.
Get Variant AttributeRetrieves the names and values of all attributes or the value of a single attribute, depending on whether you wire the name parameter.
Set Variant AttributeAllows you to change or create an attribute and value for variant data.
To VariantConverts any LabVIEW data to variant data. You also can use this function to convert ActiveX data to variant data.
Variant To DataConverts 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 StringConverts variant data into a flattened string and an array of integers that represent the data type. You cannot flatten ActiveX variant data.


 Was this document helpful?  submit
  Helpful Not Helpful