05-10-2007 04:56 PM
05-10-2007 09:21 PM
OK I don't know why but it seems to work now without the sequence structure....
05-11-2007 03:31 PM - edited 05-11-2007 03:31 PM
Hi SurfaceSurfer,
The reason why your VI was not working properly is that there was no terminal connected to the Get Terminal Name With Device Prefix.vi, along with the AI being started before the AO. (reverse them in sequence). We want the AO to start first because it is waiting on the AI to start. This way when the AI starts, the start trigger is seen by the AO, and they both start simultaneously.
I would also suggest looking at the shipping example Multi-Function-Synch AI-AO.vi (Help >> Find Examples… >> Hardware Input and Output >> DAQmx >> Synchronization >> Multi-Function)
Message Edited by David L. on 05-11-2007 03:39 PM