Echelon FTXL User Manual

Page 7

Advertising
background image

FTXL User’s Guide

vii

Table of Contents

Welcome.........................................................................................................iii

Audience ........................................................................................................iii

Related Documentation ................................................................................iii

Related Altera Product Documentation ................................................iv

Related devboards.de Product Documentation...................................... v

Introduction to FTXL......................................................................................... 1

Overview ......................................................................................................... 2

A L

ON

W

ORKS

Device with a Single Processor Chip .............................. 3

A L

ON

W

ORKS

Device with Two Processor Chips ................................... 4

LonTalk Platform for ShortStack Micro Servers ............................ 5

LonTalk Platform for FTXL Transceivers....................................... 6

Comparing Neuron-Hosted, ShortStack, and FTXL Devices ............... 8

Requirements and Restrictions for FTXL .................................................. 10

Development Tools for FTXL ...................................................................... 11

FTXL Architecture ....................................................................................... 11

The FTXL Developer’s Kit ........................................................................... 13

Overview of the FTXL Development Process ............................................. 13

Getting Started with FTXL ............................................................................. 17

FTXL Developer’s Kit Overview.................................................................. 18

Installing the FTXL Developer’s Kit........................................................... 18

Hardware Requirements....................................................................... 19

Software Requirements......................................................................... 19

DBC2C20 Software................................................................................ 20

Installing the FTXL Developer’s Kit .................................................... 20

FTXL API Files ............................................................................................ 20

LonTalk Interface Developer....................................................................... 21

Example FTXL Applications ....................................................................... 21

Creating a Model File ...................................................................................... 23

Model File Overview .................................................................................... 24

Defining the Device Interface...................................................................... 25

Defining the Interface for an FTXL Application ................................. 25

Choosing the Data Type ................................................................. 26

Defining a Functional Block ................................................................. 27

Declaring a Functional Block......................................................... 28

Defining a Network Variable................................................................ 28

Defining a Changeable-Type Network Variable ........................... 30

Defining a Configuration Property....................................................... 32

Declaring a Configuration Property .............................................. 32

Responding to Configuration Property Value Changes................ 34

Defining a Configuration Property Array ..................................... 34

Sharing a Configuration Property ................................................. 37

Inheriting a Configuration Property Type .................................... 38

Declaring a Message Tag ...................................................................... 40

Defining a Resource File ....................................................................... 40

Implementation-Specific Scope Rules............................................ 42

Writing Acceptable Neuron C Code ............................................................ 43

Anonymous Top-Level Types ................................................................ 43

Legacy Neuron C Constructs ................................................................ 44

Using Authentication for Network Variables ............................................ 44

Advertising