QUOTE (jdunham @ Sep 15 2008, 09:15 PM)
Circular buffer.. I didn't know about it (I'm quite new to labview). Very interesting topic, basically is what I was doing with the array but here I can get some priority guarantees which I was not considering in the other way. I'm acquiring data from a sensor via the CANopen protocol with the NI usb-8473. When the sensor is operative it sends messages at a fixed rate (up to 1KHz) and to acquire this data I set up a while loop in which each message is read and decoded when it is ready in the buffer of the NI device.
QUOTE
It's somewhat unusual to get one sample per loop, and then perform an FFT, because usually interesting FFTs come from pretty fast data streams, and you are often getting many samples with every iteration.
In the starting post I haven't been clear about it, actually, I'm performing FFT at a fixed rate, with a window size dependent on the resolution I want to get.
I'm going to try the circular buffer,
Thank you very much