Archived:Reading Waveform File (.wfr) in LabVIEW NXG

Updated Jan 2, 2024

NI does not actively maintain this document.

This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.

Environment

Software

  • LabVIEW NXG
  • LabVIEW

Suppose you have a log file of the (.wfr) extension which was created by means of Write Waveform to File.vi. In LabVIEW this file could be read directly by means of Read Waveforms from File.vi .

However, in LabVIEW NXG there is no such possibility to read ".wfr" files directly. The workaround for this situation is to transform ".wfr" waveform files into the TDMS or TXT files in LabVIEW. 
 

One of the methods of saving ".txt" file into the TDMS is described in the Write .txt file to TDMS Community example.
It is also possible to read the ".wfr" waveform file in LabVIEW and convert it to TDMS file using Write to Measurement File.vi. The Block diagram and the settings are brought in the picture below.
image.png
 

As a result, you will obtain TDMS file which could be read in LabVIEW NXG.