Files Created When Compiling in Studio
Frequently Asked Questions
Table of Contents
Brand:
- AMX
Models:
- Netlinx
Question:
What are the files Netlinx Studio creates in the compile directory?
Answer:
When compiling code, Netlinx Studio creates a number of files in the compile directory: Here is a brief explanation of what they are.
Netlinx Compile
- SRC file: This is the source code in a zipped format. It can be opened with Netlinx Studio/File/Unzip NetLinx Source, WinZip, WinRAR, etc. If you have "Edit/Preferences/Netlinx Compiler Options/Options/Build With Source" unchecked, the SRC file will only contain the empty file NoSource.txt.
- TKO file: This is used by the compiler to generate the TKN file. If a module needs to redistributed without source, send the user the module's TKO file. If the code is not in a project, (for example the compiling and downloading "orphan" files), each module will need to be compiled to generate its TKO before the main compile is done.
- TKN file: This is the compiled token file that actually runs in the master. If the Netlinx code needs to be distributed without source, send the user the TKN file.
Axcess Compile
- TKS file: Axcess1 symbol file.
- TOK file: This is the compiled token file that actually runs in the master. It also contains the compressed source code if "Edit/Preferences/AXCESS Compiler Options/Build/Build with Source" is checked. If the Axcess code needs to be distributed without source, uncheck ".../Build with Source" before compiling, then send the user the TOK file.
Table of Contents