![background image](http://html1.mh-extra.com/html/amx/rms-3-0/rms-3-0_manual_2938987054.webp)
Custom Device Monitoring Programming
46
RMS NetLinx Programmer’s Guide
Registering Devices
The RMSCommon.axi include file provides some simple functions for
registering devices. The functions can be used in the
RMSDevMonRegisterCallback() function, called when RMS engine module
connects to the RMS server. These functions generate SEND_COMMANDs,
which you can generate manually. However, using these functions may help
eliminate syntax issues. To register a device, call this function:
RMSRegisterDevice(dvDPS, cName, cManufacturer, cModel)
This function will need to be called in two places. Call RMSRegisterDevice () in
the RMSDevMonRegisterCallback() function to make sure it is registered when
the RMS engine module connects to the RMS server. Also, call
RMSRegisterDevice () when the NetLinx-connected device reports online. This
function will automatically register the Online/Offline parameter and set this
value to Online.
The RMSRegisterDevice() function and the corresponding RMS
SEND_COMMAND that it generates will only work for devices that are
currently online. This is because RMS tracks information such as firmware
version and serial number that are only available when the device is online.
Registering Parameters
Before registering a parameter, the device with which the parameter is associated
must have been previously registered. However, if a support module RMS has
registered the device already, you do not need to re-register it. For instance, you
may want to add a parameter to the "System" device, 0:1:0. In this case, simply
register the parameter for device 0:1:0.
Summary of Contents for RMS 3.0
Page 1: ...Software NetLinx Programmer s Guide RMS Resource Management Suite 3 0 ...
Page 4: ......
Page 10: ...Overview 2 RMS NetLinx Programmer s Guide ...
Page 12: ...System Requirements 4 RMS NetLinx Programmer s Guide ...
Page 22: ...Concepts 14 RMS NetLinx Programmer s Guide ...
Page 62: ...Custom Device Monitoring Programming 54 RMS NetLinx Programmer s Guide ...