Working With Include Files; Netlinx .Axi" File; Creating A New Include File - AMX NetLinx Studio Instruction Manual

Netlinx design v3.3 or higher
Table of Contents

Advertisement

Working with System Files
The status and results of the build are displayed in the Status tab of the Output Bar. See the Building and Debugging
Source Code section on page 105 for details.

Working with Include Files

An Include file is a type of code file (.axi) that is included in the compiling process without having to reside in the Master
Code file itself. Include files are effectively linked to the Source Code file, and must be called in the Master Source
Code. You can create new Include files using the File > New > Include File option, or import existing Include files into
your Project. Include files are stored in the Include folder (in the Workspace tab of the Workspace Bar).
If any Include files are present in the Include System File folder when the Project is compiled (and if they are called in
the source code), they are compiled as if the code that they contain was part of the Master Source Code file.

"NetLinx .axi" File

Any time you compile a NetLinx file, the file "NetLinx.axi" is accessed. This is the default NetLinx include file, and it
contains various standard NetLinx system structures and variables. This file is called at every NetLinx compile operation
and is included even without being specified in the program. The NetLinx.axi file is updated in step with version changes
of NetLinx Studio.
If there are ever any interim updates to the NetLinx.axi file, you will be notified via the AMX newsletter, and the update
will be posted to the Software Center on the AMX.com website.

Creating a New Include File

To create a new Include file (that is not associated with a System).
1.
Select New from the File menu to open the New dialog (FIG. 80).
FIG. 80
New dialog
2.
Select Include File and click OK to open the New Include File dialog (FIG. 81).
FIG. 81
New Include File dialog
3.
By default, the new file is named NewInclude.axi. Edit the file name and the target location for the file and click
OK.


4.
Click OK to save changes and close the dialog.
A new (empty) Include file is opened in a new Editor window.
46
Note that you can enter a path for a non-existing folder in the text box and the program will create it for you.
Click the Browse button to locate and select the target directory in the Browse For Folder dialog.
NetLinx Studio - Instruction Manual

Advertisement

Table of Contents
loading

Table of Contents