Technical information
Custom Device Monitoring Programming
42
RMS NetLinx Programmer’s Guide
This function will need to be called in two places. Call
RMSRegisterDevicexxxParam () in the RMSDevMonRegisterCallback()
function to make sure it is registered when the RMS engine module connects to
the RMS server. Also, call RMSRegisterDevicexxxParam () when the NetLinx-
connected device reports online.
The dvDPS is the device number of the device this parameter is associated with
and cName is the name of the parameter to register.
nThresholdCompare can be one of the following values:
RMS_COMP_NONE (0),
RMS_COMP_LESS_THAN (1),
RMS_COMP_LESS_THAN_EQ_TO (2),
RMS_COMP_GREATER_THAN (3),
RMS_COMP_GREATER_THAN_EQ_TO (4),
RMS_COMP_EQUAL_TO (5),
RMS_COMP_NOT_EQUAL_TO (6),
RMS_COMP_CONTAINS (7),
RMS_COMP_DOES_NOT_CONTAIN (8).
This value, along with slThreshold, nThreshold, or cThreshold, will be used to
test to see when the parameter indicates a fault as determined by the threshold
comparison changing from false to true (i.e. Value > 10).
The nThresholdStatus can be one of the following:
RMSRegisterDeviceStringParamWithUnits(dvDPS,
cName,
cUnits,
cThreshold,
nThresholdCompare,
nThresholdStatus,
bCanReset,
cResetValue,
nInitialOp,
cInitial)