Getting Started
25
RMS NetLinx Programmer’s Guide
Interfacing with the RMS SDK
Once you have used RMS CodeCrafter to generate the device monitoring code
for your system, you will need to communicate device status to the RMS support
modules.
First, you will need to notify RMS when the system power is turned on and off.
To notify RMS when the system power is ON, call this function:
RMSSetSystemPower(TRUE)
To notify RMS when the system power is turned off, call this function:
RMSSetSystemPower(FALSE)
Next, you will need to notify RMS when device power is turned on and off. If
you are using an AMX Comm module to communicate to your device, the RMS
support modules will automatically communicate with the Comm module to
determine power status. If you are using a power sensing device to monitor power
and the power sending status appears on channel 255 of the real device, the RMS
support modules will automatically detect power status. To notify RMS when the
device power is ON, call this function:
RMSSetDevicePower(DeviceIdentifier,TRUE)
Where DeviceIdentifier is the identifier for the real device, such as
dvProj.
To notify RMS when the device power is OFF, call this function:
RMSSetDevicePower(DeviceIdentifier,FALSE)
Where DeviceIdentifier is the identifier for the real device, such as
dvProj.
For projectors, you will need to notify RMS when the lamp hours changes If your
projector does not support a lamp hours command, you need to make sure you
notify RMS of the projector power using RMSSetDevicePower(). The
RMSProjectorMod module will estimate lamp hours using projector power, if
you are using an AMX Comm module to communicate to your device, the
RMSProjectorMod will communicate with the Comm module to determine lamp
hours automatically.
If your projector supports a lamp hours command, it is recommended you add
code to poll and parse lamp hours. Once you have obtained lamp hours from your
projector, notify RMS by calling this function:
RMSSetLampHours(DeviceIdentifier,Value)
Содержание 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 ...