Programming
96
NetLinx Studio - Instruction Manual
Code Wizard dialog - IR Constant tab
Constants are generated from IR files. One constant is generated for every IR function and are placed in the
DEFINE_CONSTANT section. The advanced options available for IR Constants in the IR Constant tab of the Code
Wizard dialog (FIG. 171) are described below:
FIG. 171 Code Wizard dialog - IR Constant tab
Code Wizard - IR Constant Options
Device The device name used during code generation. This name is used to generate the Constant Prefix
field.
IR File The IR file for which you would like to generate constants.
Constant Prefix The prefix to precede all constant declaration. By default, this will be <Device>_.
Comment This value is used on the line before the constant declarations. Comments in NetLinx are always line-
style comments (i.e. //).
Insert Once you have made the relevant selections on this tab, click this button to insert the specified code
into the file.