Complete the following steps to convert variant data to LabVIEW data.
Select the Variant to Data function on the Functions»Advanced»Data Manipulation»Variant palette.
Wire variant data to the variant input of the Variant to Data function.
Right-click the type input of the Variant to Data function and select Create Constant from the shortcut menu.
The constant can be any data type, but the variant data must be able to conform to that data type. For example, if the data consists of letters, you must wire a string to the type input. Otherwise, the Variant to Data function retrieves no data from the variant data. However, if the data are integers, you can coerce the data to another numeric representation, such as an extended-precision floating-point number.
Wire an indicator that matches the type you specified in the type input to the data output of the Variant to Data function.