Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -200016 with my DAQPad-6016 for USB

I am using a DAQPad-6016 for USB with LabVIEW 7. I want to generate a sinewave (for example, 1 KHz) on one of the 2 analog output. When I run the "Cont Gen Wfm-Int Clk" example, the error -200016 appears at the "DAQmx Wait Until Task Done" VI. Why?
0 Kudos
Message 1 of 2
(3,071 Views)

Hello Juliana,

What are you entering for the Desired Frequency?  How about the Samples per Buffer and Cycles per Buffer?  The actual sample rate is determined from these three controls.  The way it is calculated is:  Samples per Buffer / Cycles per Buffer * Desired Frequency.  For example, if you use the default values of 250 Samples per Buffer, 5 Cycles per buffer and a Desired Frequency of 1000 Hz, the actual sample rate would be 250 / 5 *1000 = 50,000 S/sec.  You need to make sure that your actual sample rate is less than the 300 S/sec specification for the USB-6016.  Keep in mind that this 300 S/sec spec is system dependent, and could be slower depending on your computer and other running applications.

Try entering values of 20 Samples per Buffer, 1 Cycle per Buffer, and a Desired Frequency of 10 Hz.  This will result in a sample rate of 200 S/sec; well within the spec.  Does this generate an error?  If so, please reply to this post with a screen shot.
 
I hope this helps.

Regards,
Sean C.
Message 2 of 2
(3,064 Views)