LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to open a .txt data and make a graphic and FFT

I exported some data adquired by an accelerometer to excel. I edited this excel file and saved in .txt. I edited the extension to .lvm and I tryed to open it in labview (using read from measurement file) and I tryed to made a graphic. But the graphic is not correct. What I'm doing wrong? The way I'm doing it's in the file attached. The .txt file is attached too. (when I succeed to make the graphic I want to do a power spectrum with it)

 

Thanks

Download All
0 Kudos
Message 1 of 5
(3,561 Views)

Make sure you specify that the first column is time in the express dialog

 

(You don't need to rename to *.lvm, just read it with the txt extension)

0 Kudos
Message 2 of 5
(3,555 Views)

I am not sure about the Read From Measurement File Express VI, but Read from Spreadsheet File.vi does not handle comma decimal points correctly.  Your VI did not have the decimal point set to comma.

 

Lynn

0 Kudos
Message 3 of 5
(3,550 Views)

I set the the decimal point to comma. Still dont work.

0 Kudos
Message 4 of 5
(3,540 Views)

Here is my modification of your VI.  I am not sure why yours does not work.

 

It is possible that something got corrupted because I had some problems saving your VI after I modified it.

 

The Read from Text File is there so I could see exactly what was in the file.

 

Lynn

 

edit: forgot to attach file.

0 Kudos
Message 5 of 5
(3,529 Views)