It is currently March 28th, 2024, 4:39 pm

UPDATE: SpeedFan fan info

Get help with creating, editing & fixing problems with skins
Post Reply
Bub
Posts: 37
Joined: April 2nd, 2014, 3:52 pm

UPDATE: SpeedFan fan info

Post by Bub »

Well I stuck. Again.
Everything was working fine till I decide to make it better.
And now it's just a mess.

I was trying to use both WHiNFO and SpeedFan
Getting rpm from ether of app was no problem at all.
My problem is CALC - converting rpm to percent.
Been trying to make it dozen of diff ways but ended up with Calc: Syntax Error and as a result 0% in meter.

As soon as I removing #MaxFanSpeed# from Calc I can do whatever I want to - multiply, divide, add, letting fairies raid unicorns over the rainbow - you name it. But as soon as MaxSpeed is in Calc nothing seems to be working...

WHAT I AM DOING WRONG??????

Code: Select all

[Rainmeter]
Update=100
DefaultUpdateDivider=10
DynamicWindowSize=1
AccurateText=1


[Variables]
@include=#@#Options.inc


;=============================================
;Measures
;=============================================
[Measure.GPU_Temp]
Measure=Plugin
Plugin=HWiNFO
Group=Sensors
HWiNFOSensorId=0xe0002000
HWiNFOSensorInstance=0x14
HWiNFOEntryId=0x1000000
HWiNFOType=CurrentValue
MinValue=0
MaxValue=100


[Measure.GPU_Load]
Measure=Plugin
Plugin=HWiNFO
Group=Sensors
HWiNFOSensorId=0xe0002000
HWiNFOSensorInstance=0x14
HWiNFOEntryId=0x7000000
HWiNFOType=CurrentValue
MinValue=0
MaxValue=100

[MeasureFanSpeed]
Measure=Plugin
Plugin=HWiNFO
Group=Sensors
HWiNFOSensorId=0xf0ec0101
HWiNFOSensorInstance=0x0
HWiNFOEntryId=0x3000001
HWiNFOType=CurrentValue


;[MeasureFanSpeed]
;Measure=Plugin
;Plugin=SpeedFanPlugin
;SpeedFanType=Fan
;SpeedFanNumber=1


[Variables]
MaxFanSpeed=4600


[MeasurePercent]
Measure=Calc
Formula=( 100 * [MeasureFanSpeed] / #MaxFanSpeed# )
DynamicVariables=1





;=============================================
;Background
;=============================================
[Meter.Background]
Meter=Image
X=0
Y=0
H=60
W=270
;SolidColor=60,139,173
SolidColor=#Background.color#

;=============================================
;Graphs
;=============================================
[Meter.GPU1_Graph1]
Meter=Line
MeasureName=MeasurePercent
X=50
Y=5
H=20
W=140
LineCount=1
LineColor=#graph.line1#
AntiAlias=1

[Meter.GPU1_Graph2]
Meter=Histogram
MeasureName=MeasurePercent
X=0r
Y=0r
H=19
W=140
PrimaryColor=#graph.line1#
AntiAlias=1

[Meter.GPU_Bar]
Meter=Bar
MeasureName=Measure.GPU_Load
X=50
Y=30
W=220
H=10
BarColor=#graph.line1#
SolidColor=#graph.line2#
BarOrientation=Horizontal

;=============================================
;Static Meters
;=============================================
[Meter.Header]
Meter=String
X=45		
Y=30
StringAlign=Right
FontColor=#FontColor#
FontSize=#FontHeight1#
FontFace=#Font#
AntiAlias=1
Text="#Header#"

;=============================================
;Dynamic Meters
;=============================================
[Meter.GPU_Percent_Clock]
Meter=String
X=55
Y=45
MeasureName=Measure.GPU_Load
FontColor=#FontColor#
FontSize=#FontHeight2#
FontFace=#Font#
AntiAlias=1
Text="%1%"

[Meter.GPU_Temperature]
Meter=String
X=265
Y=0r
StringAlign=Right
MeasureName=Measure.GPU_Temp
FontColor=#FontColor#
FontSize=#FontHeight2#
FontFace=#Font#
AntiAlias=1
Text="%1*C"



;=============================================
;Fan
;=============================================


[Meter.String]
Meter=String
Text="Fan:"
X=235
Y=15
StringAlign=Right
FontColor=#FontColor#
FontSize=#FontHeight1#
FontFace=#Font#
AntiAlias=1


[FanSpeed_Display]
Meter=STRING
MeasureName=MeasurePercent
X=30r
Y=0r
StringAlign=Right
FontColor=#FontColor#
FontSize=#FontHeight2#
FontFace=#Font#
AntiAlias=1
Text="%1 %"
P.S. Been monitoring parameters while running stress test and just simply refresh RM log window :lol:

Thanks in advance for all your help!
Bub
Posts: 37
Joined: April 2nd, 2014, 3:52 pm

Re: UPDATE: SpeedFan fan info

Post by Bub »

Hope someone will have time to take a look.
It makes me crazy 'cos I can not use MSI AB on this laptop, for some reason even after clean system install it boots CPU for up to 25% idle. So I decided to move to HWiNfo and/or SpeedFan.
But good lord! What was 5 sec deal with MSI AB turns out to be 12 hours headache with this two app's.

So question still remain - what am I doing wrong? :???:
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5382
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: UPDATE: SpeedFan fan info

Post by eclectic-tech »

You created 2 [Variables] sections... so your new MAXFANSPEED variable is not defined.

Move MaxFanSpeed=4600 to your original [Variables] section.

Code: Select all

[Variables]
@include=#@#Options.inc
MaxFanSpeed=4600
Bub
Posts: 37
Joined: April 2nd, 2014, 3:52 pm

Re: UPDATE: SpeedFan fan info

Post by Bub »

Told myself 100 times do not try to do anything when you r sleepy, dummy... :oops:
You should definitely add "Sorry I am dump a**" smile in collection.

Thank you for spending your time and answering such a dump questions :bow: :great: :thumbup:
Post Reply