LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to transfer waveform graph to array

we are using sound card as a AD converter. using the example Simultaneous Sound IO.vi provided by Labview, we get the waveform of the two channels. Now we want to analyze the signals by using FFT. So we need to save the waveform to 2 arrays, which should include time and amplitude info. How to do that?

Thanks a lot!
0 Kudos
Message 1 of 3
(2,710 Views)
You have a couple of choices. You can use the FFT function in the Analyze >> Waveform Measurements pallette or you can use the Get Waveform Components function from the Waveform pallete. To create the time array you just build it knowing t0, dt, and the length of the amplitude array.

Tim
0 Kudos
Message 2 of 3
(2,710 Views)
Hello,

This is exactly what I would have suggested. Please see my attached VI for an example of implementing these suggestions.

Hope this helps!

Liz F.
National Instruments
0 Kudos
Message 3 of 3
(2,710 Views)