Technical information

The RMS Enterprise SDK (v4)
35
RMS Enterprise - NetLinx Programmer’s Guide
The following code snippet illustrates a defined Duet module and its corresponding RMS Duet device monitoring module.
DEFINE_DEVICE
dvVideoProjector = 5001:23:0 // Video Projector (Physical Device)
vdvVideoProjector = 41116:1:0 // Duet Video Projector Device
DEFINE_START
// Video Projector Duet Device Module
DEFINE_MODULE 'BarcoVideoProjector_dr1_0_0' mdlVideoProjector(vdvVideoProjector,
dvVideoProjector)
// RMS Video Projector Device Monitor
DEFINE_MODULE 'RmsDuetVideoProjectorMonitor' mdlRmsVideoProjectorMon(vdvRMS,
vdvVideoProjector,
dvVideoProjector)
The sample code above is all that is needed to implement the default device monitoring and management with RMS.
Implementing Driver Design (*.XDD) Modules
The following code snippet illustrates a defined XDD module and its corresponding RMS XDD device monitoring module.
DEFINE_DEVICE
dvVideoProjector = 5001:3:0 // Video Projector (Physical Device)
vdvVideoProjector = 41003:1:1 // Duet Video Projector Device
DEFINE_VARIABLE
CHAR myProjectorXDDFile[] = 'VideoProjector_xdd_name.xdd'
DEFINE_START
// Video Projector Duet Device Module
DEFINE_MODULE 'DeviceDriverEngine' mdlVideoProjectorXDD(vdvVideoProjector,
dvVideoProjector,
myProjectorXDDFile)
// RMS Video Projector Device Monitor
DEFINE_MODULE 'RmsDuetVideoProjectorMonitor' mdlRmsVideoProjectorMon(vdvRMS,
vdvVideoProjector,
dvVideoProjector)
The sample code above is all that is needed to implement the default device monitoring and management with RMS.
For more detailed information, review the source code provided for each RmsDuetXxxxxxMonitor module. Additionally, see the
Programming - Asset Management section on page 47 for more details on programming for asset management.
RMS NetLinx Device Monitoring Modules
The RMS Enterprise SDK includes default asset monitoring and management NetLinx code based implementations for the
following device types:
Unlike the lightweight wrapper RMS Duet device monitor modules, these NetLinx device monitor modules provide the full
implementation of the device monitoring and management logic in NetLinx code. These modules can be used, extended, and/or
modified when integrating a control system solution that do not use Duet based device modules.
These RMS NetLinx device monitoring modules do provide the default implementation for monitoring device activity and
reporting the updates to RMS; however, these modules require some form of input from the user's device implementation code to
trigger the updated. These RMS NetLinx device monitoring modules use the SNAPI (Standard NetLinx API) protocols on the
NetLinx device virtual devices to monitor for changes.
RMS NetLinx Device Monitoring Modules
Audio Conferencer Receiver
Camera Security System
Digital Satellite System Settop Box
Document Camera Switcher
Digital Video Recorder TV
Disc Device (DVD, CD) Video Conferencer
HVAC Video Projector
Monitor