Working With Systems and System Files
55
NetLinx Studio (v2.4 or higher)
To specify the compiler to use (
NetLinx
or
Axcess
), double-click to open the file in a
Source Code Editor window, and select
Compile as NetLinx
or
Compile As Axcess
from the Build menu.
The status and results of the build are displayed in the Status tab of the Output Display Window.
UTF-8 Encoding
In the Save As dialog, select UTF-8 from the Encoding menu to enable UTF-8 support for new
files, to help NetLinx Studio files to work better with other editors.
You can also select the
Enable UTF-8 Encoding
option in the Editor tab of the Preferences dialog.
SRC File Extraction
NetLinx Studio can generate a compressed version of NetLinx program files anytime they are
compiled or transferred. The compressed NetLinx files are called Source Files, and have the
extension .SRC. To generate NetLinx Source Files at compile time, enable the Build With Source
option in the NetLinx Compiler tab of the Preferences dialog. If this option is not enabled, a
dummy file is zipped and named "NOSOURCE.TXT".
The Extract From SRC File command allows you to extract these files:
1.
Select
Tools > File Extraction > Extract From SRC File
to open the Select SRC File dialog.
2.
Locate and select the SRC file you want to extract, and click
Open
.
3.
In the Extract NetLinx Source From a SRC File dialog, the selected file (with full directory
path) is indicated in the
SRC File To Extract From
field.
4.
In the
Extract To
field, specify the target directory for the extracted NetLinx Source files, and
click
Extract
to extract the files.
When extracted, the program will always replicate the directory paths associated with the
compressed files when the file was created. To use the original directory paths, enter
C:\
as the destination directory. For example if you enter C:\ as the destination directory, you
know that the NetLinx.AXI file will be copied into the proper directory for compiling
(C:\Program Files\Common Files\AMXShare\AXIs).
If a file with the same name already exists in the specified target directory, the program
alerts you, and prompts you to overwrite it or pick a different target directory.
If you enter non-existent folders, the program will create them for you.
You may also encode files created with a previous version of NetLinx Studio by
choosing "Save-As" and selecting the UTF-8 encoding.
The Build With Source option also allows you later send the Source files to another
Master, with the ability to debug the code.
This is the directory containing the actual program file (.AXS). Source files only exist
in the directory if the program file has been successfully compiled (using the Build
With Source option).
Summary of Contents for NETLINX STUDIO V2.4
Page 1: ...instruction manual Software NetLinx Studio v2 4 or higher ...
Page 16: ...NetLinx Studio v2 4 or higher 4 NetLinx Studio v2 4 or higher ...
Page 32: ...The NetLinx Studio v2 4 Work Area 20 NetLinx Studio v2 4 or higher ...
Page 44: ...Working With Workspace Files 32 NetLinx Studio v2 4 or higher ...
Page 88: ...Working With Systems and System Files 76 NetLinx Studio v2 4 or higher ...
Page 118: ...Programming 106 NetLinx Studio v2 4 or higher ...
Page 152: ...Working With Online Devices 140 NetLinx Studio v2 4 or higher ...