Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

counters and dual gating

We have to send a sequence of pulses using Labviev for some image acquisition process.
Basically it is required to generate pulses that will command the acuiqisition.

We also have some external synchronization signals which should be used to generate pulses with required pulse/delay as a response.

In case we had only one external synchronization signal, the problem was easily solved.
Each synchronization pulse was used to gate a counter which is set to generate a retriggerable pulse ( like those found in example that ships with NI-DAQ
located in the LabVIEW >> Examples >> Daq >> Counter >> DAQ-STC
directory ) on its output as a response.

But what should we do in case we have to generate a pulse when we have two input synchronizati
on signals, which we call dual gating. The response pulse should be generated when both synchronization signals are high. It should be an AND operation but it is not clear how to communicate in between the two counters that will receive the external signals on their gates.
How do we do this?
Could we use anything form the Functions»Advanced»Synchronization ?

Thank you!
0 Kudos
Message 1 of 2
(3,112 Views)
If both external signals are constantly changing and you are wanting to output a pulse train only when both are high, you will probably need external circuitry.

I would suggest to get a physical AND gate and run both signals into that gate. Then take the signal from the AND gate and connect that to the gate of a counter on your DAQ device. This setup would definitely work for you. I hope this helps.

Todd D.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,112 Views)