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
 FAN		FANSPEED	Fan speed
 TEMP		TEMPERATURE	Temperature
 VOLT		VOLTAGE		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 value
Parameters: identifier
            number
            forceUpdate
Returns:    value

Parameter
            identifier  = See Identifier Table
            number      = Index (1-10) for the identifier
            forceUpdate = Boolean. If TRUE,YES or 1 the values are updated
                          directly from the chip. If FALSE,NO or 0 the values
                          are only updated when needed
Example
  Read Current Temperature 2 (normally CPU-Temp)
  t=StHealthValue(TEMP,2,TRUE)

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

Parameter:  Correction value Identifier = See Identifier Table
            number                      = Index (1-10) for the identifier
            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(FAN,2)

  Set the correction value for fan speed 2 to +100
  OldSpeed=StHealthCorrection(FAN,2,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
