I've been trying to pull pump RPM info from HWINFO via the reg key.
I can get a value which is reported in RainMeter, but I have been trying to make a bar or line meter but can't get the RPM to convert to a percentage to enable them. The odd thing being when the RPM is under 1000 it works fine, when it goes over 1000 any calc I do only uses the first digit of the registry value (e.g. 940 = 940, 1099 = 1, 2056 = 2, etc). The value from the reg is "1,234 RPM" and even with a substitute to remove the , it's still behaving the same way.
itchytasty wrote: ↑July 19th, 2021, 8:52 am
I've been trying to pull pump RPM info from HWINFO via the reg key.
I can get a value which is reported in RainMeter, but I have been trying to make a bar or line meter but can't get the RPM to convert to a percentage to enable them. The odd thing being when the RPM is under 1000 it works fine, when it goes over 1000 any calc I do only uses the first digit of the registry value (e.g. 940 = 940, 1099 = 1, 2056 = 2, etc). The value from the reg is "1,234 RPM" and even with a substitute to remove the , it's still behaving the same way.