Owning Palette: String Functions
Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the Flatten/Unflatten String functions to flatten and unflatten LabVIEW data types to and from strings.
Palette Object | Description |
---|---|
Flatten To JSON | Converts data you wire to the anything input to a UTF-8 JavaScript Object Notation (JSON) string. |
Flatten To String | Converts the anything input to a flattened data string of binary values. You also can use this function to convert the byte order, or endian format, of the data in the flattened data string. |
Flatten To XML | Converts any data type you wire to anything and converts it to an XML string according to the LabVIEW XML schema. |
Flattened String To Variant | Converts flattened data into variant data. |
Unflatten From JSON | Converts a UTF-8 JavaScript Object Notation (JSON) string to the LabVIEW data type you wire to type/defaults. |
Unflatten From String | Converts binary string to the type wired to type. binary string should contain flattened data of the type wired to type. You also can use this function to specify the byte order, or endian format, of the data in the binary string. |
Unflatten From XML | Converts an XML string to a LabVIEW data type according to the LabVIEW XML schema. |
Variant To Flattened String | Converts variant data into a flattened string and an array of integers that represent the data type. You cannot flatten ActiveX variant data. |