Echelon NodeBuilder FX Uživatelský manuál Strana 122

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 300
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 121
108 Creating and Using Device Templates
Source Files This folder contains all the source files associated with this device
template except for the main source file. When you add source files to
the NodeBuilder project directly or using the NodeBuilder Code
Wizard, they are added to this folder.
Adding Source Files
You can add other files to this folder, including Neuron C source files
(.nc extension), header files (.h extension), C files (.c extension), text
files (.txt extension), or other specification or documentation files. To
do this, right-click the Source Files folder and click Insert on the
shortcut menu.
Note: Adding files to this folder does not automatically include them
when you build the application image. You must insert #include
statements in your Neuron C code to explicitly include these files in
the build.
You can add non-source code files to this folder to allow them to be
easily accessed from the project.
Editing Source Files
You can double-click any source file to edit it. See Chapter 7,
Developing Device Applications, for more information on editing
source files.
Removing Source Files
To remove a source file from the device template, right-click the
source file and then click Remove on the shortcut menu.
Viewing Source File Properties
To view the location, size, and date stamps of a source file, right-click
the source file and then click Properties on the shortcut menu.
Libraries This folder contains all libraries explicitly used by this device
template. A library is a file containing one or more compiled ANSI C
functions. When you build the application image for a device
template, functions are included from libraries if they are referenced
by any code included in the device template. The code for any
unreferenced functions is not included in the application image.
You can add a library in the Specify Library Type dialog. To access
this dialog, right-click the Libraries folder and then click Insert on
the shortcut menu. See
Inserting Libraries into a NodeBuilder Project
later in this chapter for more information on adding libraries to a
project.
Zobrazit stránku 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 299 300

Komentáře k této Příručce

Žádné komentáře