The StHealth.DLL is Rexx-enabled. You don't need to keep StHWMon running to
query values via Rexx. Connecting to the StHealth.DLL is as simple as
connecting to RexxUtil.DLL in two lines:
Call RxFuncAdd('StHealthLoadFuncs','StHealth','StHealthLoadFuncs')
Call StHealthLoadFuncs

When a function requires an identifier the following table is valid:

************************ Identifier Table ****************************
 identifier	alias		meaning
 FAN1		FANSPEED1	Fan 1 speed
 FAN2		FANSPEED2	Fan 2 speed
 FAN3		FANSPEED3	Fan 3 speed
 TEMP1		TEMPERATURE1	Temperature 1
 TEMP2		TEMPERATURE2	Temperature 2
 TEMP3		TEMPERATURE3	Temperature 3
 VOLT1		VCOREA		VCoreA voltage
 VOLT2		VCOREB		VCoreB voltage
 VOLT3		V3.3		3.3V voltage
 VOLT4		V5		5V voltage
 VOLT5		V12		12V voltage
 VOLT6		V12N		-12V voltage
 VOLT7		V5N		-5V voltage
**********************************************************************

See Sample1.CMD and Sample2.CMD for an explanation of how to call and query 
values.

StHealth.DLL supports the following functions:
********************************************************************************
Function:   StHealthLoadFuncs
Since:      Bld 1
Purpose:    Makes all Rexx-Functions from this DLL available
Parameters: 
Returns:    

Parameter

********************************************************************************
Function:   StHealthVersion
Since:      Bld 1
Purpose:    returns the requested version 
Parameters: version identifier
Returns:    version

Parameter
  version identifier=
              "FULL"	= return full version string
              "VERSION"	= return version number
              "BUILD"	= return build level number
Example
  Query full version string
  v=StHealthVersion(FULL)

********************************************************************************
Function:   StHealthChip
Since:      Bld 58
Purpose:    returns the chip identifier or the chip type
Parameters: information identifier
Returns:    chip identifier or chip type string

Parameter
  version identifier=
              "FULL"	= return full chip type string
              "ID"	= return chip id
              "TYPE"	= return type string
Example
  Query full chip type string
  v=StHealthChip(FULL)

********************************************************************************
Function:   StHealthValue
Since:      Bld 25
Purpose:    returns the requested version 
Parameters: version identifier
Returns:    version

Parameter
            version identifier=
              See Identifier Table
Example
  Read Current Temperature 2 (normally CPU-Temp)
  t=StHealthValue(TEMP2)

********************************************************************************
Function:   StHealthCorrection
Since:      Bld 23
Purpose:    Setting or querying correction values
Parameters: Correction value identifier
            New Value
Returns:    Old Correction value

Parameter:  Correction value Identifier=
              See Identifier Table
            New Value
              QUERY = Query value only (default if this parameter is empty)
              Any other value = New value for correction

Example:
  Read the correction value for fan speed 2
  s=StHealthCorrection(FAN2)

  Set the correction value for fan speed 2 to +100
  OldSpeed=StHealthCorrection(FAN2,100)

********************************************************************************
Function:   StHealthEmergencyAction
Since:      Bld 58
Purpose:    Takes an specified emergency action
Parameters: Action
Returns:    Only returns on system errors

Parameter:  Action
              "SHUTDOWN"= Normal shutdown (DosShutdown(1))
              "FULLSHUTDOWN"= Full shutdown (DosShutdown(0))
              "POWEROFF"= Power off system
              "WINSHUTDOWN" = Normal system shutdown (WinShutdownSystem())
Example:
  Power off system
  err=StHealthEmergencyAction("FULLSHUTDOWN")

Remarks:
   SHUTDOWN = All processes in the system will be stopped but the file system
              is not locked
   FULLSHUTDOWN = All processes in the system will be stopped, file system
                  locked
   POWEROFF = All processes in the system will be stopped, the file system
              is locked and - if APM 1.2 is present - the system will be powered
              off
   WINSHUTDOWN = Closes all windows and then all processes will be stopped
