Error 100 Occurred at Read From Measurement File in LabVIEW

Updated Sep 22, 2022

Reported In

Software

  • LabVIEW Base

Issue Details

I am using the Read From Measurement File express VI to access data in an Excel file that I saved previously. However, when I try running the program, it comes up with, "Error 100 occurred at Read from Measurement File->Test.vi" seen in the following figure: 


Why is this happening and how can I get the express VI to read my measurement file?

Solution

This error occurs when you try to read from a file that is outside of the file format supported by the Read From Measurement File Express VI. For instance, an Excel file that contains a .xlsx extension. 

The Read From Measurement File Express VI is configured to read from a text (LVM) file, Binary (TDMS) file, or a Binary with XML Header (TDM) file. If the file that you're trying to access has a different extension than .lvm, .tdms or .tdm, it will not be able to be read correctly.

In order to read your Excel data, you will need to save it as a tab delimited text file as outlined in the KnowledgeBase article Reading Microsoft Excel Numeric Data Into LabVIEW . When you save the file as a .lvm, be sure to configure the Read From Measurement File Express VI by double clicking it to open the Configure Read From Measurement File box. Then, under File Format, choose the Text (LVM) option.