Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Set DIO at a defined time after AI start

(Sorry, I have little DAQ experience)

 

I am using a USB-6211 and I am wondering about the best way to do the following using exact hardware timing:

 

(1) start AI (a couple of thousand points at 1KHz)

(2) change a digital output (e.g.) exactly 100ms after AI starts.

 

I assume that a pure software solution would have too much jitter.

0 Kudos
Message 1 of 2
(2,763 Views)

Hi altenbach,

 

Since the DO subsystem is software-timed only on the 6211, you should use a counter output to do this. Something like the following:

 

        CO Delay.png

 

 

The only caveat is that the digital line will return to its default state once the counter output task is cleared.  In the above case the line will stay high long enough for you to complete your AI measurement (30s is somewhat arbitrary but it is easily long enough for the AI task to complete).

 

 

Best Regards,

John Passiak
Message 2 of 2
(2,758 Views)