05-10-2013 03:40 PM
I would like to synchronize AI, AO and DO finite tasks that are retriggerable based on a CO pulse train. I have set up a CO Pulse Freq task to run off ctr3 of my 9178 chassis. The rising edge triggers the AO to start, the falling edge triggers the AI and DO to start. Provided these finite tasks are short enough they should be retriggerable, thus each time my CO sends a pulse they should restart.
Having trouble making this work, get an error that the AI task is not retriggerable (using 9222). Can anyone provide guidelines on how to set such a scheme up?
Gracias.
Solved! Go to Solution.
05-11-2013 02:51 PM
Hello Telleurium,
The error you are getting is expected because the 9222 does not support retriggerable tasks, but the onboard counters of the 9178 are retriggerable. I suggest you make the CO Pulse Freq Output a finite generation, set up a trigger for this task, set it to retrigger, and use it as the sample clock for the AI, AO, and DO. This will allow you to create a retriggerable AI, AO, and DO based on the ct3 of your 9178 chassis. Examples of what I mentioned above can be found in the many locations. Here are a few to get you started.
https://decibel.ni.com/content/docs/DOC-6801
https://decibel.ni.com/content/docs/DOC-14581
https://decibel.ni.com/content/docs/DOC-4131
Best Regards,
Izzy O.
Applications Engineer
National Instruments
05-17-2013 11:49 AM
Yes, this worked nicely, thanks!