Code Generation
DEFINE_CONSTANT Section
Server Address Definition
RMS CodeCrafter will create a definition for the server address, using the value provided in the
RMS Server Address Page.
// RMS Server IP
CHAR RMS_SERVER_IP[100]
Maximum String/Enum Param Length
RMS CodeCrafter will create a definition for RMS_MAX_PARAM_LEN constant, with a value of
100.
// Max String/Enum Param Length
RMS_MAX_PARAM_LEN
RMSCommon.axi
RMS CodeCrafter will create an include statement for the RMSCommon.axi include file. This will
be inserted after the DEFINE_CONSTANT section and prior to the DEFINE_VARIABLE section.
(***********************************************************)
(*
(***********************************************************)
#INCLUDE 'RMSCommon.axi'
DEFINE_VARIABLE Section
Device Arrays
Main Panels
RMS CodeCrafter creates a device array for all Main Panels. This array is used as a parameter to
the RMSUIMod and RMSHelpUIMod modules. This array is created only if the user selects Main
and Welcome Panels under Scheduling Options, or selects the Include Help Desk Code option
(AssetManager only).
RMS CodeCrafter adds G3 panels first, followed by G4 panels. A comment regarding the order of
G3 panels is placed before the list.
// RMS Devices
// If a G3 panel appears first in this list, then G3 compatible
commands will be used.
// If a G4 panel appears first in this list, then G4 commands will be
used (looks better).
VOLATILE DEV dvRMSTP[] =
{
dvTP1a
}
Welcome Panels
RMS CodeCrafter creates a device array for all Welcome Panels. This array is used as a parameter
to the RMSUIMod and/ or RMSWelcomeOnlyUIMod module. This array is created only if the user
selects either Main and Welcome Panels or Welcome Panels Only under Scheduling Options.
RMS CodeCrafter adds G3 panels first, followed by G4 panels. A comment regarding the order of
G3 panels is added before the list.
// RMS Welcome Devices
// If a G3 panel appears first in this list, then G3 compatible
commands will be used.
74
= '192.168.222.51'
= 100
INCLUDE FILES GO BELOW
*)
RMS CodeCrafter
Need help?
Do you have a question about the RMS CODECRAFTER and is the answer not in the manual?
Questions and answers