Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx USB Slow to configure

I am using the new USB-6009 devices in an application that fires off a thread for data acquisition.  The application runs mostly OK,  getting proper measurement times when it is running.

It takes up to 75 seconds to configure though!!!! (depending on machine and how many times it has configured)

I am using standard code
DAQmxCreateTask()
DAQmxCreateAIVoltageChan()
DAQmxCfgSampClkTiming()
DAQmxStartTask()
DAQmxReadAnalogF64()
DAQmxStopTask()

Is there anything I can do to get rid of this delay?  It seems to be the initial CreateTask() and the CreateAIVoltageChan() that are the delays.  This never was a problem with Traditional DAQ and an E-Series board.

Thanks for your help

0 Kudos
Message 1 of 3
(3,134 Views)

My NI 6008 needs 11 seconds to initialize

 

Win 2000, 256MB, 1,2GHz

 

Greets

Dubin

Grüsse aus Deutschland

(GMT +01:00)
0 Kudos
Message 2 of 3
(3,123 Views)
Hi Wayne,
 
I would first check to see if you can run the examples that install with the driver without this delay.  If there is no configuration delay when running the examples, there may be some conflict within the program you have written.  If the examples also show this delay, then try with another computer or another USB-6009 if you can because that seems to point to a hardware issue.  Does the time vary at all with the number of channels you are configuring?  You could also try creating global channels in Measurement and Automation Explorer (MAX) and programmatically adding them to your task using DAQmxAddGlobalChansToTask to see if you get a reduced configuration delay.
 
Let us know if any of this helps!
Laura
0 Kudos
Message 3 of 3
(3,099 Views)