Wow, that's quite an application! I'm pretty sure everything you want to do is possible, but it would require multiple DAQ devices and some pretty creative programming.
First off, to make analog output hardware-timed from an analog input trigger, you will need to use the Analog Comparison Event. The High-Speed M Series devices have 1 analog trigger, so you will need an additional device for each trigger. Some of your triggers (such as stopping the analog output) may not be as high-priority (in terms of minimizing jitter), in which case you could do some of this triggering in software and save yourself a DAQ card. If the X,Y, and Z values are sufficiently long enough, you could reconfigure the trigger instead.
As stated here, you will not be able to do continuous analog input and use that same line to trigger. The continuous analog input and the trigger will have to be separated.
To have the AO stop at a given time, you will have to use a Pause Trigger. This will require another analog trigger. Using the DAQmx Trigger Property Node, you can pause the output of your waveform much like you would pause the input of a waveform on an AI task. When the trigger condition is satisfied, the waveform will be output; when the trigger condition is not satisfied, the analog output pin's value will not change.
To have the delay between receiving the analog input trigger and beginning the analog output, use the DAQmx Trigger Start Delay Property Node.
Take a look at this article for general synchronization knowledge.
--
Michael P
National Instruments