Hello;
There is a Labview shipping example that shows how to configure an Analog Triggered Analog Output DAQ task.
You can find that example at Search Examples->I/O Interfaces->Data Acquisition->Analog Output->Triggering a Generation. The VI's name is Generate N Updates Using Hardware Analog Trigger.vi.
You can study how the trigger is applied on that VI, borrow the idea and implement that part on your VI.
Hope this helps.
Filipe A.
Applications Engineer
National Instruments