Ftxl lontalk api functions, Commonly used ftxl lontalk api functions, Other ftxl lontalk api functions – Echelon FTXL User Manual
Page 161
FTXL User’s Guide
149
• API source code for the example applications: Start → Programs →
Echelon FTXL Developer’s Kit → Source Code
FTXL LonTalk API Functions
The FTXL LonTalk API includes functions for managing network data, the FTXL
device, and non-volatile data.
Commonly Used FTXL LonTalk API
Functions
Table 12 lists API functions that you will most likely use in your FTXL
application.
Table 12. Commonly Used FTXL LonTalk API Functions
Function
Description
LonEventPump()
Processes any messages received by the FTXL LonTalk protocol
stack. If messages are received, it calls the appropriate event
handler functions.
See
Periodically Calling the Event Pump
on page 81 for more
information about this function.
LonExit()
Stops the FTXL LonTalk protocol stack for an orderly shutdown of
the FTXL device.
LonInit()
Initializes the FTXL LonTalk API and the FTXL LonTalk protocol
stack. This function downloads FTXL device interface data from
the FTXL application to the FTXL Transceiver.
The FTXL application must call LonInit() once on startup.
LonPropagateNv()
Propagates a network variable value to the network.
This function propagates a network variable if
all
of the following
conditions are met:
• The network variable is declared with the output modifier
• The network variable must be bound to the network
• The network variable must not be declared with the polled
modifier.
Other FTXL LonTalk API Functions
Table 13 on page 150 lists other FTXL LonTalk API functions that you can use in
your FTXL application. These functions are not typically used by most FTXL
applications, or are used only for specific application functionality (for example,
including support for changeable-type network variables).