Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronize counter and 2AO boards

I have synchronized two AO boards with RTSI(one device waits for a RTSI signal to start analog output,and I use "Route signal.vi" to send a signal to RTSI bus when another AO updates).The question is I want to generate a delayed pulse in every iteration of AO Start
.What should I do??(I even don't know what VI should I use to trigger counter output through RTSI cable.. )
Thanks!!
My AO board is PCI-6713
and Timing board is PCI-6602
0 Kudos
Message 1 of 3
(3,551 Views)
Hello;

I'm attaching a very good Application Note which states how to do synchronization by using the RTSI bus. Moreover, there is an example on generating a delayed pulse with the counter. You can use the example and change that to work with the 6602 of yours.
You will need to set up a retriggerable application with your counter, so at each pulse of interest you will trigger of the time counting.
AO Start only starts of the generation of the output values, there aren't iterations on AO Start. You need to figure out exactly which pulse of your Analog Output will trigger of the time counting, and then, use the Route.vi to route that signal, trough the RTSI bus, to the counter trigger pin.
I'm also attaching a retriggerable pulse generation example v
i to this answer. You can use the idea of the retrigger and change that VI to count time based upon those triggers.
Hope this helps.
Filipe
Message 2 of 3
(3,551 Views)
Dear Filipe:
Your attached files are very helpful....
But I still have a question:
There is a connector "number of buffer iterations" on AO Start.If I set it equal to 2 ,as the case I mentioned in the previous question,the counter's gate signal is a pulse train.I can start counting on the rising edge of the TTL gate signal,and generate a delayed pulse,but waht I expect to is two delayed pulse,each for every buffer iterations...
Is this possible??
Thanks!!
0 Kudos
Message 3 of 3
(3,551 Views)