Variant data do not conform to a specific data type and contain attributes, such as channel names and channel units. 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.
Select the To Variant function on the Functions»Advanced»Data Manipulation»Variant palette and place it on the block diagram.
Wire a data type to the anything input.
Wire the variant data output of the To Variant function to any VI or function that accepts variant data as an input.
Run the VI.
After you convert LabVIEW data to variant data, you can add attributes to the data.