How Can I Read all Waveforms in the File Using Read Waveform from File.vi

Updated Dec 28, 2018

Reported In

Software

  • LabVIEW

Issue Details

I saved the Multi Waveform using Write Waveforms to File.vi. The Append to file that is control of Write Waveform to File.vi is true which means appends data to an existing file. So, I wrote various Waveforms in sequence.

I hope that Multi Waveform are read using Read Waveform from File.vi. However, Only First Waveform is read. How do I read all of the Waveforms?
 

Solution

Read Waveform from File.vi opens a file created with the Write Waveforms to File.vi and reads one record of the file.

Read Waveform from File.vi has a ‘offset’ control that specifies in records which record to read from the file. The value of offset control is 0. So, If you don’t handle the value, you read only first Waveform from file.

To read all Waveforms in the file, Change the offset value from 0 to One less than the total number of Waveforms.

For example, If you input 1 as offset value like below, you will obtain second waveform among multi Waveforms.

WAS THIS ARTICLE HELPFUL?

Not Helpful