
Manual Number: 00650-004-5
Page 4-2
ADIO1600 Manual
Also, to support sub-multiplexers such as the AT16-P or LVDT8-P, a second driver module known
as a Multiplexer Driver Module, or MDM, is provided with the sub-multiplexer card. Routines in
the MDM are specific to the nature of the sub-multiplexer supported, but a common functionality
is transparently supported by all MDMs. This allows the simplest application of a sub-multiplexer
(multiplexing A/D channels to provide additional channels) to be written identically regardless of
the sub-multiplexer in use.
Together, these two driver module types, CDM and MDM, provide simple and portable access to
both the A/D cards and the attached sub-multiplexers. This section of the manual gives detailed
information about the CDMs provided and the ADIO1600 CDM.
NOTE:
For most programs, no knowledge of the MDM specification is required. If the only data you
intend to acquire is from the ADIO1600, using the ADIO1600 CDM exclusively will reduce the
learning curve even further. You need to use the MDM only for the most advanced features or
for speed-critical algorithms.
Card Driver Modules (CDM)
Each Card Driver Module provides routines to access a specific A/D card type. All of the CDMs
provide the same functionality, eliminating most card-specific software design issues. These driv-
ers are provided in the form of .OBJ object files that can be linked to any language that supports the
Pascal calling convention (QuickBASIC, VisualBASIC, C, C
++
, Fortran, Assembler, and Pascal,
just to name a few). Each object file is named the same as the A/D card six-character part number,
making it easy to locate the driver to be used.
These CDMs allow a given application to be written for a multitude of A/D cards without chang-
ing a single line of code. To switch from one A/D to another, simply re-link the application with the
new CDMs .OBJ file. This driver system is also upgradeable and allows various expansion op-
tions to be attached to the CDM files, such as sub-multiplexer cards, statistical analysis libraries, or
dynamic load drivers. Also, the specification for the CDM is available and allows you to write
CDM files for third-party A/D cards. This greatly simplifies mixed-vendor programming support.
Card Driver Modules provide the following functions:
unsigned integer
AD_NAME():
Returns a number that represents the name of the A/D card that the specific
Card Driver Module (CDM) supports.
unsigned integer
MAXCH():
Returns a number that indicates the maximum number of channels available.
The ADIO1600 CDM returns 16.
Содержание ADIO1600 Series
Страница 1: ...ADIO1600 Series Product Manual MANUAL NUMBER 00650 004 5D ...
Страница 4: ...Page iv This page intentionally left blank ...
Страница 8: ...Page viii This page intentionally left blank ...
Страница 17: ...Manual Number 00650 004 5 Page 2 4 ADIO1600 Manual Figure 2 1 ADIO1600 Block Diagram ...