LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Import Data Into Zoom FFT VI

Im trying to import a text file with 100x2048 data on a sine wave...

Frequency = 1kHz
Sampling Frequency = 25kHz (df = .00004)
Amplitude = 1V
Samples = 2048

.. into a modified version of the "SVXMPL_Zoom FFT (Simulated).vi". The program keeps outputing zero for magnitude and phase.
Download All
0 Kudos
Message 1 of 3
(3,264 Views)
Hi virus86,
 
If you place a probe on the error wire inside the True case (right click the wire and select Probe), you will see that warning 1907 is given.  The description of that error is "VI automatically was reset because input signal should be continuous from one block to the next."  Have you tried using different data with the program? 
Jennifer R.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 3
(3,218 Views)

Hi virus86,

Currently t0 for the waveform is not specified, so it the same each time the loop iterates.  Knowing dt is 4E-5 and that there are 2048 samples per line in the file, it is possible to calculate t0 and convert it to a time stamp.  That eliminated the warning and displayed data for the magnitude and phase. 




Message Edited by Jennifer_R on 05-09-2008 01:16 AM
Jennifer R.
National Instruments
Applications Engineer
0 Kudos
Message 3 of 3
(3,204 Views)