I am using a USB-6002 device to start an analog output signal when triggered. How can I determine whether the task has been triggered? The analog output task could take several minutes to complete, so checking whether the task is complete is not an option.
I considered creating a dummy task on another channel that shares the same trigger, but completes quickly (such as reading a single sample), then check whether this task is complete. However, all of my AI and AO channels are already reserved for other tasks. I have digital IO lines available, but I don't think it's possible to configure these as part of a triggered task on the USB-6002.
Can anyone help me out with this?
Attached is a minimum working example that attempts to create a digital input task using the same trigger input as an analog output task.