Echelon IzoT NodeBuilder Manuale Utente Pagina 52

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 291
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 51
5. Double-click the IzoT NB Example Device.nc file in the Project pane to open the main Neuron C
file for this new device template.
6. Open the Switch.h and LED.h header files and view the functional block and configuration
property declarations.
7. Open the Switch.nc and LED.nc Neuron C files and view the default implementation of the
director function (named SwitchDirector or equivalent).
The director function is a mechanism that allows the developer to easily dispatch events to all the
functional blocks in a device with a single function call. For instance, during reset, the when
(reset) clause can dispatch the reset event for each functional block in the device when it is done
initializing the “global” components in the device. This is done using the following line of code:
executeOnEachFblock (FBC_WHEN_RESET);
8. Proceed to the next section to implement your device’s functionality by editing your Neuron C
code.
For more information on defining device interfaces and generating Neuron C code for them, see
Chapter 6, Defining Device Interfaces and Creating their Neuron C Application Framework.
Step 4: Developing the Device Application
The Neuron C source code generated by the NodeBuilder Code Wizard implements your device’s
interface. The Code Wizard also generates a skeleton application framework, including the most
common tasks performed by the Node Object. When developing the device application, you will
typically concentrate on writing the algorithms that implement your device’s functionality. To do this,
you will edit the code generated by the Code Wizard and program any required interaction between the
device application and the I/O devices on your device hardware.
In this step, you will add Neuron C I/O declarations to the Switch.h, and LED.h header files, and then
implement your desired I/O functionality in the Switch.nc and LED.nc Neuron C files.
Note: The I/O object declarations used for the FT 6000 EVK hardware (FT 6000 EVBs) and the
NodeBuilder FX/PL hardware (LTM-10A Platform with Gizmo 4 I/O Board) are different. Therefore,
38 IzoT NodeBuilder Quick-Start Exercise
Vedere la pagina 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 290 291

Commenti su questo manuale

Nessun commento

Panasonic KXTG2130 manuales

Manuales del propietario y guías del usuario para Teléfonos Panasonic KXTG2130.
Ofrecemos 2 manuales en pdf Panasonic KXTG2130 para descargar gratis por tipos de documentos: Instrucciones de operaciones






Más productos y manuales para Teléfonos Panasonic

Modelos Tipo de documento
KXTGC212SL Instrucciones de operaciones   Panasonic KXTGC210SL Operating Instructions, 48 paginas
KXTG7200SL Instrucciones de operaciones   Panasonic KXTG7200SL Operating Instructions, 28 paginas
KXTGC223E Instrucciones de operaciones   Panasonic KXTGC210E Operating Instructions, 48 paginas
KXTCD965 Instrucciones de operaciones    Panasonic KXTCD965 Operating Instructions, 84 paginas
KXTG8611FX Instrucciones de operaciones     Panasonic KXTG8611FX Упутство, 20 paginas
KXTG1100BL Instrucciones de operaciones   Panasonic KXTG1100BL Operating Instructions, 20 paginas
KXPRW110BL Instrucciones de operaciones   Panasonic KXPRW110BL Handleiding, 52 paginas
KXTG5522BL Instrucciones de operaciones   Panasonic KXTG5522BL Operating Instructions, 48 paginas
KXTGD310FX Instrucciones de operaciones   Panasonic KXTGD310FX Operating Instructions [fr] [nl] , 48 paginas
KXTGE220FR Instrucciones de operaciones   Panasonic KXTGE220FR Operating Instructions, 56 paginas
KXTGA950 Instrucciones de operaciones    Panasonic KXTGA950 Operating Instructions, 16 paginas
KXTGC212SL Instrucciones de operaciones   Panasonic KXTGC210SL Operating Instructions, 48 paginas
KXTGC220FX Instrucciones de operaciones   Panasonic KXTGC210FX Operating Instructions, 44 paginas
KXTGA575 Instrucciones de operaciones   Panasonic KXTGA575 Operating Instructions [fr] [it] , 24 paginas
KXTG7100FR Instrucciones de operaciones   Panasonic KXTG7100FR Operating Instructions, 40 paginas
KXTG6481EX Instrucciones de operaciones    Panasonic KXTG6481EX Instruções de operação, 48 paginas
KXTGE510BL Instrucciones de operaciones    Panasonic KXTGE510BL Handleiding [fr] [nl] , 48 paginas
KXTG454SK Instrucciones de operaciones   Panasonic KXTG454SK Operating Instructions, 10 paginas
KXTG2711FX Instrucciones de operaciones    Panasonic KXTG2711FX Upute za uporabu [ar] , 36 paginas
KXTGF373 Instrucciones de operaciones   Panasonic KXTG585SK Operating Instructions [bg] , 100 paginas