Page 1 of 1

RPM Calculation

Posted: 01 May 2014, 18:34
by Walter
Hey,

first of all, a big thank you. I really like your program.
ATM I'm writing a small program that let me read and write directly to the smc.
After some testing I noticed a small offset between the rpm shown in your software and my calculation based on the raw smc output.

For example:
The min fan speed (F0Mn) is reads as 0x144C (fpe2 type).
In order to get the resulting rpm i rightshifted it by 2 and converted it to a decimal.
That results in 1299.
But if i look at your program, it shows 1294.

Now i don't really care about such a minor difference, but i'm curious why they are not the same and if i made a mistake.

Re: RPM Calculation

Posted: 02 May 2014, 09:02
by Steven
Walter
Hello, can you please show MFC main window screenshot running on your mac?

Re: RPM Calculation

Posted: 02 May 2014, 10:12
by Walter
Here it is:

Re: RPM Calculation

Posted: 04 May 2014, 14:54
by Steven
Walter
Thanks for the help! You seem to be correct, please try the newest version 1.1.1 (available for Windows only at the moment):

A screenshot of the 1.1.11 window is appriciated.

Re: RPM Calculation

Posted: 04 May 2014, 18:19
by Walter
Hey that was quick :smile:
They match now, thank you!

Re: RPM Calculation

Posted: 04 May 2014, 19:40
by Steven
Fixed for Mac as well! Thanks