Satiro,
I am attaching an example that I found in our internal database. Basically, the VI begins a buffered period measurement on counter 1 upon a digital start trigger. The gating signal for the buffered operation is a pulse train generated by counter 0. This pulse train is gated by a signal from the specified analog output channel. The analog gate signal goes from low to high upon a digital start trigger.
This VI works with STC based devices and all we need to do is to connect the trigger signal to the selected trigger source. Then, connect the analog output signal to the gate input of counter 0. Finally, connect your period measurement source signal to the default source input of counter 1.
INSTRUCTIONS:
1. Enter the Analog Output Devi
ce parameters.
2. Make your Pulse Train Gate Specification selections, as desired.
3. Make your Pulse Train Source Specification selections, as desired.
4. Select the counter device number.
5. Enter the Buffered Period Measurement Controls parameters.
6. Connect your signals.
7. Run the VI
Good luck and have a great day!