ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Voltage Pulse to RPM


@Marshman wrote:

Here is the code that I have started.


Check this modified code.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 11 of 16
(1,881 Views)

I will give this a shot and let you know of my results. Thanks

0 Kudos
Message 12 of 16
(1,879 Views)

I tried it and it did seem to work decently. Although when I got below a certain RPM an error message kept popping up.  see picture.  How can I disable this, there are times when the rpm will be 0 but I want other tasks running within my bigger program.

0 Kudos
Message 13 of 16
(1,869 Views)

@Marshman wrote:

I tried it and it did seem to work decently. Although when I got below a certain RPM an error message kept popping up.  see picture.  How can I disable this, there are times when the rpm will be 0 but I want other tasks running within my bigger program.


What does 0 RPM look like to a program?  If I rotate one full revolution in an hour is my RPM 0.016?  Or do we just round to 0 and say we are moving too slow?  The program doesn't have a threshold for this.  You need to determine what is too low to measure and handle that appropriatly.  If it works out for you a simple solution might be to just make the RPM have a value of 0 if an error occured.  You can use a case structure or a Select function to use the calculated value or default to 0 if there is an error.

0 Kudos
Message 14 of 16
(1,832 Views)

If I were to set RPM to 0 when an error occurred how would I set up the case structure to do this?

0 Kudos
Message 15 of 16
(1,814 Views)

Wire the Error wire to the little question mark on the case structure.

0 Kudos
Message 16 of 16
(1,805 Views)