tsunami
2008-07-26 21:10:06 UTC
I am attempting to read in a quadrature encoder signal, process the data & resend the processed info back out of the USB-6229 DAQ board. I keep encountering either error 201025 or error 200802 depending if I set the autostart option of the DAQ write to T or F. As an experiment I successfully constructed a simple DAQ read & write loop that reads in a square wave from a signal generator. The simple VI works GREAT but when I apply the same strategy to my VI reading an encoder signal I cannot avoid the 2 error messages listed above. I AM LOST. ANY SUGGESTIONS? I have attached a pdf that shows my VI's + I included both VI's. The 1st VI in the PDF is the one that works well & the 2nd is the problem child. The dialog of the 2 errors are included below:
Error -200802 occurred at DAQmx Write (Analog Wfm 1Chan NSamp).vi:6
Possible reason(s):
Measurements: Write cannot be performed when the task is not started, the auto start input to DAQmx Write is false, the Sample Timing Type is something other than On Demand, and the output buffer size is zero.
Call DAQmx Start before DAQmx Write, set auto start to true, modify the Sample Timing Type, or change the output buffer size.
Error -201025 occurred at DAQmx Write (Analog Wfm 1Chan NSamp).vi:6
Measurements: Non-buffered hardware-timed operations are not supported for this device and Channel Type.
Set the Buffer Size to greater than 0, do not configure Sample Clock timing, or set Sample Timing Type to On Demand.
Error -200802 occurred at DAQmx Write (Analog Wfm 1Chan NSamp).vi:6
Possible reason(s):
Measurements: Write cannot be performed when the task is not started, the auto start input to DAQmx Write is false, the Sample Timing Type is something other than On Demand, and the output buffer size is zero.
Call DAQmx Start before DAQmx Write, set auto start to true, modify the Sample Timing Type, or change the output buffer size.
Error -201025 occurred at DAQmx Write (Analog Wfm 1Chan NSamp).vi:6
Measurements: Non-buffered hardware-timed operations are not supported for this device and Channel Type.
Set the Buffer Size to greater than 0, do not configure Sample Clock timing, or set Sample Timing Type to On Demand.