LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

scaling graph to frequency?

i have succesfully read in data from a digital input and managed to store in a text file. This data appears to be most likely an ASCII format. Are there ASCII to number converters? I would also like to now use this data and perform analysis on them.For example using the FFT etc. I have managed to read the data from the same file and perform analysis on it.However the FFT must represents a signal in the frequency domain and the scale remains in time. Im not sure how to scale my X axis to represent this? Can you please help!
0 Kudos
Message 1 of 2
(2,534 Views)
Hello St. Augustine,

Thank you for contacting National Instruments.

For help reading and writing in text files, please look at "Read from Text File.vi" and "Write to Text File.vi". You can find these in your Example Finder.

After experimenting with the FFT function, I have found that it is correctly graphing Amplitude vs. Frequency. You only have to change the graph x-axis label from "Time" to "Frequency".

I hope this helps,


Sean C.
Applications Engineer
National Instruments
Message 2 of 2
(2,534 Views)