Custom Device Monitoring Programming
31
RMS NetLinx Programmer’s Guide
RMSDevMonSetParamCallback()
The function is called when the RMS administrator chooses "Reset" for a
parameter that can be reset on the RMS console. You can determine which
parameter was reset by checking the value of dvDPS and cName. All parameters
values are sent as a string so you will need to convert it appropriately. In your
code, the function needs to be defined as:
DEFINE_FUNCTION RMSDevMonSetParamCallback(DEV dvDPS, CHAR
cName[], CHAR cValue[])
{
}
RMS Engine module
The RMS engine module will automatically register the "System" device that is
associated with the NetLinx Master, Device ID 0:1:0. RMS will automatically
register four parameters for this device. They are "System Power," "Help
Request," "Maintenance Request", and "Service Mode." In addition, the system
will monitor room communication status for each room. These parameters
require no programming on your part for registration. However, you will need to
add support for system power. RMS registers and manages this parameter for you
but you need to notify RMS when the system power is turned On or Off. You can
do this in one of four ways:
The last way to inform RMS utilizes the i!-ConnectLinx device. If you add the
programming to your system to allow i-ConnectLinx to control power using the
Turn System On:
RMSSetSystemPower(TRUE)
SEND_STRING vdvRMSEngine,'POWER=1'
PULSE[vdvRMSEngine,27]
ON[vdvCLActions,1001]
Turn System Off:
RMSSetSystemPower(FALSE)
SEND_STRING vdvRMSEngine,'POWER=0'
PULSE[vdvRMSEngine,28]
ON[vdvCLActions,1002]
Содержание RMS 3.0
Страница 1: ...Software NetLinx Programmer s Guide RMS Resource Management Suite 3 0 ...
Страница 4: ......
Страница 10: ...Overview 2 RMS NetLinx Programmer s Guide ...
Страница 12: ...System Requirements 4 RMS NetLinx Programmer s Guide ...
Страница 22: ...Concepts 14 RMS NetLinx Programmer s Guide ...
Страница 62: ...Custom Device Monitoring Programming 54 RMS NetLinx Programmer s Guide ...