Example Code

Readable XML string

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Description

Small sub vi to make the XML string more readable for myself.

This is used to redo the output of the "Flatten to XML" to get a more readable string format.

 

This string format is compatible with the "Unflatten From XML" function.

How to Use

XML string in from "Flatten to XML"

XML string out to string indicator.

Additional Information

Extra input for the tokens used (can be altered by user if needed)

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.