LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with counter

Hello. 

 

I am trying to write a VI that implements a counter. I have pulses of signals coming from a sensor and i need to measure the number of pulses received per second. Basically i need to design a VI to find RPM from my sensor. 

I want to count the number of pulses received in one second from the sensor, use that to find rpm and then reset the counter after that everytime so that i can use it again and display rpm at every second.

 

Thanks in advance 🙂 

0 Kudos
Message 1 of 3
(2,504 Views)
Hi Solanki,

What kind of hardware do you have ? How do you plan to acquire the output signal of your sensor ?
CLAMaxime -- Kudos are a great way to say thank you
0 Kudos
Message 2 of 3
(2,473 Views)

I have a myRIO 1900 and I will be getting the pulses from an ECU.. It has been customized that way.. 
But for now, I'm simulating this code using signal generators.. No hardware connected.. 

 

I have attached my VI for reference..  Also, If i could get help with higher frequencies, that would be great.. 

P.S I'm a beginner at LabVIEW so.. :3

0 Kudos
Message 3 of 3
(2,427 Views)