Read XPS File Using LabVIEW

Updated Sep 28, 2023

Reported In


  • LabVIEW
  • LabVIEW Report Generation Toolkit

Operating System

  • Windows

Issue Details

Is it possible to read the content of an XPS file using LabVIEW?


XPS is a filetype created by Microsoft. NI does not have any LabVIEW innate APUI or examples that work directly with XPS files; however, there are a few workarounds that you can do to read XPS with LabVIEW:

  • Convert the XPS file to an excel file, then use Report Generation Toolkit to read the data.
  • Use the dotNet XPS Document API in LabVIEW. 
  • Convert the file to another file type like XML. Then, use XML VIs and Functions to manipulate the XML data using LabVIEW. 
  • Rename the .XPS file into a .zip file and then Windows will show the contents of it. When you unzip it, you will get the XML files and then extract the bits of information you need from there. 

Additional Information

Since XPS file is not owned by NI thus the support is very limited. You may need to reach out to the Microsoft team  if you want to learn more about the XPS file.