Adding Attributes to Variant Data
Complete the following steps to add attributes to variant data.
- Convert the data to variant data.
- Select the Set Variant Attribute function on the Functions»Advanced»Data Manipulation»Variant palette and place it on the block diagram.
- Wire the variant data output of To Variant Data function to the variant input of the Set Variant Attribute function.
- Specify a name and a value for the data on the Set Variant Attribute function.
- Wire the variant data output on the Set Variant Attribute function to any VI or function that accepts variant data as an input.
- Run the VI.