It is currently September 21st, 2021, 6:14 pm

HWINFO stats reporting behaviour [solved]

Help with creating, editing & fixing problems with skins
itchytasty
Posts: 2
Joined: July 19th, 2021, 8:38 am

HWINFO stats reporting behaviour [solved]

Post by itchytasty »

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.

Here's the measures:

Code: Select all

[mPump]
 Measure=Registry
 RegHKey=HKEY_CURRENT_USER
 RegKey=SOFTWARE\HWiNFO64\VSB
 Substitute=",":""," RPM":""
 RegValue=Value20

[mPump2]
 Measure=Calc
 Formula=mPump
 DynamicVariables=1

[mPump3]
 Measure=Calc
 Formula=mPump2/4850
 DynamicVariables=1
This outputs:

Image

Any ideas what I'm doing wrong / how to resolve?
Last edited by itchytasty on July 19th, 2021, 9:43 am, edited 1 time in total.
User avatar
death.crafter
Posts: 937
Joined: April 24th, 2021, 8:13 pm

Re: HWINFO stats reporting behaviour

Post by death.crafter »

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.

Here's the measures:

Code: Select all

 Formula=[mPump]
 DynamicVariables=1
Use [mPump] instead of mPump.
from the Realm of Death
My Current Desktop
itchytasty
Posts: 2
Joined: July 19th, 2021, 8:38 am

Re: HWINFO stats reporting behaviour

Post by itchytasty »

Thank you!