LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

spectral analysis from a file

I have data stored in a file.. how to read data from that file and give that as input to spectral measurements function
 
Thanks..
 
Reddy
0 Kudos
Message 1 of 6
(3,037 Views)
How is the data stored? What function did you use to write it? There are several functions for reading files - Read From Spreadsheet file, Read Waveform from File, Read Lines From File, Read LabVIEW Measurement File, Read Characters From File, etc. Provide some more details or  you can attach a copy of a data file so that someone can provide a little more help. Basically, you need to create to extract the Y values into an array and get the sampling rate from the file. Once you've done that, you can pass the information to an analysis routine as a waveform or signals data type.
Message 2 of 6
(3,026 Views)
You would read in the files values into a numeric array, which would then be wired into the analysis function. If the file is a "spreadsheet formatted" (tab delimited or comma seperated variables) one the "read from spreadsheet file" function will produce the numeric array directly.
 
P.M.
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



Message 3 of 6
(3,022 Views)
The Data is stored in a LVM file .
0 Kudos
Message 4 of 6
(3,016 Views)
Then use the Read LabVIEW Measurements File to get the data. It will return a Signals data type that you can wire to Spectral Measurements Express VI.
Message 5 of 6
(3,010 Views)

Yeah.. i did that.. Its working..

Thanks to Dennis and Lv_Pro for ur time..  Thanks again

Reddy

0 Kudos
Message 6 of 6
(3,005 Views)