EasyManua.ls Logo

Strasbaugh nTellect 7AF - Chapter 3: Programming with the Pamux Driver; Overview; What Is the Pamux Driver

Default Icon
2493 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Pamux User’s Guide 59
PROGRAMMING WITH
THE PAMUX DRIVER
OVERVIEW
Most Pamux systems feature an AC28 adapter card installed in an IBM PC/AT personal computer. If you are
using an AC28, you have the option to use Opto 22’s Pamux driver to simplify communication to the Pamux bus.
This chapter explains how to use the DOS and Windows versions of this driver with AC28. If you are
not using an AC28, or if you do not wish to use the Pamux software driver, you may skip this
chapter and proceed directly to Chapter 4, “Programming without the Pamux Driver.”
WHAT IS THE PAMUX DRIVER?
The Pamux analog/digital driver is a subroutine that provides an interface between Pamux stations and
application programs written in high-level languages, such as BASIC, C, C++, and Pascal. The driver
allows the programmer to talk to Pamux by calling a single subroutine. This reduces the task of
communicating to all analog and digital I/O down to understanding how to call the driver subroutine.
The software driver diskette includes DOS and Windows versions of the Pamux driver. The DOS version
is called PDRIVER.OBJ or PDRIVER.COM (choose the file type you need). The Windows version is the
dynamically linked library called Pamux.DLL.
The Pamux driver performs the following functions:
Converts the data returned by Pamux to a form that is easily manipulated in a high-level
language.
Carries out all necessary handshaking with the Pamux bus.
Transparently handles input masking on write operations for digital stations.
Performs error checking and returns diagnostic codes. This saves you time and effort that
would be spent becoming familiar with the intricacies of the Pamux bus structure.
To use the driver in your application program, you need to know the following:
How to call a subroutine from the language you chose for your application
How to tell the driver what Pamux command to send by assigning values to parameters
How to interpret the data passed back by the driver
This chapter explains everything you need to know to use the driver in a DOS or Windows environment.
If you are using Windows, you can skip the following section and proceed directly to page 88.

Table of Contents

Related product manuals