Introduction to device templates, Creating device templates, Starting the new device template wizard – Echelon NodeBuilder FX User Manual
Page 110

96
Creating and Using Device Templates
Introduction to Device Templates
Each type of device that you develop with the NodeBuilder tool is defined by a pair of device
templates: a NodeBuilder device template and an LNS device template.
The NodeBuilder device template is an XML file with a .NbDt extension that specifies the information
required for the NodeBuilder tool to build the device application. The NodeBuilder device template
includes a list of Neuron C source code files and the hardware template name.
When you build the device application, the NodeBuilder tool automatically produces an LNS device
template. The LNS device template defines the external interface to the device, and is used by the
LonMaker tool and other LNS network tools to configure and bind the device.
Creating Device Templates
You can create device templates using the New Device Template wizard in the NodeBuilder Project
Manager. The New Device Template wizard guides you through the process of creating a new
NodeBuilder device template. In the NodeBuilder device template, you will specify a device template
name, working directories, a Program ID, and hardware templates.
To create a device template, you do the following:
1. Start the New Device Template wizard.
2. Specify the device template name.
3. Specify the program ID.
4. Select the target hardware platform.
Starting the New Device Template Wizard
To start the new device template wizard follow these steps:
1. You can start the New Device Template wizard automatically after you finish creating a new
NodeBuilder project or manually from the Project pane.
• To automatically start the New Device Template wizard after you finish creating a new
NodeBuilder project, select the Run NodeBuilder Device Template Wizard check box in
the Specify Project Default Settings dialog at the end of the New Project Wizard. See
Creating a NodeBuilder Project in Chapter 4 for more information on creating a NodeBuilder
project and setting this option.
• To manually start the New Device Template wizard, right-click the Device Templates folder
in the Project pane and then select New on the shortcut menu.
2. The NodeBuilder New Device Template Wizard opens.