12-04-2013 08:59 AM
@Marshman wrote:
Here is the code that I have started.
Check this modified code.
12-04-2013 09:01 AM
I will give this a shot and let you know of my results. Thanks
12-04-2013 09:46 AM
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.
12-06-2013 12:27 PM
@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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
12-09-2013 08:02 AM
If I were to set RPM to 0 when an error occurred how would I set up the case structure to do this?
12-09-2013 09:20 AM
Wire the Error wire to the little question mark on the case structure.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord