Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

DaQMX Infinite pulse train generation - status?

Is there a way to know how many periods/pulses allready have been generated?
(Apart from calculating it in software?)
0 Kudos
Message 1 of 2
(3,161 Views)
TommyBoy,

Two answers: Yes and No.

Yes: Requires another hw counter. Configure another counter for edge counting and count the # of pulses made by your pulse train.

No: If no hw counter is available. The software calculation you mentioned is probably your best bet for a decent estimate. Other methods (polling DIO bit or counter output state property) would accumulate error when pulses are missed. The calculation would have a fixed uncertainty that wouldn't grow with time.

-Kevin P.
ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 2
(3,159 Views)