Can I Programmatically Use the XML Packing Utility in NI LabVIEW?

Updated Jun 10, 2020

Reported In


  • TestStand
  • LabVIEW

Issue Details

I am using the XML Packing Utility to distribute TestStand XML reports as shown in this article
Can I automate this process?


The XML Packing Utility packs the TestStand XML reports with the necessary XML stylesheets so that they can viewed on a system that does not have TestStand.
To automate the process of packing the XML reports, you can use the command line interface for the utility and the System Exec VI in LabVIEW as shown in the screenshot below.

Figure 1: VI Snippet

The VI shown above takes the XML reports and destination folders as inputs and runs the command prompt line: XMLPack "file-path" "dest-folder" 

Additional Information

This VI can be called in your TestStand sequence, using the LabVIEW adapter, to create the packed XML reports directly from TestStand.