Flatten/Unflatten String Functions

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

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 ObjectDescription
Flatten To JSONConverts data you wire to the anything input to a UTF-8 JavaScript Object Notation (JSON) string.
Flatten To StringConverts 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 XMLConverts any data type you wire to anything and converts it to an XML string according to the LabVIEW XML schema.
Flattened String To VariantConverts flattened data into variant data.
Unflatten From JSONConverts a UTF-8 JavaScript Object Notation (JSON) string to the LabVIEW data type you wire to type/defaults.
Unflatten From StringConverts 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 XMLConverts an XML string to a LabVIEW data type according to the LabVIEW XML schema.
Variant To Flattened StringConverts variant data into a flattened string and an array of integers that represent the data type. You cannot flatten ActiveX variant data.

WAS THIS ARTICLE HELPFUL?

Not Helpful