ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Start Task delay

Is there any documented delay between calling a Start Counter Task function and actually seeing the output on the physical port? Currently I am counting external input triggers and then outputing a continuous TTL pulse using a a counter when certain number of triggers have arrived. At the same time I am sending a command to an external stimulation device (RS232) to start. From my tests I have found that the stimulation devices starts approximately 130ms before I see the TTL pulses from the counter output. Is it possible that Start Task function is causing a non-negligible delay?

 

 

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

Do you use DAQ assistant or do you have already set up the task and only use the DAQmx Start function?

 

Felix

0 Kudos
Message 2 of 3
(3,010 Views)

No, all the code does is starts the task. All the setup happens outside to "trigger counting" loop. I have attached the part that actually starts the task and the stimulation device.

 

0 Kudos
Message 3 of 3
(3,005 Views)