03-13-2014 05:33 AM - edited 03-13-2014 05:41 AM
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.
03-13-2014 04:17 PM
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,