Hello;
If the triggered channel has a TTL trigger signal type, you can configure the DAQ task to be Digital Triggered, and connect the triggered channel to the first channel of the channel list.
There is a good Labview or NI-DAQ shipping example showing how to code that task.
Hope this helps.
Filipe A.
Applications Engineer
National Instruments