Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Min & Max Sensor Value
#1
I wonder if it is possible to display the temperature values ​​Min and Max with "hwinfo Shared Memory".

Have the ID example this way:

Entry: Total CPU Usage
ID: 1007030

Mini for:
ID: -1007030
or Min1007030

Max
ID:+1007030
or Max1007030
Reply
#2
HWiNFO doesn't export the Min/Max values to 3rd party applications. These values can easily be calculated by those tools based on actual values.
Nick, what do you think?
Reply
#3
I have not tried this myself, but it appears that the Rainmeter Calc can take care of this:
http://rainmeter.net/forum/viewtopic.php?p=30998

Want to give it a shot Fabad and let us know how you make out?
Reply
#4
Open Hardware Monitor with Plugin it is possible to do this way.

[measureCPUTemp]
Measure=Plugin
Plugin=Plugins\OpenHardwareMonitorPlugin.dll
Hardware=<Hardware label>
Type=Temperatures
Sensor=<Sensor label>
SensorMax=1

[MeterCPUTemp]
Meter=String
MeasureName=measureCPUTemp
X=2
Y=2
H=16
AntiAlias=1
NumOfDecimals=1
Text="Cpu Temp: %1°c"

I try to run the code on the forum thread Rainmeter but without success.

I started my skin with hwinfo because I already use for the OSD ingame.
I do not want to use several software for information about my skin.
Reply
#5
(02-13-2013, 10:12 PM)Fabad Wrote: Open Hardware Monitor with Plugin it is possible to do this way.
....
I try to run the code on the forum thread Rainmeter but without success.

I started my skin with hwinfo because I already use for the OSD ingame.
I do not want to use several software for information about my skin.

Understood, and I'll consider adding it later. The workaround listed to get around the min=0 issue in that post I linked is a bit ugly.

Anyways, it does work fine. So you can do it for now. Edit the skin provided in the installer to do the following:

1 - Add the 'm' variable to the [variables] section which is needed for the min=0 workaround. So after line 19, add:
Code:
m=>
2 - Delete everything after line 309 which reads '; Table Headers' and replace it with the following:
Code:
[MeterHWiNFOCPU0HeaderMin]
Meter=String
X=#Column1#
Y=5R
Text="MIN"
MeterStyle=HWiNFOTableHeaderStyle

[MeterHWiNFOCPU0HeaderCurrent]
Meter=String
X=#Column2#
Y=0r
Text="CUR"
MeterStyle=HWiNFOTableHeaderStyle

[MeterHWiNFOCPU0HeaderMax]
Meter=String
X=#Column3#
Y=0r
Text="MAX"
MeterStyle=HWiNFOTableHeaderStyle

; CPU Usage Min/Current/Max

[MeterHWiNFOCoreClockLabel]
Meter=String
X=0
Y=0R
Text="CPU Usage"
MeterStyle=HWiNFOTableHeaderStyle

; Calculate the minimum CPU Usage
[Switch]
Measure=Calc
Formula=0 < HWiNFOCPU0UsageMin ? 1 : 0
IfAboveValue=0
IfAboveAction=!RainmeterSetVariable m <

[HWiNFOCPU0UsageMin]
Measure=Calc
Formula=HWiNFOCPU0UsageMin #m# HWiNFOCPU0Usage ? HWiNFOCPU0UsageMin : HWiNFOCPU0Usage
DynamicVariables=1

[MeterHWiNFOCPU0UsageMin]
Meter=String
MeasureName=HWiNFOCPU0UsageMin
X=#Column1#
Y=0r
Text="%1"
NumOfDecimals=2
MeterStyle=HWiNFOTextStyle

[MeterHWiNFOCPU0UsageCurrent]
Meter=String
MeasureName=HWiNFOCPU0Usage
X=#Column2#
Y=0r
Text="%1"
NumOfDecimals=2
MeterStyle=HWiNFOTextStyle

; Calculate the maximum CPU Usage
[HWiNFOCPU0UsageMax]
Measure=Calc
Formula=HWiNFOCPU0UsageMax > HWiNFOCPU0Usage ? HWiNFOCPU0UsageMax : HWiNFOCPU0Usage

[MeterHWiNFOCPU0UsageMax]
Meter=String
MeasureName=HWiNFOCPU0UsageMax
X=#Column3#
Y=0r
Text="%1"
NumOfDecimals=2
MeterStyle=HWiNFOTextStyle
3- Refresh the skin and you'll see the following:
[Image: minmax.png]
Reply
#6
Thank you for their help, I added this code to my skin.
This is my first skin and I learned on the job.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)