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
(2,980 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.
CAUTION! New LabVIEW adopters -- it's too late for me, but you *can* save yourself. The new subscription policy for LabVIEW puts NI's hand in your wallet for the rest of your working life. Are you sure you're *that* dedicated to LabVIEW? (Summary of my reasons in this post, part of a voluminous thread of mostly complaints starting here).
0 Kudos
Message 2 of 2
(2,978 Views)