LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ counter vi

I'm using a DAQ USB-6008 to count the edges of a digital pulse. i need to calculate the frequency of these pulses but I can't do it using the period time because this device doesn't allow it (or so i'm told) I'm using a counter channel, and can successfully count the edges, but can't figure out how to change this into frequency? I've tried timed loops of 1 second long, to calculate the number of counts per second, but can't reset this value and therefore can only get one accurate result.
Any help would be greatly apperciated!!!
 
Thanks,
Tom
0 Kudos
Message 1 of 3
(2,978 Views)
Hi Tom,

I've attached a VI as an example.  This uses a shift register to come up with a frequency based on the counter input from the USB-6008 device.  Let me know if you need anything further or have any questions.

tsc
Message 2 of 3
(2,968 Views)
thanks for your help! will try it out asap!
0 Kudos
Message 3 of 3
(2,957 Views)