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 %"
Thanks in advance for all your help!