Application Development
7.1 Introduction
(Page 2 of 11 in this chapter)
- This chapter discusses issues pertaining to and procedures involved in developing
an application using the AG Access library. The topics discussed are:
- This chapter builds on the concepts and terminology laid down in Chapter 2,
which identifies and defines the major architectural components of AG Access. In
this chapter, the issues relevant to building systems using those components are
discussed.
- Specifically, this chapter focuses on the interaction between the application
program, the AG Access library, and the operating system. It is assumed that the
reader is familiar with operating system concepts such as processes, threads,
device drivers, and reentrancy.
- Application development with AG Access is based on the following principles:
- To use AG Access, execute the following initialization sequence:
- Open the AG driver to gain access to the AG boards.
- Open one or more ports using the driver instance in Step 1.
- Continuously wait for events from the port(s). When an event occurs, retrieve it from the driver and process it.
- These steps are described in the next three sections.
(Page 2 of 11 in this chapter)
Copyright 1996 Natural MicroSystems, Inc. All Rights Reserved.