Working with System Files
36
NetLinx Studio - Instruction Manual
The disk file name is the full file name (plus it's extension) as it appears in Windows Explorer. For example, if you create
a Source Code File into a Project and enter "My File" in the Identifier field, the file will appear in the Workspace Bar as
"My File", but the disk file name is "My File.axs". You can change a file's Identifier without affecting the disk filename.
Identifiers must be unique to each System, regardless of the file type. If you assign an identifier to a file that
already exists in the System, the program will prompt you to enter a different identifier.
You can change the assigned identifier of any System file (via the File Properties dialog), but remember that
identifiers only apply to the specific file that they are applied to, and not to any others. For example if you
change a file's identifier, the file's associated *.TOK file still reflects the disk file name.
Creating New System Files
Use the File > New command (or toolbar button) to create all types of System files, including Source Code, Include,
Block and Text files. This command creates a new file, but does not automatically associate the new file with any Project
or System.
1. Select New from the File menu to open the New dialog (FIG. 56).
2. Select the type of file that you want to create (Source File, Include File, Block File, or Standard Text).
3. Click OK to open an empty Editor window.
4. Develop the file as needed in the Editor window, and select File > Save.
5. Specify a name and target location for the new file in the Save As dialog.
See Creating a New Source Code File on page 39
See Creating a New Include File on page 46
See Creating a New Block File on page 49
See Creating a New Module File on page 52
See Creating a Standard Text (.txt) File on page 65
Saving the Active File
Click File > Save to save the active file in the Editor, using the current file name and identifier.
Saving All Open Files
Click File > Save All to save all open files, using their current file names and identifiers.
Use the Project > Add File To System command to add the file to a System.
FIG. 56 New dialog
The Workspace Wizard option launches the Workspace Wizard, which steps you
through the process of creating a new Workspace with a Project and one System.