LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

manipulate data of an lvm file

Hello,

I am new to Labview and I am trying to figure out how to open a .lvm file in LabView the way I can open it in Sigview since Sigview is very limited when it comes to manipulating Data.

 

Bkground Info:

I have a .lvm file which is made up of two columns, column A is seconds and column B is voltage.  For each second I have a Voltage reading starting from 1 to 1000.  I would like to plot this info in Labview and manipulate it.

 

What I tried to do is:

First change the extension of the .lvm file to a .txt, I called it TestData_1.txt

 

Then in Labview I  went to Block Diagram and wired

  • read from spreadsheet file.vi

TO

  • Waveform Graph

 

Then I went to the Front Panel clicked on run and when prompted in the "Choose file to read." dialog box I click on TestData_1.txt but all I get is a line on the x-axis instead of the non-zero data points that I expect.

 

Can someone tell me if this is the right way to read a .lvm file made up of two columns (time/voltage)?

Or is there a better way?

 

Thanks,

Patstarks

0 Kudos
Message 1 of 2
(2,927 Views)
I wrote a VI awhile back that would read a LVM file and output a "Array of DAQ Clusters" which elements of the array contain the Waveform data.  I had to keep updating it to support the changes to the LVM format over the years.  So, not sure if it will work for you without some tweeking.  Anyway, here it is.
Download All
Message 2 of 2
(2,918 Views)