Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital output error-200292

Hi all,

              I was trying to generate multiple digital outputs using PWM to control pulse width and got error-200292.  

 Possible reasons are:

 

Some or all of all the samples to write could not be written to the buffer yet. More space will free up as the samples currently in the buffer are genrated.

 

It also sayas to increase sample rate or longer write timeout. I have used vi downloaded from community example.

 

http://decibel.ni.com/content/docs/DOC-8010

 

If any body has idea on this please let me know. I am stuck with this error for a while and have to resolve for my progress quickly. Kindly help me out!!!!!!

 

Message Edited by viswa on 11-29-2009 07:31 PM
0 Kudos
Message 1 of 2
(8,048 Views)

Hi viswa,

 

I addressed the error here.

 

To explain -200292 in a little more detail, DAQmx Write is what sends data to be generated to the output buffer.  This buffer is finite size, so if no data is being generated (or it is being generated too slowly) the buffer will fill up.  

 

DAQmx Write will wait until enough space is available in the output buffer write the desired number of samples. DAQmx Write is a blocking call, so your loop will hang here until either the data has been written or a timeout has been reached.  The -200292 error you are seeing is simply the timeout.

 

In your case, I would suspect that the most likely cause of this error is that you are not providing a sample clock for the DO task.

 

 

Best Regards,

John

John Passiak
0 Kudos
Message 2 of 2
(8,029 Views)