Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

LabVIEW Schema VIs and Functions

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: XML VIs and 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 LabVIEW Schema VIs and functions to manipulate LabVIEW data in XML format.

Example

Palette ObjectDescription
Escape XMLConverts special characters to XML syntax according to the LabVIEW XML schema.
Flatten To XMLConverts any data type you wire to anything and converts it to an XML string according to the LabVIEW XML schema.
Read From XML FileReads and parses tags from a LabVIEW XML file. When you place this VI on the block diagram, the polymorphic VI selector is visible. Use this selector to choose which polymorphic instance to use. All XML data must follow the standard LabVIEW XML schema.
Unescape XMLConverts the XML syntax for special characters back to the special characters according to the LabVIEW XML schema.
Unflatten From XMLConverts an XML string to a LabVIEW data type according to the LabVIEW XML schema.
Write to XML FileWrites a text string of XML data with accompanying header tags to a text file. Wire data to the XML Input input to determine the polymorphic instance to use or manually select the instance. All XML data must follow the standard LabVIEW XML schema.

Example

Refer to the Flatten and Unflatten XML.lvproj in the labview\examples\File IO\XML\Flatten and Unflatten XML directory for an example of using the LabVIEW Schema VIs and Functions.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit