User Guide
Code Generation
78
RMS CodeCrafter
RMS Device Parameters
A custom function will be generated for each parameter to set the value of the parameter and report
it to the RMS server. This function will follow the following structure:
(*******************************************)
(* Call Name: RMSSetLeftProjectorLampHours *)
(* Function: Set Lamp Hours *)
(* Param: Value *)
(* Return: None *)
(*******************************************)
DEFINE_FUNCTION RMSSetLeftProjectorLampHours(SLONG slValue)
LOCAL_VAR
CHAR bInit
{
IF (slRMSLeftProjectorLampHours <> slValue || bInit = FALSE)
RMSChangeNumberParam(dvLProj,'Lamp Hours',RMS_PARAM_SET,slValue)
slRMSLeftProjectorLampHours = slValue
bInit = TRUE
}
Module Definitions
RMS CodeCrafter generates the following module definitions in the DEFINE_START section.
Monitored Device/Support Modules
RMS CodeCrafter generates a module definition for each Monitored device that uses a Support
Module. Each module declaration is created using the Module name, the monitored devices virtual
and actual device names, and the RMS Engine’s virtual device name (vdvRMSEngine).
Each module definition is preceded by a comment containing the device name of the monitored
device.
Source Usage
This module definition is generated if the user selects Monitor Source Usage in the i!-ConnectLinx
Options page.
// RMSSrcUsageMod - Tracks equipment usage.
DEFINE_MODULE 'RMSSrcUsageMod' mdlSrcUsage(vdvRMSEngine,
vdvCLActions)
RMS Engine
This module definition is always generated boilerplate.
// RMSEngineMod - The RMS engine. Requires i!-ConnectLinxEngineMod.
DEFINE_MODULE 'RMSEngineMod' mdlRMSEng(vdvRMSEngine,
dvRMSSocket,
vdvCLActions)
RMSUIMod
This module definition is generated if the user selects Main and Welcome Panels in the Scheduling
Options.
// RMSUIMod - The RMS/MeetingManager User Interface. Requires KeyboardMod.
// Channel And Variable Text Code Defined Inside The Module
DEFINE_MODULE 'RMSUIMod' mdlRMSUI(vdvRMSEngine,
vdvKB,
dvRMSKeyboard,
dvRMSTP,
dvRMSTPWelcome)