Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

counter reset

Hey there,

I'm using a E6034 DAQ card for counting TTL pulses with an external sample clock of 100Hz. Is there a way to reset the counter to zero
without restarting the whole task? Could I for example use an external trigger to reset the counter but not loosing any events?

If I haven't made myself clear, just tell me...

Thanx in advance
0 Kudos
Message 1 of 2
(2,970 Views)
AFAIK, you can't get there from here. The only thing I can think of for the E-series counters that comes sorta close is to do buffered period measurement. With buffered period measurement, every sample clock causes the count value to reset to 0.

However, you want to perform sampling at 100 Hz and then have some other signal cause the count to reset to 0, right? Sounds like a really useful feature -- I'd like to have it too -- but I'm afraid you can't do it with an E-series counter.

There is a somewhat convoluted method that may work for a 6602 (or even a 6601 if your budget's really tight). There you'd setup a buffered position measurement task, based on up/down pulses rather than quadrature. Wire the signal whose edges you want to count as channel A and hardwire channel B to be, say, Low. Enable Z-indexing for A-low, B-low, and wire your reset signal in as though it's a Z-index pulse.

This isn't foolproof -- it depends on receiving the reset pulse during a time when the channel A signal is Low -- but I think it's the best you can do. Unfortunately.

-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
(2,966 Views)