Flatten/Unflatten String下載 PDF選擇的小節所選的小節與子小節完整手冊已更新2025-07-30閱讀時間為 2 分鐘LabVIEWAPI 參考LabVIEW G Use the Flatten/Unflatten String functions to flatten and unflatten LabVIEW data types to and from strings. Flatten To XML FunctionConverts any data type you wire to anything and converts it to an XML string according to the LabVIEW XML schema.Unflatten From XML FunctionConverts an XML string to a LabVIEW data type according to the LabVIEW XML schema.Flatten To JSON FunctionConverts data you wire to the anything input to a UTF-8 JavaScript Object Notation (JSON) string.Unflatten From JSON FunctionConverts a UTF-8 JavaScript Object Notation (JSON) string to the LabVIEW data type you wire to type/defaults.Flatten To String FunctionConverts 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.Unflatten From String FunctionConverts 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.Variant To Flattened String FunctionConverts variant data into a flattened string and an array of integers that represent the data type. You cannot flatten ActiveX variant data.Flattened String To Variant FunctionConverts flattened data into variant data.Parent topic: String
Use the Flatten/Unflatten String functions to flatten and unflatten LabVIEW data types to and from strings. Flatten To XML FunctionConverts any data type you wire to anything and converts it to an XML string according to the LabVIEW XML schema.Unflatten From XML FunctionConverts an XML string to a LabVIEW data type according to the LabVIEW XML schema.Flatten To JSON FunctionConverts data you wire to the anything input to a UTF-8 JavaScript Object Notation (JSON) string.Unflatten From JSON FunctionConverts a UTF-8 JavaScript Object Notation (JSON) string to the LabVIEW data type you wire to type/defaults.Flatten To String FunctionConverts 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.Unflatten From String FunctionConverts 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.Variant To Flattened String FunctionConverts variant data into a flattened string and an array of integers that represent the data type. You cannot flatten ActiveX variant data.Flattened String To Variant FunctionConverts flattened data into variant data.Parent topic: String
Use the Flatten/Unflatten String functions to flatten and unflatten LabVIEW data types to and from strings. Flatten To XML FunctionConverts any data type you wire to anything and converts it to an XML string according to the LabVIEW XML schema.Unflatten From XML FunctionConverts an XML string to a LabVIEW data type according to the LabVIEW XML schema.Flatten To JSON FunctionConverts data you wire to the anything input to a UTF-8 JavaScript Object Notation (JSON) string.Unflatten From JSON FunctionConverts a UTF-8 JavaScript Object Notation (JSON) string to the LabVIEW data type you wire to type/defaults.Flatten To String FunctionConverts 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.Unflatten From String FunctionConverts 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.Variant To Flattened String FunctionConverts variant data into a flattened string and an array of integers that represent the data type. You cannot flatten ActiveX variant data.Flattened String To Variant FunctionConverts flattened data into variant data.Parent topic: String