Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Variant Functions

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Owning Palette: Cluster, Class, & Variant VIs and Functions

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.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit