User Guide

Code Generation
76
RMS CodeCrafter
{
1002 // Power Off
// i!-ConnectLinx Touch Panel Buttons
VOLATILE INTEGER nchCLPanelButtons[] =
{
1 // Power Off
}
Device Parameters
RMS CodeCrafter creates a variable for each device parameter specified, of the following types:
Number – Signed Long (SLONG)
Index – Integer (INTEGER)s
String – String (CHAR Array), length is RMS_MAX_PARAM_LEN
Enum– String (CHAR Array), length is RMS_MAX_PARAM_LEN
Each variable name will contain one of the following Hungarian prefixes, based on type:
Signed Long (SLONG) – sl
Integer (INTEGER) – n
CHAR array – c
The name itself will be constructed as follows:
<prefix> + “RMS” + <device logical name> + <parameter name>
Each variable definition will be defined as VOLATILE.
Each variable definition will be preceded on the line above it by a comment containing its
corresponding device’s name. Each definition will be immediately followed on the same line with a
comment containing the parameter name, like so:
// dvLProj
VOLATILE SLONG slRMSLeftProjectorLampHours // Lamp Hours