AMX NetLinx Studio Instruction Manual page 210

Netlinx design v3.3 or higher
Table of Contents

Advertisement

Setting Program Preferences
Axcess Compiler Options (Cont.)
DEFINE_CALL not
used
Too many nested levels
Long_While in While
Memory
Separate Define Call list Check to store all DEFINE_CALL subroutines in a separate section of the Master Controller
Source Options
Build with Source
Build With Password
Protection
Directories
Directories drop-down
menu
198
This warning occurs at the end of program compilation for each DEFINE_CALL subroutine that
was declared but never used.
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.
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 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).
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.
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.
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).
NetLinx Studio - Instruction Manual

Advertisement

Table of Contents
loading

Table of Contents