Hello;
Onw thing you can do is to configure the Labview shipping example that does triggered Analog Output, to pause while gate is TTL high, at the "trigger or gate condition" input. Also, you need to make sure that the external TTL signal that comes from the sensor, stays high state so the Analog Output will be paused.
Hope this helps.
Filipe A.
Applications Engineer
National Instruments