04-24-2007 05:29 AM
04-24-2007 07:24 AM
What card are you using? if you have a counter opened you can trigger both the AI and AO on the edges of a pulse out. This is nice since you can set the AO to trigger on the rising edge and the AI to trigger on the falling edge allowing for precise timing of a measurment seperated by the high time of the square wave. Triggering on the same edge will allow you to synchronize collection. This technique also allows to do pre triggering measurments as well.
Paul
04-24-2007 08:55 AM
04-24-2007 02:44 PM
I dont know if there is an example but essentially there are 3 tasks. AI, configure the points to read and rate, set the trigger to a pfi line. AO set the out task and configure the trigger with the same pfi. Task 3 is a pulse train with the outlien equal to the same pfi as the trigger lines, so no extra wiring. start ai and ao THEN start pulse out task. everything will be synchronized. if this is a repeting measurment set up the retrigerable? property of the AI and AO and make your Pulse out a pulse train continious.
Paul
04-25-2007 01:26 AM
Thanks again for your help Paul. I'll try and follow your advice...
regards,
Marc