Converting Flattened Data to Variant Data

Complete the following steps to convert data you flattened with the Flatten to String function to variant data.

  1. Select the Flattened String to Variant function on the Functions»Advanced»Data Manipulation»Variant palette.
  2. Wire the array of numeric integers that represents the data type of the flattened data to the type string input of the Flattened String to Variant function.
  3. Wire a flattened data string to the data string input of the Flattened String to Variant function.
  4. Wire the variant data output of the Flattened String to Variant function to any VI or function that accepts variant data as an input.
  5. Run the VI.