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

Converting LabVIEW Data to Variant Data

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Variant data does not conform to a specific data type and can contain attributes. Use variant data when it is important to manipulate data independently of data type.

Complete the following steps to convert LabVIEW data to variant data.

  1. Place the To Variant function on the block diagram.
  2. Wire data to the anything input.
  3. Wire the variant output of the To Variant function to any VI or function that accepts variant data as an input.
  4. Run the VI.

After you convert LabVIEW data to variant data, you can add attributes to the data.


Resources


 

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