lsftpl : the LCU Server Template
This chapter describes the detailed analysis of the module lsftpl, the template module based on the framework lsf for the creation of any Software Device application.
lsftpl is a Software Device Template
controlling a large set of Hard- and Software devices.
It is fully scalable to the specific needs of the application.
Template Application
The lsftpl application
For the purpose of the template, a large set of hardware and software
devices is supported so as to offer full coverage examples, as listed below:
- 4 analog signals (2 Input, 2 Output),
- 4 digital signals (2 Input, 2 Output),
- 2 motors,
- 3 serial ports, wherefrom one of type
/tyCo
- 1 background task
- 2 sub-ordinated Software devices
Up to 24 devices may be controlled by the application.
In order to achieve optimum flexibility, the control of the devices is
table driven.
Table driven control
One table contains the necessary information for driving the control
of all the devices registered in it. Individually, each device can be set
in simulation or ignored. This table can be dynamically modified; the changes
are effective with the next initialization.
One file configuration
In order to keep the number of files to be modified
Custom Application
Instantiating the code
Configuration
Building the Application
Detailed Design
The Database
The Application Server
The Command Interface (ACI & CDT)
The Command Description Table (CIT)
The Programmatic Interface (API)
Last modified: Mon Sep 18 17:07:06 METDST 2000