I have Labview 2011 32-bit (no toolkits), on Windows 7.
Hardware: NI USB-6251 DAQ board. I'm using analog in, analog out.
I am trying to collect data (read), analzye it (such as integrate or derivative) to make a new waveform (or data array)., and then output that new waveform. Just like this example:
http://zone.ni.com/reference/en-XX/help/370466V-01/mxcncpts/hwtimedsimio/
However, I don't have hardware timing.
I have tried many many things. One that worked temporarily, until the start task for write threw an error: http://i.imgur.com/as5ItdO.png
Another that works temporarily, but has a 7 second delay: http://i.imgur.com/VLbyZbo.png
Ends up having this error: Warning 200015 occurred
While writing to the buffer during a regeneration, the actual data generated might have alternated between old data and new data. That is, while the driver was replacing the old pattern in the buffer with the new pattern, the device might have generated a portion of new data, then a portion of old data, and then a portion of new data again.
Reduce the sample rate, use a larger buffer, or refer to documentation about DAQmx Write for information about other ways to avoid this warning.
Can anyone tell me what I'm missing? It seems very simple.
Thank you.