This widget could not be displayed.
This widget could not be displayed.

LabVIEW

This widget could not be displayed.
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?

 

 

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 1 of 3
(3,013 Views)

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

 

Felix

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 2 of 3
(2,997 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.

 

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 3 of 3
(2,992 Views)