Utf-8 Encoding; Src File Extraction - AMX NETLINX STUDIO V2.4 Instruction Manual

Table of Contents

Advertisement

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.
You may also encode files created with a previous version of NetLinx Studio by
choosing "Save-As" and selecting the UTF-8 encoding.

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 Build With Source option also allows you later send the Source files to another
Master, with the ability to debug the code.
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.
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).
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.
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.
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.
Working With Systems and System Files
55

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents