1 INTRODUCTION
7 This document contains practical methods for driver development,
and the user manual for common modules used by all drivers.
1.1 Purpose
The purpose of this document is to make the development of new LCU drivers for the ESO VLT- project easier. It covers design, implementation and test of drivers. It can also be helpful for maintenance, for instance the addition of new commands to existing drivers.
This document contains also the User Manual for the software modules and test tools representing the common driver part (abbreviated with lcudrv and lculog). Functions and macros defined in these modules can be used by any driver, likewise are the tools described here not driver-specific and can therefore be used during development and test of any new or existing driver.
The user manual part is intended to provide all the necessary information to develop drivers which make use of the modules lcudrv and lculog.
The document assumes that the reader has a good knowledge of UNIX, C-language, the VxWorks operating system and is familiar with VxWorks development environment.
In addition to the Introduction section, this manual contains the following major sections:
· Files and Directories - Provides a complete list of necessary files and directories for a driver and what they should contain.
· The LCU Driver Common Modules - Describes all the functions available in the modules lcudrv and lculog and how to use them in drivers.
· Test Tools - Describes the utility lcudrvTk which can be used during driver development and installation.
1.2 Scope
The User Manual part of this document describes the following VLT software modules:
The following hardware and software environment is recommended for the software described:
1.3 Reference Documents
The following documents contain additional information and are referenced in the text.
1.4 Abbreviations And Acronyms
The following abbreviations and acronyms are used in this document:1
1.5 Stylistic Conventions
The following styles are used:
bold and italic are also used to highlight words.
Items which are subject to change in future versions are marked in this way (AuthorRemark).
1.6 Naming Conventions
This implementation follows the naming conventions as outlined in the VLT Programming Standards [1].
All directories, files and variables belonging to a specific driver are identified by some `xxx' characters as prefix to their names. Example code in this document uses "xxx" literally (like xxx.h, xxxCommands.h, xxxErrors.h), for real drivers this must be changed to the driver's module name, e.g. "mcon", "tim" etc.
1.7 Problem Reporting/Change Request
See [6] for instructions.
1The abbreviation CDT for "Command Descriptor Table" has been removed in issue 2.0 to avoid confusion with "Command Definition Table" in CCS/LCC terminology.
Quadralay Corporation http://www.webworks.com Voice: (512) 719-3399 Fax: (512) 719-3606 sales@webworks.com |