Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to preset counters

During a certain process I'm starting a continuous encoder measurement. This measurement has to be stopped (with Stop Task) at a certain event because I have to change the Sample Clock of the acquisition. When I restart the encoder measurement, the counter value is (logically) set to 0 but I don't want to loose the previous counter value. Of course I can put this previous value in a variable and use it as an offset but is there a way to preset the counter? 

0 Kudos
Message 1 of 2
(3,730 Views)
See Count Digital Events.vi in the LabVIEW examples (Hardware Input and Output >> DAQmx >> Counter Measurements >> Count Digital Events).
0 Kudos
Message 2 of 2
(3,728 Views)