Hello All,
I am wondering what the best way is to go about solving this
problem: I have two analog channels being sampled at 10 samples/sec and
a single digital input channel. There is output written to four digital
output channels at the same time. I would like send a particular value
to the DO when the sampled DI changes state and I want this to have the
first preference. In other words, every time the DI changes state, the
actions associated with that change execute immediately.
Traditionally I would make two while loops and run
one loop with a smaller delay and insert the DI sampling there and
leave the Analog input in the loop that runs slower, but I am wondering
if there is another way to do this with the USB 6009.
Any advice on interrupt driven DAQ using the USB-6009. Thanks in advance,
KB