Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How to trig the measure of an analogic value on a usb-6211 in C?

Hi

 

I am new in the control of the Ni instruments, and I am completly stuck concerning a usb-6211.

 

I wish to acquire an analogic voltage when an interruption is detected on a digital port. Can you please give me the functions I have to use? I program in C, and I find pretty hard the way to control this box.

Thanks in advance.

0 Kudos
Message 1 of 2
(5,049 Views)

Did you start with a shipping example?

 

If you want to acquire one sample per edge of your digital signal you'll want to use an external sample clock.  If you want the digital signal to trigger a finite or continuous acquisition at a programmable sample rate then you'll want to use an external start trigger.  

 

The examples show how to configure various permuations of trigger source and sample clock source.

 

 

Best Regards,

John Passiak
0 Kudos
Message 2 of 2
(5,023 Views)