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

Adding Attributes to Variant Data

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Complete the following steps to add attributes to variant data.

  1. Convert the data to variant data, as shown in the following block diagram.
  2. Place the Set Variant Attribute function on the block diagram.
  3. Wire the variant output of the To Variant function to the variant input of the Set Variant Attribute function.
  4. Wire the name and value inputs of the Set Variant Attribute function.
  5. Wire the variant out output of the Set Variant Attribute function to any VI or function that accepts variant data as an input.
  6. Run the VI. The block diagram should appear as follows.


Resources


 

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