
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.
Summary of Contents for NetLinx Studio
Page 40: ...Working with Projects 28 NetLinx Studio Instruction Manual...
Page 148: ...Communication Settings 136 NetLinx Studio Instruction Manual...
Page 160: ...Working with Online Devices 148 NetLinx Studio Instruction Manual...
Page 178: ...File Transfer Operations 166 NetLinx Studio Instruction Manual...
Page 208: ...Tools Menu Options 196 NetLinx Studio Instruction Manual...
Page 229: ...Setting Program Preferences 217 NetLinx Studio Instruction Manual...