![]() |
|
|
This VI allows us to switch between two tasks using an external hardware trigger. An example of a use for such a program is if you need to acquire at a slower rate during one part of a test and a faster rate for another part and you want to switch between these using a hardware trigger.
The example given here switches from one analog input task to another based on a rising or falling edge of a hardware trigger. The VI will run indefinitely and switch tasks on every edge of the trigger.
The example only shows 1 channel for each task, but more channels can be added to each task.
NOTE: This VI uses finite acquisition sampling. It does not and WILL not work for continuous acquisition sampling. This is because the trigger used is a reference trigger and continuous acquisitions can not be used with reference triggers.
There are no comments on this document