02-13-2008 11:33 AM
02-13-2008 11:57 AM
02-13-2008 03:18 PM
Hey Lynn,
Thank you for the quick reply. Unfortunately, this particular VI was coded by someone else, and not having heard of LabVIEW just a week ago, I know how you must have felt when you saw that. That kept aside, I've actually figured out how he's done things. The reason I posted this thread was because I entered some some data using a simulated device just to see what type of FFT graph I get. I would not really know exactly how the these signals will look like, since I'm using pressure transducers to measure them inside a tunnel.
However, not having learned about signal processing, I was baffled by the FFT graph it gave me. I thought it would give me spikey graph with a large amplitude at a particular point corresponding to a resonant frequency, which come to think of it now, is quite stupid because the simulated signal is probably nothing like what I'm expecting to get. So, i think I'm gonna have to wait till I actually get some real data from the wind tunnel.
One thing which I couldn't understand was why he's used some of the DAQ VIs, I know what it does, but not sure why he had to use some of them (For example, the DAQmx Timing property nodes at SampRateClick instance etc.) Would be very grateful if you could give me some help on that.
Cheers.
Ruf.
02-13-2008 06:58 PM
Simulated signals are typically a pure tone (probably 60 or 100Hz on each channel with a slight phase offset) or sometimes a square ware, depends on the device you have selected for simulation. If it is a pure tume you would expect the fft to give you a single spike at the frequency of the signal. for the square wave case, you expect the frequency and its odd harmonics to be the spikes.
Paul
02-14-2008 12:48 AM
02-14-2008 10:23 AM
Looks like there is 2 Daq tasks (Daq are data acquisition functions) he is setting up an AI (Analog in task) and an IO Task. The AI will measure a response to the AO? AO is putting out a waveform and the response is peasured and run through the fft. This is a general guess since the code could use some serious style upgrades. There are many examples on daq and dqmx functions in labview to play with.
Paul