Hi AGC,
It is not possible to commit (or run) two
tasks concurrently on the same device. Even though your 6123 is a
Simultaneous device with a dedicated ADC per channel, the timing and
triggering engine is shared between channels so you can't acquire at
different rates on multiple channels or trigger the channels
independently.
Having said this, you can pre-define all of the triggering parameters and verify two
different tasks ahead of time, then switch between the two tasks during
the acquisition. From my understanding of your application this should
be the best way to go about accomplishing what you need.
I went ahead and set up an example for you to start with--take a look at the following link:
Change Between Multiple Triggering Parameters on the Fly Using DAQmx
Best Regards,
John
John Passiak