GetNonLinearFactors method of the CIM_NumericSensor class

The use of this method is being deprecated, since Current senor reading can be retrieved through the GetInstance operation.

For a non-linear Sensor, the resolution, accuracy, tolerance and hysteresis vary as the current reading moves. This method can be used to get these factors for a given reading. It returns 0 if successful, 1 if unsupported, and any other value if an error occurred. In a subclass, the set of possible return codes could be specified, using a ValueMap qualifier on the method. The strings to which the ValueMap contents are 'translated' may also be specified in the subclass as a Values array qualifier.

Syntax

uint32 GetNonLinearFactors(
  [in]  sint32 SensorReading,
  [out] sint32 Accuracy,
  [out] uint32 Resolution,
  [out] sint32 Tolerance,
  [out] uint32 Hysteresis
);

Parameters

SensorReading [in]

The sensor reading to get information for.

Accuracy [out]

The accuracy of the reading.

Resolution [out]

The resolution of the reading.

Tolerance [out]

The tolerance of the reading.

Hysteresis [out]

The Hysteresis of the reading.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\Hardware
MOF
IpmiPrv.mof
DLL
IpmiPrv.dll

See also

CIM_NumericSensor