Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

interrupt requests

i have a 6034E daq card. i wish to make use of its counter to improve the accuracy of the gps signals. by using a timebase of 100KHz, i will know that 1ms is reached whenever 100 counts is reached. In addition, i want to reset my counter whenever the 1PPS signal goes high. the 1PPS is provided by the GPS and is highly accurate and i wish to use this to make use my timing is accurate within every second. How do i generate a interrupt to reset my counter whenever the 1PPS signal goes high. The 1PPS signal will go high for 10ms for every 1 second.
0 Kudos
Message 1 of 2
(2,663 Views)
Hello Kian Chong,

I would suggest to use a buffered-period example with the counter on the 6034E and use the 1 PPS signal as the gating signal.

When you configure a counter for a buffered-period operation, the counter will latch the data from hardware on the edge of the gating signal and will also reset the counter back to zero. So you could use the 100 kHz timebase as the source and the 1 PPS signal as the gate.

The Measure Buffered Period (DAQ-STC) VI shipping example within LabVIEW will do this for you.

Regards,

Todd D.
NI Applications Engineer
0 Kudos
Message 2 of 2
(2,663 Views)