LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Counter retrigger problem

Hi, I am having a problem with counters on a USB-6211.

I'm trying to retrigger a counter (start the lowticks running again) before the highticks have finished with the current pulse.

I need to do this to allow me to position a lamp flash drive signal over a datum signal from a rotating shaft (think timing lamps and engines).

 

I would take the easy way out and use 2 counters to do this but I need the 2nd counter (my device only has 2) to measure the period of rotation!

 

I've attached an example VI to show the problem.

If you choose to put the output pulse anywhere other than over the trigger signal, it works fine. As soon as I try to position my output pulse over the trigger signal I only get an output once every 2nd rotation.

 

I need to tell the DAQ card to accept a trigger signal to start lowticks running before it's finished outputting highticks. I'm guessing each counter must actually be 2 counters internally (one for lowticks and one for highticks).

 

(You might need a scope to see the problem on the output)

 

Any help greatly appreciated!

 

 

 

 

0 Kudos
Message 1 of 2
(2,245 Views)

Looks like there is a way to do this with the PCI-6602, but I'm not sure if it works with the USB-6211:

 

Using One Counter to Generate a Retriggerable Finite Digital Pulse Train with a PCI-6602 and DAQmx

http://digital.ni.com/public.nsf/allkb/4A9AF19480E50C6D862571B70058142A

0 Kudos
Message 2 of 2
(2,214 Views)