Version 0.2.0 2013-11-18 (major update)
LCD Smartie plugin to display CPU temps and other available data using CoreTemp's shared memory.
The decimal places returned can be modified with proper rounding via param2 setting.
Should return friendly error messages if anything goes wrong (invalid parameters / Coretemp not running) and will return temps in Celsius or Fahrenheit as per your CoreTemp settings.
Only tested on WinXP 32bit, but let me know if you have any problems.
--------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------
Changes: v0.2.0
* Changed: dll renamed 'CoreTemp.dll' instead of 'CoreTempPlugin.dll' (the suffix is superfluous)
* Removed: Average temperature function (no useful purpose)
* Removed: 2 line font feature (the fonts feature has been expanded and moved to a new plugin due for release shortly)
* Added: Access to all other data available in CoreTemp's shared memory space.
* Fixed: Complete code re-write, source is easier to read and resource use minimised.
* Note: Apparent memory leak traced to call to CoreTemp function .GetData() this can't be addressed from the plugin but the memory use does stabilise after a few minutes. It may be caused by CG taking a while to cleanup used objects.
--------------------------------------------------------------------------------------------------------
Old Versions: --------------------------------------------------------------------------------------------------------
Minimum Requirements:
- LCD Smartie 5.3 beta 3+ (for dotNET plugin support)
- CoreTemp 0.99+ (0.99.8+ recommended)
- GetCoreTempInfoNET.dll (included and available from http://www.alcpu.com/CoreTemp/developers.html)
- dotNET 2.0+
--------------------------------------------------------------------------------------------------------
Installation:
Ensure CoreTemp 0.99 or newer is installed.
Extract: CoreTemp.dll, CoreTemp.ini and GetCoreTempInfoNET.dll to LCD Smartie plugin directory.
--------------------------------------------------------------------------------------------------------
Usage:
You can override LCD Smartie's minimum refresh interval for this plugin by changing the value in CoreTemp.ini
Generally set this value to match your CoreTemp polling interval.
The default value is 500 (ms) and an empty value will use LCD Smarties "Dll check interval" if greater than 250.
The $dll function is used to access plugins.
It's syntax is: $dll(CoreTemp,[function],[param1],[param2])
Functions:
---------------------------------------
1 = CPU Temp (Highest / Per core)
2 = CPU Load (Total / Per core)
3 = CPU Speed
4 = FSB Speed
5 = Clock Multiplier
6 = CPU Voltage (VID)
7 = CPU TJMax (Max junction temperature)
8 = CPU Count
9 = CPU Core Count
10 = CPU Name
Param1 options are: [empty]/[number]
------------------------------------
CPU Temp [empty] = Highest core temperature (default)
CPU Temp [number] = Temp of 'number' core (zero based)
CPU Load [empty] = Total Load (default)
CPU Load [number] = Load of 'number' core (zero based)
CPU TJMax [empty] = TJMax of first CPU (default)
CPU TJMax [number] = TJMax of 'number' CPU (zero based)
For all other functions param1 is not used.
Param2 options are: [empty]/[number]
------------------------------------
For all applicable functions:
[empty] = default decimal places (varies with function)
[number] = decimal places to display
--------------------------------------------------------------------------------------------------------
Examples:
$dll(CoreTemp,1,,) Returns the temperature of the hottest CPU core.
$dll(CoreTemp,1,0,) Returns the temperature of the first CPU core. (zero based)
$dll(CoreTemp,1,1,) Returns the temperature of the second CPU core. etc..
$dll(CoreTemp,2,,1) Returns the total CPU Load to 1 decimal place.
$dll(CoreTemp,2,0,) Returns the load of the first CPU core.
$dll(CoreTemp,3,,3) Returns CPU Speed to 3 decimal places.
$dll(CoreTemp,3,,0) Returns CPU Speed rounded to no decimal places.
$dll(CoreTemp,4,,1) Returns FSB Speed to 1 decimal place.
$dll(CoreTemp,6,,2) Returns CPU Voltage to 2 decimal places.
hurley
