01-27-2011 10:41 AM
I am using LabWindows/CVI to output analogue voltages on a PXI 6723. My software works well until I try to write a value that is outside of the range the scale for that channel can handle. The call to DAQmxWriteAnalogF64 rightfully returns error -200561 ("Attempted writing analog data that is too large or too small"). However following this, when I try to write in-range values, DAQmxWriteAnalogF64 returns -200293 ("The generation is not yet started, and not enough space is available in the buffer. Configure a larger buffer, or start the generation before writing more data than will fit in the buffer"). What is the cause of this?
Thanks
Martin
Solved! Go to Solution.
01-27-2011 03:47 PM
When the first error occurs the task stops and will not restart until everything gets better. If you are calling DAQmx Write with Autostart T you need to stop and start the task expressly after this error to clear the "bad value"
01-28-2011 03:14 AM
Thanks Jeff, much appreciated.