Variant To Flattened String Function
- 已更新2025-07-30
- 閱讀時間為 2 分鐘
Converts variant data into a flattened string and an array of integers that represent the data type. You cannot flatten ActiveX variant data.

Inputs/Outputs
variant
—
variant is the variant data you want converted to a string of flattened data.
type string
—
type string is an array of numeric integers that identifies the data type of the flattened string.
data string
—
data string is the resulting flattened data you converted from variant data. |
If you use this function to flatten variant data, LabVIEW flattens only the variant and discards all its contents, including attributes. However, if you use the Flatten To String function, LabVIEW flattens the variant and all of its attributes.
variant
—
type string
—
data string
—