Text preview for : 62040G(DAS16_252C16F_252C16G).pdf part of Keithley 62040G(DAS16 252C16F 252C16G) Keithley DAS 62040G(DAS16_252C16F_252C16G).pdf



Back to : 62040G(DAS16_252C16F_252C | Home

DAS-16, DAS-16F, and DAS-16G
High Speed Analog I/O Boards
User's Manual




Keithley Instruments, Inc.
28775 Aurora Road
Cleveland, OH 44139

Technical Support: l-888-KEITHLEY
Monday Friday 8:00 a.m. to 5:00 p.m. (EST)
Fax: (440) 248-6168

Visit our website at http:Nwww.keithley.com
DAS-16, DAM 6F &
DAS46G
High Speed Analog I/O Boards
Part Number: 24840

Revision G: April 1993

Copyright 0 1987,1993


Keithley MetraByte
Keithley Data Acquisition,
A Division of Keithley Instruments
440 Myles Standish Boulevard
Taunton, Massachusetts 02780


I
WARNING
Keithley MetraByte assumes no liability for damages consequent to the use of this
roduct. This product is not designed with components of a level of reliability suitable
P use in life support or critical applications.
or




All rights reserved. No part of this ublication may be reproduced, stored in a retrieval
system, or transmitted, in any form &y any means, electronic, mechanical, hotoco
recordmg, or otherwise, without the express prior written permission of 2.eitbley iti%
Byte.
Information furnished .Jb Keithley MetraB te is believed to be accurate and reliable.
However, no responsib ity 1s assumed by 5. eithley MetraByte for its use; nor for any
infringements of atents or other rights of third parties which may result from its use. No
Ficese is grant aif by implication or otherwise under any patent rights of Keitbley Metra-
.

Keithley MetraByte" is a trademark of Keithley Instruments.
BASICm is a trademark of Dartmouth College.
IBM@ is a registered trademark of International Business Machines Corporation.
PC, XT, and AT8 are trademarks of International Business Machines Corporation.
TURBO r~ is a trademark of Borland International, Inc.
Microsoft@ is a registered trademark of Microsoft Corporation.
(This page intentionally left blank.)




iv
TABLEOF CONTENTS

CHAPTER 1
INTRODUCTION
1.1 GENERAL DESCRIPTION .......................................................................................
l-l
1.2 PROGRAMMING OVERVIEW.. .............................................................................. l-3
1.3 ORDERING INFORMATION.. ................................................................................ ;-j
1.4 HOW TO USE THIS MANUAL ...............................................................................
CHAPTER 2
INSTALLATION
2.1 UNPACKING AND INSPECI'ION ................................................................. ........ ;I;
2.2 MAKING A BACK-UP COPY OF THE DISKE'ITES .......... ............ .. ............... .
2.3 SWITCHES, JUMPERS, AND CONNECTORS ................................ ......................;z
2.3.1 Switches ....... .. .. .......... . ................................. .............. . ... ...... ..... ... . ....
2.3.2 Jum ers... ....... .... .......... .. .. . .. ........... ...... ................... ... ..... ........... .... 2-6
2.3.3 Ana o /Di ital I/O Connector ....................... ................ ................... ....... ..... g;i
24 BOARD &TAL&ATION ........ . . . . .. . .. . .... ..
2:5 SOFTWARE INST ALLATioN::::::::::::::::::::::::::::::~ ..................................... ....... 2-9
2.6 BEFORE YOU BEGIN PROGRAMMING ....................,...... ... . . ...... .. .. . . . .... 2-10
CHAPTER 3
INTRODUCTION TO THE MDAS16 DRIVER
3.1 THE MDAS16 DRIVER .............................................................................................. 3-1
3.1.1 The Ml6SETUP Propam ................................................................................. 3-3
3.1.2 Loadmg the DA!%1 Driver from DOS.. ........................................................ 3-3
3.1.3 Unloadm the DA!%16 Driver from DOS. 3-7
....................................................
3.2 ABOUT THE P6 P-UP MENU.. ................................................................................ 3-7
3.3.1 The Analo I/O Panel.. .................................................................................... 3-8
3.3.2 The Digita HI/O Panel.. .................................................................................... .3-12
3.3.3 The File Panel.. ....................... z:$
3.3 TOUR THROUGH THE POP-UP MENU ..........................................................................................................

CHAPTER 4
FILE I/O COMMANDS
4.1 USING THE FILE I/O COMMANDS IN BASIC ...................................................
4-1
4.2 USING THE FILE I/O COMMANDS IN QUICKBASIC.. ...................................
4-2
4.3 USING THE FILE I/O COMMANDS IN MICROSOFT C.. ................................ .4-2
4.4 USING THE FILE I/O COMMANDS IN TURBO C.. .......................................... .4-4
USING THE FILE I/O COMMANDS IN MICROSOFT PASCAL.. ....................4-5
E USING THE FILE I/O COMMANDS IN TURBO PASCAL.. ............................. .4-6
4:7 NOTES REGARDING POP-UP MENU SUPPORT.. .............................................4-6
4.8




v
4.81 File I/O Command Usage ....................... ................................... ....................47
4.8.2 File I/O Command Description Format .......... ..... ....................................... 48
4.8.3 File I/O Command Set...................................................... ....... .......................4-9
CHAPTER 5
PROGRAMMING THE DASl6/16F/16G VIA THE CALL MODES
5.1 PROGRAMMING IN BASICA ................................................................................ .5-l
5.1.1 Loading The Machine Language Call Routine DASG.BIN.. ......................5-l
5.1.2 Format Of The Call Statement ........................................................................ 5-4
5.1.3 Execution Times - Corn iled BASIC 5-6
5.2 PROGRAMMING IN Q~C~ASIC.........::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::5- 6
5.2.1 Loading The Program.. .5-6
.5-7
5.2.2 Declaring The Driver.. ........................................................................................................................
5.2.3 Declaring Variable Arrays.. ............................................................................ .5-7
5.2.4 Makin Executable Pro ams.. ...................................................................... .5-9
CALL MOD% DESCRIPTIO& ............................................................................... .5-12
USING MULTIPLE DAS-16s IN A SINGLE SYSTEM.. ....................................... .5-62

CHAPTER 6
LOW LEVEL PROGRAMMING
6.1 I/O ADDRESS MAP. ................................................................................................. 6-l
6.2 .6-3
A/D REGISTERS.. .....................................................................................................
6.3 MUX SCAN REGISTER.. .......................................................................................... .6-4
.6-4
DIGITAL I/O ............................................................................................................
2:: D/A OUTPUT REGISTERS.. .................................................................................... 6-5
STATUS REGISTER ................................................................................................... .6-6
2:; CONTROL REGISTER. ............................................................................................. .6-7
6.8 TIMER-COUNTER ENABLE REGISTER.. ............................................................. .6-8
6.9 PROGRAMMABLE GAIN REGISTER ................................................................... .6-9
6.10 8254 PROGRAMMABLE INTERVAL TIMER-COUNTER.. ............................... .6-10

CHAPTER 7
PROGRAMMABLE INTERVAL TIMER
7.1 THE COUNTER CONTROL REGISTE:I$,...,. ........................................... .. .......7-3
READING AND LOADING THE COUNTERS ................................ ............. ........7-6
is:: USING THE TIMER-COUNTER ENABLE REGISTER IN CONJUNCTION WITH
THE COUNTERS .. ........ ........................................................................... ...... .............7-10
7.4 GENERATING FREQI". 1n.1 1.m OF PROGRAMMED FREQUENCY........ ,...7-10
MEASUNNG SQUARE WAVES ..---?.- - __
7.5 JBNLY ANIJ I'bl GENERATING TIME DELAYS.. ............................................................................. .7-12
t: TRIGGERING THE A/D PERK `DICALLY.. ......................................................... .7-13
7:8 GENERATING INTERRUPTS WITH THE COUNTER/TIME] c.. ......................7-14




vi
CHAPTER 8
D/A CONVERTERS
8.1 .8-2
PROGRAMMING.. ....................................................................................................
8.2 USED WITH AN AC REFERENCE (DIGITAL ATTENUATOR). .......................8-3
8.3 ARBITRARY WAVEFORM OUTPUT.. .................................................................. .8-4

CHAPTER 9
APPLICATIONS
CONNECTING ANALOG A/D INP~~ECl'~~Y ............. ............... ......... 9-1
t: SELECTING INPUT CHANNEL R ............... .. ................ ..... 9-4
9:3 D/A CONVERTER CONNECTIONS ............................................. .. ...................... 9-5
9.4 MEASURING CURRENT AND 420 MA CURRENT LOOPS .......... ..................9-5
THE D/A VOLTAGE REFEIRENCE.. ......................................................................9-6
E USING EXP-16 TO ADD MORE ANALOG INPUT? 3.. ........................................ .9-6
INTERFACE TO TRANSDUCERS, THEI UvlOCOUI'LES, ETC.. .........................9-7
Z:Z
9.9
PRECAUTIONS: NOISE, GROUND LOOPS, ANI 1 OVERLOADS.. .................9-7
USING THE DAS16Gl AT HIGH GAINS ......................................... .. ..................9-8
CHAPTER 10
MAINTENANCE AND REPAIR
10.1 .10-l
GENERAL.. ................................................................................................................
10.2 CALIBRATION AND TEST.. .................................................................................. .10-l
10.3 CALIBRATING THE A/D.. .................................................................................... .lO-3
10.4 CALIBRATING THE D/As.. ................................................................................... 10-4
10.5 PROGRAMMABLE TIMER AND DIGITAL I/O.. .............................................. .lO-4
10.6 USER SERVICEABLE PARTS.. ............................................................................... .lO-4
CHAPTER 11 - INSTRUCTIONS FOR RETURNS.. ........................................................
11-l
AI'PENDLX A - SPECIFICATIONS
AI'I'ENDLX B - FILE I/O COMMANDS ERROR MESSAGES
API'ENDLX C - CALL MODE ERROR MESSAGES
APPENDIX D - DMA
Ai'PENDIX E - STORAGE OF INTEGER VARIABLES
APPENDIX F - LINEARIZATION




vii
(This page intentionally left blank)




VIII
LIST OF TABLES

Table l-l. Orderin l-5
........................................................................
Table 2-l. DAS-16 .2-3
.......................................................................
Table 2-2. IBM PC .2-5
ap.. ............................................................................
Table 2-3. DAS-16/16F Gain Switch Positions.. ............................................................. .2-6
Table .5-12
5-l. Call Modes.. .......................................................................................................
Table 6-1. I/O Address Map.. ........................................................................................... .6-2
Table 7-l. Programmable Interval Counter Registration Locations.. ......................... .7-3
Table 8-l. I/O Address Map.. ........................................................................................... .8-2
Table 10-l. D/A Recommended Calibration Values.. ................................................... 10-4
Table 10-2. Troubleshooting Guide.. ................................................................................ 10-5
L/ST OF FIGURES

DAS-16F Functional Block Diagram.. .................................... l-l
l-2
Diagram.. ..........................................................




ix
(This page intentionally left blank)




X
DAS-16, DAS16F. & DAS16G User's Manual Introduction




CHAPTER I
INTRODUCTION



1.1 GENERAL DESCRIPTION
The Model DAS-16, DAS-16F, and DAS-16G (hereinafter referred to as DAS-16) are multi-
function, high-speed, programmable, A/D (and D/A) I/O expansion boards for the IBM
Personal Computer. They are full length boards that install internally in an expansion slot
of an IBM PC/XT/AT and compatibles to turn the computer into a fast, high-pm&ion data
acquisition and signal analysis lnstnunent. DAS-16 boards are of multilayer construction
with integral ground plane to minimiie noise and crosstalk at high frequencies. The DAS
16G includes an additional register at an I/O address location for setting the gain. Block
diagrams of the three boards are shown in Figures 1-l and l-2.




Figure l-l. DAS-16 and DAS-16F Functional Block Diagram


l-l
Introduction DAS-16. DAS-16F. & DAS-16G User's Manual




Figure 1-2. DAS-16G Functional Block Diagram

One feature of the DAS-16 is the availability of two channels of multiplying 12-bit D/A out-
put. The DACs may use a fixed -5V reference available from on-board for a 0 to +5V output
range. Alternatively, an external AC or DC reference may be used to give different output
ranges or programmable attenuator action on an AC signal. D/A's are double-buffered to
provide instantaneous single-step updates.

Digital I/O consists of four bits of `ITL/DTL-compatible digital output and four bits of digi-
tal input. Apart from being addressed as individual I/O ports, some of the dlgltal inputs do
double duty in some modes as A/D trigger and counter gate control inputs.




l-2
DAS-16. DAS-16F. & DAS-16G User's Manual Introduction



Additional features include:

. Switch selectable Channel Input Configuration, High Impedance Ranges, Base I/O
Address, and DMA Level.

. A/D conversions can be triggered by any of the following: software command, inter-
nal programmable-interval timer, or direct external trigger to the A/D. Once the A/D
conversion has been completed, data transfers are accomplished via program transfer,
interrupt, or DMA.

. A 3channel programmable interval timer (Intel 8254) provides trigger pulses for the
A/D at any rate from 250 KHz down to 8 pulses/hr. Two channels are operated in
fixed divider configuration from an internal crystal clock The third channel is uncom-
mitted and provides a gated 16-bit binary counter that can be used for event or pulse
counting, delayed triggering, and in conjunction with the other channels for frequency
and period measurement.

. A -5V (+ 0.05V) precision reference voltage output is derived from the ADC reference.
Typical applications are providing a DC reference input for the DACs and providing
offsets and bridge excitation to user-supplied input circuits.


1.2 PROGRAMMING OVERVIEW
The DAS-16 can be programmed using any of four options:

. Pop-Up Menu
. File I/O Commands
. Call Modes
. Low-level Direct Register I/O

The Pop-Up Menu is a small application proflam which allows you to directly control the
operation of the DAS16 without writing a single lime of code. It allows you to configure the
DAS-16 to perform an Analog or Digital operation and to store the resultant data in a disk
file. It consists of three "panels" which are manipulated through the use of a Mouse or the
PC's keyboard. The Pop-Up Menu provides a quick way to test your DAS-16 as well as
being useful for debugging/monitoring your programs written using the Fiie I/O Com-
mand Interface. The Pop-Up Menu is described in detail in Chapter 3.




l-3
Introduction DAS16, DAS16F. & DAS-16G User's Manual



Programmers familiar with using File I/O (Opening files and transferring data between the
program and files) and desiring some degree of flexibility may prefer the File I/O Com-
mand Interface. Programming can be as simple as writing strings to a flle opened for out-
put or reading strings from a flle opened for input. The File I/O Commands are
"English-Language"-Eke, programming language-independent, commands. These
commands perform most of the same tasks as the Mode Calls. In addition, this interface
supports transparent memory allocation of large DMA buffers and allows you to save col-
lected the data to a file in Binary or ASCII format. The File I/O Command Interface is
described ln Chapter 4.

The Call Mode Interface is designed to be used from Interpreted BASIC, Compiled BASIC
or QUICKBASIC. The Mode calls are a collection of functions called MODES which are
accessed from your BASIC program through a common CALL statement. The Call Modes
allow a great deal of flexibility and allow background data acquisition to take place. The
Call Modes are described in Chapter 5. Optionally available is the PCE16G package. This
provides mode call support for programs written in Pascal, C, and FORTRAN.

The last method, Low-Level Direct Register I/O, should be used only if you have a high-
level of programming expertise and understanding of your PC's architecture, the PC's
Peripheral Controllers (the 8259 Interrupt Controller, the 8257 DMA Controller, etc.) and the
DAS-16 hardware. This method can be used from most languages. However, because
BASIC has no interrupt or DMA processing functions, background data acquisition tasks
cannot be performed from BASIC programs. Register Maps and other details needed for
Low-Level Programming are provided in Chapters 6 through 8.


1.3 ORDERING INFORMATION
Table l-1 lists and describes part numbers for the DAS-16 boards and their accessories.




l-4
DAS-16. DAS-16F. & DAS-16G User's Manual Introduction



Table l-l. Ordering Infonnafion
Part Number Description
IAS- Includes the DAS-16, a 16-channe1, high speed A/D inter-
face with DMA,(70,000 samples/set. max.) as well as soft-
ware (on 5 l/4" disks) and appropriate documentation.

>AS-16F Includes the DAS-16F, a 16-channe1, high speed A/D inter-
face with DMA,(lOO,OOOsamples/set. max.) as well as soft-
ware (on 5 l/4" disks) and appropriate documentation.

IAS-16Gl Includes the DAS-16G1, a 16-channe1, high speed A/D
interface with software selectable input gains (1, 10,100,
and 500), software (on 5 l/4" disks), and appropriate docu-
mentation.

3AS-16G2 Includes the DAS16G2, a lCchanne1, high speed A/D
interface with software selectable input gains (1,2,4, and 8),
software (on 5 l/4" disks), and appropriate documentation.

STA-16 Screw Terminal Adapter Board. Can be used with the
DAS-16.

C-1800 Cable to connect DAS-16 to a STA-16.

PCF-16G Pascal, C, and FORTRAN support for all models. This
package includes a fully commented assembly language
source listing.

YTREAMER Menu-driven Data Acquisition package which allows data
to be written to a hard disk at up to 100 Khz.

LABTECH NOTEBOOK Menu-driven data acquisition and analysis from Laboratory
Technologies Corporation.




l-5
Introduction DAS-16. DAS-16F. & DAS16G User's Manual



Table l-l. Ordering information

Part Number Description
ASYST 1,2,3,4 Programmable data acquisition and analysis .

UNKEISCOPE Menu-driven data acquisition and analysis from Unkel Soft-
ware Inc. (Copyright MIT).

SNAPSHOT STORAGE Menu-driven data acquisition and analysis from H.E.M.
SCOPE Data Corporation.

VIEWDAC Data acquisition, analysis, and graphical display sofiware.

EASYEST LX Menudriven data acquisition, analysis, and graphical dll-
play software.

TTOOLS Utilities for the Turbo-PASCAL programmer by Quinn-
Curtiss Software.

1.4 HOW TO USE THISMANUAL
Thii manual provides you with the information necessary to install and program the
DAS-16. It assumes you are familiar with your personal computer, DOS, and have some
programming experience. In addition to thls manual, you may also need:

. The documentation for your computer
. A language reference manual, if you intend to program custom
applications for the DAS-16

The remainder of this manual is as follows:

Chapter 2, "Installation", provides hardware installation instructions. It describes the
switches, jumpers, and connectors. It also describes how to install the DAS-16.

Chapter 3, "Introduction to the MDA96 Driver", describes the MDA%16 driver. It includes
directions for installing the driver and describes the Pop-Up Menu.

Chapter 4, "File I/O Commands" provides a detailed description of each File I/O Com-
mand. It also describes how to invoke those commands from programs written in each of
the supported languages: BASIC, QuickBASIC, Microsoft C, Turbo C, Microsoft PASCAL,
and Turbo PASCAL.


1-6
DAS-16, DAS-16F, & DAS16G User's Manual Introduction



Chapter 5, "Programming the DAS-16 via the Call Modes" describes how to use the Call
Modes from programs written in BASIC and QuickBASIC. It also provides a detailed
description of each call mode.

Chapter 6, "Low Level Programming" describes the registers on the DAS-16 and how they
are used to program the DAS16.

Chapter 7, "Programmable Interval Tier" provides details of the 8254 Programmable Inter-
val Timer.

Chapter 8, "D/A Converters" describes the programming and use of the DAS-16's D/A con-
verters.

Chapter 9, "Applications" describes different applications for the DAS-16.

Chapter 10, "Maintenance and Repair" gives calibration and test procedures for the DAS-16.

Chapter 11, "Instructions for Returns" describe-a how to contact the factory should you
encounter a problem and/or need to return your DAS16.

The Appendices provides other useful information. Appendix A describes the DAS-16's
specifications. Appendix B lists the File I/O Command error messages. Appendix C lists
the Call Mode error messages. Appendix D describes DMA operation. Appendix E
explains how integers are stored. Appendix F provides detailed information about llneari-
zation.




l-7
Introduction DAS-16, DA.!%16F.& DA.%16G User's Manual




(Thii page intentionally left blank.)




l-8
DA.!?-16,DAS-16F. & DAS-16G User's Manual installation




CHAPTER 2
INSTALLATION



This chapter provides lnstructlons for the installing the DAS-16 in an IBM PC/XT/AT and
compatible models. The chapter begins with procedures for unpacking and inspection. It
then describes how to make a back-up copy of the Distribution Software. Descriptions of
the switches and jumpers, and procedures for lnstalllng the DAS16 are also given.


2. I UNPACKING AND INSPECTION
Confirm that each item on the packing list has been shipped. It ls a good idea to retain the
outer packing material in the event that the board must be returned to the factory for repair.

1. Then, if you haven't already done so, unpack the board down to its anti-static
packaging.

2. Hold the board ln one hand. Place the other hand tirmly on a metal portion of the sys-
tem chassis. This procedure eliminates static electrlclty build-up, preventing any possi-
ble damage to the board.

3. After allowing a moment for static electrlclty discharge, carefully unwrap the board
from the anti-static materlal.

4. Inspect the board for any possible shipping damage. If any sign of damage is detected,
return the board to the factory as described in Chapter 11.

You are now ready to install your DAS16. Set switches and jumpers as necessary. Consult
section 2.4 for more information. Then, install the board as described in section 2.5.
2.2 MAKING A BACK-UP COPY OF THEDISKETTES
Distribution software ls furnished on several 5.25': 360K floppy diskettes. It is also option-
ally available in 3.5" diskette format. Before installing the software, first create a back-up
copy of the provided diskettes. Follow the general procedure outlined below:

1. Turn on your computer and display.

2. Switch to the directory containing your DISKCOPY.EXE DOS utility.


2-1
Installation DASi6, DAS16F. & DAS16G User's Manual



3. At the DOS prompt, type:

DISKCOPY {eOurCe &iVe deSigCatOr:): (Copy drive deb.gnatOr]:

4. The system will prompt you through the disk copying process. Insert the source dls-
kette into the speclfled drive. Then, it will ask you to insert the target disk into the
other drive. This is a blank, formatted disk which is to be your back-up disk When
the copying process has been completed, the computer will ask Copy another
(Y/N) ?. EnterN.

5. When your copy has been completed, put the original disk is a safe place. Label the
back-up copy. Use thls disk to install the software.


a? If for any reason the provided software is unusable, contact the factory for a new
copy. See chapter 11.

2.3 SWITCHES,
JUMPERS,
AND CONNECTORS
The DA!%16 has several switches and jumpers which must be configured prior to use. This
section describes the switches and jumpers on the board. It also provides a description of
the Analog and Digital I/O connector. Figures 2-1 and 2-2 show the location of each switch,
jumper, and connector for DAS-16.




Figure 2-1. DAS-16/16F Switch and Jumper Locations



2-2
DAS-16. DAS-16F. & DAS16G User's Monuol Installation




Figure 2-2. DAS-16G Switch and Jumper Locations

Descriptions of the switches and respective functions are described in the following sec-
tions. Table 2-l lists the factory default configuration.

Table 2-l. DAS-16 Default Configuration
Switch/Jumper Default
Base Address 300H
DMA Channel 3
A/D Mode 16Channel Single-Ended
A/D Input Range +lOV
A/D Coding Straight Binary
Tier Source Clock 1MI-h.




2-3
Installation DAS16, DAS-16F. & DAS-16G User's Manual



2,3.1 Switches
DAS-16 must be configured for operation via several on-board switches, as follows:

. Wait State
. Base Address
. Channel/System ConSguration
. Unlpolar/Bipolar Modes
. DMA Level Select
. Gain (DAS-16/16F only)

Except for Base Address, none of these functions requires immediate attention. lf you need
additional help in setting the switches, there are two utility programs provided on the dis-
tribution diskettes which may help. These are the CONFIG and INSTALL programs.
They are described further in section 2.6

Base Address Switch




Figure 2-3. BaseAddress Switch


The DAS-16 ls factory-configured for a Base Address of 300 Hex (768 decimal). If this Base
Address is already occupied, you will need to change the Base Address switch setting. (Fig-
ure 2-3 shows the Base Address Switch.) It is essential that each peripheral device, such as a
DAS-16, be assigned a unique Base Address within the range of 200 to 3F0 (512 to 1008
Decimal) and that the address is on an 16-byte boundary. Use Table 2-2 as an aid to select-
ing an unoccupied Base Address.




24
DA.516. DAS-16F. & DAS-16G User's Manual lnstallotion



Table 2-2. IBM PC II0 Address h4ap
I Sex Range Usage iex Range Usage
200~ZOF Game/Control 31031F Prototype Card
210-21F Expansion Unit (XT) 32032F Hard Disk o(T)
238~23B Bus Mouse 37%37F Parallel Printer
23C-23F Alt. Bus Mouse 380-38F SDLC
278-27F Parallel Printer 3AO-3AF SDLC
2BO-2BF Alt. EGA 3B03BB MDA
2CO-2CF Alt. EGA 3BC-3BF Parallel Printer
2DO-2DF Alt. EGA 3co-3CF EGA
2EO-2E7 GPIBf AT) 3DO-3DF CGA
2E8-2EF Serial Port 4 3E8-3EF Serial Port 3
2F8-2FF Serial Port 2 3FO-3F7 Floppy Disk
300-30F Prototype Card 3F8-3FF Serial Port 1
--

Channel Configuration Swttch (System Configuration Swttch)
This slide switch is used to select whether 8 differential or 16 single-ended analog input
channels are to beused. On the DA!+16/16F, this switch is marked CHAN CONE. On the
DAS-16G, it is marked SYS CONEIG. On either switch, to select eight differential input
channels, move the switch to the right (towards the 8 designator). Likewise, to select 16
singleended analog input channels, move the switch to the left (towards the 16 designator).

DMA Level Switch
This slide switch selects the DMA level. This two-position slide switch selects the DMA as 1
or 3. Some early PC's utilize Channel 3 for their hard drives. If this is the case, you can not
choose DMA Channel 3 for your DAS-16. Run the program LEV3.EXE supplied with your
DAS16 software to determine if you can use DMA Channel 3. More information regarding
DMA is provided in Appendix B.




2-5
DASlb DAS-16F, & DAS-16G User's Manual



A/D Switch
Thii slide switch controls the input range. #en moved to the UN1 (unipolar) position,
inputs can be positive only (ranges are from zero to some positive full-scale voltage). When
moved to the BIP (bipolar) position, inputs can range from equal negative to positive full
scale Emits.

GAIN Switch (DAS- 16/16F Only)
This switch is a 5-position DIP switch and is found only on the DAS16/16F boards. The
five positions on the switch are marked A, B, C, D, and USER These are used to set the
range as shown in the Table 2-3.

Table 2-3. DA.516/16F Gain Switch Positions
A B C D USER UNIPOLAR BIPOLAR
OFF OFF OFF OFF OFF N/A + 1ov
ON OFF OFF OFF OFF o-1ov *5v
ON ON OFF OFF OFF o-5v f 2.5V
ON OFF ON OFF OFF o-2v *lV
ON OFF OFF ON OFF o-1v +. 0.5v
ON OFF OFF OFF ON User Set User Set

lf you need more help ln setting the Gain Switch, run the QBCALEXE, QBCALF.EXE, or
QBCALG.EXE calibration programs and then select the A/D Converter Calibration option.
Also, the range of gains can be extended by selecting and installing your own input resistor.
For more information concerning this, refer to section Chapter 9.
2.3.2 Jumpers
The DAS-16/16F has only one jumper block the TIMER jumper block The DAS16G has
two jumper blocks: the TIMER and WAIT STATE jumper blocks.

The TIMER Jumper
This jumper selects a timer input frequency of 1OMHz or 1MHz. For most applications,
1OMHz is more useful and will give a finer time interval resolution at higher conversion
rates.




2-6
DA.916. DAs16F. & DAS16G User's Manual installation



The WAITSTATE Jumper
This jumper, when set to ON, will cause the DAS16G to generate a 45On.swait state on I/O
accesses. This jumper will only need to be set to ON, if you have built your own computer
and know that the I/O read and write pulses will be less than 210x3 duration.

Generally, this jumper should be in the OFF position. Most computer manufacturers
include internal wait states on all I/O accesses to maintain compatibility with other stan-
dard peripherals.
2.3.3 Connectors
Analog and Digital I/O occurs through a 37-pin, Dtype connector that projects through the
computer case at the rear of the board. The mating connector for DAS-16 is a standard,
37-pin D-type female such as an lTI/Cannon #DC-37s for soldered connections. Insulation
displacement (flat cable) types are readily available (for example, Amp #745242-l). Other
manufacturers make equivalent parts. This connector and its signal conductor funaions are
described in Figure 24.




Figure 2-4. Main I/O Connector


2-7
installation DAS16, DAS16F. & DAS-16G User's Manual




u4 NOTE: Pi II thru 18 perform a double function depending on the setting of
the channel con@uration switch. In &channel differential configuration, these
pins provide the low inputs of Channels 0 - 7 corresponding to the high inputs
of these channels on Pins 30 - 37. In 16 channel single-ended configuration,
they provide additional channel high inputs for Channels 8-15.

2.4 BOARD INSTAUATION
Thii section provides general instructions for installing the DA!%16 Board. For more
detailed information regarding installation of peripheral boards, consult the documentation
provided with your computer.



!
WARNING



DO NOT ATTEMPT TO INSERT OR REMOVE ANY ADAPTER BOARD WITH THE
COMPUTER POWER ON! THIS COULD CAUSE DAMAGE TO YOUR COMPUTER!



To install the DAS-16 Board:

1. Turn the power to the PC and to all attached options OFF.

2. Unplug the power cords of all attached options from the electrical outlets. Make a note
of where all the cables and cords are attached to the rear of the system unit and discon-
nect.

3. Remove the cover of the PC. To do this, first remove the five cover mounting screws on
the rear panel of the computer. Then, slide the cover of the computer about 3/4 of the
way forward. Tilt the cover upwards to remove.

4. Choose an available option slot. Loosen and remove the screw at the top of the blank
adapter plate. Then slide the plate up and out to remove.

5. Hold the DAS-16 in one hand. With the a hand, touch any metallic part of the
PC/AT cabinet. This will safely discharge any static electricity which has built-up in
your body.


2-8
DAS-16, DAS-16F. & DAS16G User's Manual Installation



6. Set the switches and jumpers as described in section 2.3.

7. Align the gold edge connector with the edge socket and the back adapter place with the
adapter plate screw. Gently press the board downward into the socket. Re-install the
adapter plate screw.

8. Replace the computer's cover. Tilt the cover up and slide it onto the system's base,
making sure the front of the cover is under the rail along the front of the frame. Install
the mounting screws.

9. Plug in all cords and cables. Turn the power to the computer back on.
2.5 SOFTWARE INSTALLATloN
The DAS-16 software should be installed on your computer's hard drive. Installing the soft-
ware in this manner requires the use of the DOS COPY command. To install the software:

1. Turn on your PC and its display. You should see a prompt which indicates you are at
the DOS level.

2. The following instructions create a special directory for the DAS-16 Disk files and
assume this dirtiory is called DAS16. At the DOS prompt, change to the root direc-
tory (or other directory you want the directory to be branched off from), i.e. type:

cd \

3. Next, create the DAS-16 directory. Type:

*dir \DAS~~OR md \D~s16

Change to the DA!+16 directory by typing:

cd \DAS16

NOTE: You may also want to create separate directories branched from the
main DAS-16 directory for the Call Mode software and the Pop-Up/File I/O
Command software.




2-9
Installation DAS16, DAS-16F. & DAS-16G User's Manual



4. Place each DAS-16 Disk into the floppy drive (assume this ls drive a:) and type:

copy a:*.*




Once you have successfully installed the software you will be ready to run the CON-
FIGldEXE or IFJSTALLEXE programs.
2.6 BEFOREYOU BEGIN PROGRAMMING
If you have changed any of the jumper or DIP switch settings, before you begin program-
ming, you must run one of two utility programs. These programs can also be run if you
have trouble setting the switches or jumpers. The program that you choose is dependent on
the programming interface selected. If you are going to program the DAS-16 via the
Pop-Up and/or the File I/O Command set, be sure run the CONFIGIG program. This pro-
gram generates a file containing all of your DIP switch and jumper configurations which is
read in by the MDAS16 driver. (Thii is further described in Chapter 3.) Note that the
configuration file created by the CONFIG utility is in binary format and therefore not
readable or suitable for editing using standard text editors. All changes to these files must
occur using this utility.

You should run the INSTALL program if you intend to program the DAS16 via the CALL
Mode Interface or Low-Level Programming techniques. This program generates the
DASl6.ADR file which is read in by some of the BASIC example programs. (See Chapter 5
for more information.)

The remainder of this section describes these two programs. It assumes that you have
already transferred the software to your hard disk
CONFlG 16.EXE
If necessary, switch to the appropriate dllectory. Then, to run the CONFIGl6 program, at
the DOS prompt type:

CONFIG filename


Where:

filename specifies the file to which the configuration parameters are to be saved. This can
be any valid DOS filename and may include a DOS Drive and path specification where nec-
essary.Forexample: CONETG16 C:\DAS16\DASlbG2.CFG



2-10
DA.