Reads 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.


icon

Inputs/Outputs

  • cpath.png XML File Path

    XML File Path is the path and filename from which you want to read XML data.

    When you specify an empty path, a dialog box prompts the user to specify an XML file.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ipath.png XML File Path(duplicate)

    XML File Path(duplicate) is the path of the file from which the VI reads data.

    You can use this output to determine the file path that you selected through a dialog box. XML File Path(duplicate) has a value of <Not A Path> if you cancelled the dialog box.

  • istr.png XML Elements

    XML Elements returns the top-level XML tags found between the end of the </Version> and </LVData> tags in a single string. You then can wire this output to the Unflatten From XML function.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\File IO\XML\Flatten and Unflatten XML\Flatten and Unflatten XML.lvproj