
Setting Program Preferences
198
NetLinx Studio - Instruction Manual
Axcess Compiler Options (Cont.)
DEFINE_CALL not
used
This warning occurs at the end of program compilation for each DEFINE_CALL subroutine that
was declared but never used.
Too many nested levels
This warning appears if there is a large amount of nesting in the program. This can happen with
a long chain of IF...ELSE IF statements. The solution is to use the SELECT...ACTIVE set of
statements.
Long_While in While
This warning occurs if the compiler finds a LONG_WHILE or MEDIUM_WHILE inside a block of
code following a WHILE keyword. This warning exists because the WHILE command has a 1/2
second timeout period, and the LONG_WHILE and MEDIUM_WHILE keywords do not. This
could create a hard-to-find logic error. The solution is to change the WHILE to a LONG_WHILE
to fix this problem.
Memory
Separate Define Call list Check to store all DEFINE_CALL subroutines in a separate section of the Master Controller
memory than the DEFINE_PROGRAM section. This effectively allows the code size of a
program to reach 128K (64K for the DEFINE_CALLS and 64K for the DEFINE_PROGRAM
section).
Source Options
Build with Source
Check to compile the source code with the executable code so that you may later retrieve the
source code from the device you send the compiled code to. If Build with Source is disabled,
only the executable code is sent when the file is transferred to the master.
Build With Password
Protection
Select this option to apply a password to the Source file. Once you retrieve the source code file
from the master, you will be prompted for a password to unlock the file. The last password you
entered in this dialog will be used to open the locked file first. If that fails, then you will be
prompted for a correct password.
Note: When building with source, only the files needed for the compilation process are
compressed. Though the APW may contain many files, if the source file only uses one axi file,
then only 2 files will be compressed.
Directories
Directories drop-down
menu
Select the directories to point the compiler to, according to file type. Once a directory type is
selected, the directory list is populated with the directories of that type that have been mapped.
There are a maximum of 100 directories that can be entered for each type.
• Select
Include Files
to select or create the directory that the compiler will look for Include
files in.
• Select
Library Files
to select or create the directory that the compiler will look for (IR)
Library files in.
Note: In some cases, when running NetLinx Studio on Windows Vista and Windows 7, the
message "Need Administrator Rights" may be displayed in the Directories window (with tool-
text that says "You need Administrator Rights to change the HKEY_LOCAL_MACHINE section
within the Registry.”). This is indication that NetLinx Studio needs to be re-started with
Administrative privileges (Select Start > All Programs > AMX Control Disc > NetLinx Studio.
Right-click on the NetLinx Studio shortcut, and select Run As Administrator).
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...