Good morning,
I have a PXI that has multiple multi function cards. An acquisition task is setup to capture data on a rising edge trigger. E.g below Slot2/AI0 is used as a trigger source, and is part of the acquisition:
Slot2/AI0 - Trigger and Acquire
Slot2/AI1 - Acquire
Slot2/AI2 - Acquire
Slot3/AI0 - Acquire
Slot3/AI1 - Acquire
Slot3/AI2 - Acquire
What I'm after is triggering some counter outputs off some channels that are being used in the above acquisition. E.g:
Slot2/PFI0 - Output pulse train via a trigger on Slot3/AI2.
What I can't understand is how I can make a reference trigger on a daqmx task that already has a reference trigger applied.
Some demo code is attached that uses the same trigger as the acquisition for the CO, which works.
Thanks,
Peter