Text preview for : 85790A(DAS800).pdf part of Keithley 85790A(DAS800) Keithley DAS 85790A(DAS800).pdf



Back to : 85790A(DAS800).pdf | Home

cover.frm Black I




DAS-800 Series
User's Guide
titlepgfrm Black 1




DAS-800 Series
User's Guide




Revision A - December 1993
Part Number: 85790
noticep.frm Black I
+b

The information contained in this manual is believed to be accurateand reliable. However, the
manufacturer assumes responsibility for its use; nor for any infringements or patents or other rights
no
of third parties that may result from its use. No license is granted by implication or otherwise under any
patent rights of the manufacturer.

THE MANUFACTURER SHALL NOT BE LIABLE FOR ANY SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES RELATED TO THE USE OF THIS PRODUCT. THIS PRODUCT
IS NOT DESIGNED WITH COMPONENTS OF A LEVEL OF RELIABILITY THAT IS SUITED
FOR USE IN LIFE SUPPORTOR CRITICAL APPLICATIONS.

All brand and product namesare trademarksor registeredtrademarksof their respectivecompanies,

0 Copyright Keithley Instruments,Inc., 1993.

All rights reserved.Reproduction or adaptationof any part of this documentationbeyond that permitted
by Section 117 of the 1976 United StatesCopyright Act without permission of the Copyright owner is
unlawful.
800ug.toc Black iii
+b

Table of Contents
Preface


1 Overview
Supporting Software . . . . . . . . . . . . . ........ . . . . l-2
Accessories ........ . . . . 1-4

2 Functional Description
Analog Input Features .............. ....... . ...2-2
Channel Configuration ........... ....... . ...2-3
Input Configuration ........... ....... . ...2-3
Gains and Ranges. ............ ....... . . . .2-4
Channel Selection ............ ....... . ...2-5
Channel Expansion ........... ....... . ...2-6
Conversion Clock Sources ........ ....... . ...2-8
Triggers. ...................... ....... . ..2-12
Gates ......................... ....... . ..2-14
Data Transfer. .................. ....... . ..2-16
Digital I/O Features ................ ....... . ..2-17
8254 Counternimer Circuity ........ ....... . ..2-17
Interrupts ........................ ....... . ..2-25
Power ........................... ....... . ..2-26


3 Setup and Installation
Installing the Software. ............................... .3-4
Installing the DAS-800 Series Standard Software Package . .3-5
Installing the ASO- Software Package .............. .3-6
DOS Installation. ............................... .3-6
Windows Installation ............................ .3-7
Unpacking the Board. ................................ .3-8
Configuring the Board. ............................... .3-8
Creating a Configuration File. ....................... .3-9
Setting the Base Address........................... .3-13
Setting the Input Contiguration ...................... .3-16
Setting the Interrupt Level ......................... .3-17
Installing the Board ................................. .3-19


iii
800ug.toc Black iv




4 Cabling and Wiring
Attaching Accessory and Expansion Boards. .............. .4-l
Attaching an STC-37 Screw Terminal Connector ........ .4-3
Attaching an STA-08 / STA-OSPGAScrew Terminal
Accessory. ..................................... .4-4
Attaching an EXP-16 or EXP-16/A Expansion Board. .... .4-5
Attaching an EXP-GP Expansion Board ............... .4-6
Attaching an MB Series Backplane ................... .4-7
Connecting Multiple Expansion Boards. ............... .4-7
Connecting Signals .................................. .4-9
Connecting an Analog Input Signal to a Single-Ended Input. 4-9
Connecting an Analog Input Signal to a Differential Input .4-10
Connecting Digital Signals, ........................ .4-12
Connecting Counter/Timer I/O Signals ............... .4-12
Synchronizing Conversions on Multiple Boards ........ .4-13

5 The Control Panel


6 Calibration
Equipment Required ............................ .,6-l
Potentiometers ................................. .6-2
Calibration Utility .............................. .6-4

7 Troubleshooting
Problem Isolation ............................... .,7-l
Troubleshooting Table. .......................... . . l-2
Technical Support .............................. . l-4


A Specifications


B Connector Pin Assignments


c DAS-800 Series External Driver
Running the DAS-800 Series External Driver. . . . . . . .c-2
Accessing the DAS-800 SeriesExternal Driver .c-2
Special Characteristics.. . . . . . . . . . . . . .c-3
Pseudo-Digital Output: Extended Functions. . . . . . .c-3
Analog Triggers .C-6
Data Formats . . . . . . . . . . . . . .c-9
Using Expansion Board Gains . . . . .c-11

iv
800ug.toc Black v




Software Interrupt Vectors ...................... .c-12
Counter/Iimer Functions ....................... .c-12
Error Messages.................................. .c-13

II Keithley Memory Manager
Installing and Setting Up the KMM. ................. . D-2
Using KMMSETUP.EXE ....................... D-2
Using a Text Editor. ........................... . D-3
Removing the KMM ............................. D-4

Index


List of Figures
Figure 2-l. DAS-800 Series Functional Block Diagram . .2-2
Figure 2-2. Channel Expansion ................... . .2-l
Figure 2-3. Initiating Conversions ................. .2-10
Figure 2-4. Initiating Conversions with a Hardware
Trigger ............................. .2-13
Figure 2-5. Hardware Gate. ...................... .2-15
Figure 2-6. Pulse on Terminal Count Mode. ......... ,2-19
Figure 2-7. Programmable One-Shot Mode. ......... .2-20
Figure 2-8. Rate Generator Mode. ................. .2-21
Figure 2-9. Square-WaveGenerator Mode .......... .2-22
Figure 2- 10. Software-Triggered Strobe Mode ........ .2-23
Figure 2-l 1 Hardware-Triggered Strobe Mode. .......... .2-24
Figure 3-l. DAS-800 Board. ......................... .3-2
Figure 3-2. DAS-Sol/802 Board ...................... .3-3
Figure 3-3. Setting the Base Address. ................. .3-14
Figure 3-4. Setting the Input Configuration. ............ .3-17
Figure 3-5. Setting the Interrupt Level. ................ ,3-18
Figure 4-l. Main I/O Connector on a DAS-800 Board ..... .4-2
Figure 4-2. Main I/O Connector on a DAS-801 or
DAS-802 Board. ......................... .4-3
Figure 4-3. Attaching an STC-37 Screw Terminal
Connector. .............................. .4-4
Figure 4-4. Attaching an STA-08 / STA-OSPGA Screw
Terminal Accessory. ...................... .4-5
Figure 4-5. Attaching an EXP-16 or EXP-16/A Expansion
Board .................................. .4-6
Figure 4-6. Attaching an EXP-GP Expansion Board. ...... .4-7
Figure 4-7. Connecting Multiple Expansion Boards ....... .4-8
800ug.toc Black vi




Figure 4-8. Single-Ended Input , . ..... .... . . .4-10
Figure 4-9. Differential Input. . . . . . . ... . .4-l 1
Figure 4-10. Synchronizing Conversions on Multiple
Boards . .....,. .. . . . . . . . . . .4-13
Figure 4-l 1. Dividing the Rate of the Master Clock .4-14
Figure 6-l. Potentiometers (DAS-800) . . . . . . . . . .6-3
Figure 6-2. Potentiometers (DAS-801 / DAS-802) . .6-3
Figure B-l. Main I/O Connector (DAS-800) . . . . .B-2
Figure B-2. Main I/O Connector @AS-801 / DAS-802) . . .B-5
Figure C-l. Analog Trigger Conditions . . .C-7
Figure C-2. Using a Hysteresis Value. .,... .. .C-8
Figure C-3. Initiating Conversions with an Analog Trigger. . .C-9

List of Tables
Table 2-1. Supported Gains ......................... .2-4
Table 2-2. Sources for 8254 Documentation ........... .2-25
Table 2-3. Expansion Board / Backplane Power
Limitations ............................. .2-27
Table 3-1. Default Configuration .................... .3-10
Table 3-2. I/O Address Map (OOOH 3FFH) ..........
to .3-14
Table 3-3. Interrupt Levels ......................... .3-18
Table 7-1. Troubleshooting Information. ............... .7-2
Table A- 1. DAS-800, DAS-801, and DA.%802
Specifications. ........................... A- 1
Table B-l. Main I/O Connector Pm Assignments for the
DAS-SOO................................B- 3
Table B-2. Main I/O Connector Pin Assignments for the
DAS-801 /DAS-802 ...................... .B-6
Table C- 1. Pseudo-Digital Output Channels ............. .C-4
Table C-2. Interrupt Vectors ........................ .C-12
Table C-3. Error/Status Codes....................... .C-13




vi
preface.frm Black vii
f@




Preface
The DAM00 Series User's Guide provides the information needed to set
up, install, and use DAS-800 Series boards.

The manual is intended for data acquisition system designers, engineers,
technicians, scientists, and other users responsible for setting up, cabling,
and wiring signals to DA,%800 Series boards. It is assumedthat users are
familiar with data acquisition principles and with their particular
application.

The DAS-BOOSeries User's Guide is organized as follows:

Chapter 1 provides an overview of the features of DA%800 Series
boards, including a description of supported software and accessories.

Chapter 2 provides a more detailed description of the analog input,
digital I/O, and counter/timer I/O features of DAS-800 Series boards.

Chapter 3 describes how to unpack, configure, and install DAS-800
Series boards.

Chapter 4 describes how to attach accessory and expansion boards
and how to wire signals to DAS-800 Series boards.

Chapter 5 describes how to use the Control Panel to test the functions
of DAS-800 Series boards.

Chapter 6 describes how to calibrate DAS-800 Series boards.

Chapter 7 provides troubleshooting information.

Appendix A lists the specifications for DAS-800 Series boards.



vii
preface.frm Black viii




. Appendix B lists the connector pin assignments.

. Appendix C describes how to use the DAS-800 Series External
Driver. The DAS-800 Series External Driver allows you to use
DAS-800 Series boards with certain data acquisition and analysis
software packages.

. Appendix D describes the Keithley Memory Manager. The Keithley
Memory Manager allows you to allocate sufficient memory when
running under Windowsm.

An index completes this manual.

Throughout the manual, keep the following in mind:

. Referencesto DAS-800 Series boards apply to the DAS-800,
DAS-801, and DAS-802 boards. When a feature applies to a
particular board, that board's name is used.

. Referencesto Microsoft@ QuickBasic" apply to both Microsoft
QuickBASIC (Version 4.0) and Microsoft QuickBasic (Version 4.5).
chapOl_.frm Black 1




Overview
The DAS-800 Series is a family of analog input and digital input and
output (I/O) boards for an IBM@ PC/XTTM,AT' or compatible computer.
The DAS-80 Series includes the DAS-800, DAS-801, and DAS-802
boards, The major features of DAS-800 Series boards are as follows:

Eight analog input channels (single-ended on the DAS-800;
single-ended or differential on the DAS-801 and DAS-802).

Fixed f5 V analog input range for the DAS-800; nine unipolar and
bipolar, software-selectable analog input ranges for the DAS-801 and
DAS-802.

On-board 8254 counter/timer circuitry, which you can use as a
hardware internal clock source and/or for general-purpose
counter/timer I/O operations.

Software-selectable conversion clock source.

Digital trigger.

Hardware gate.

Four-word FIFO to store converted data: overrun detection logic to
detect lost dam points.

Software-selectable interrupt source.

Three bits of digital input.

. Four bits of digital output.




l-1
chapOl_.frm Black 2




Note: DAS-800 boards are enhancementsof DAS-8 boards; DAS-801
boards are enhancementsof DAS-8 PGA boards; DAS-802 boards are
enhancementsof DAS-8 PGA/G2 boards. You can use application
programs written to support the DAS-8 with the DAS-800, application
programs written to support the DAS-8 PGA with the DAS-801, and
application programs written to support the DAS-8 PGA/GZ with the
DAS-802.



Supporting Software

You can use DAS-800 Series boards with the following software:

DASJOO Series standard software package - Shipped with
DAS-800 Series boards. Includes function libraries for writing
application programs under DOS in a high-level language such as
Microsoft QuickBasic and Microsoft Visual BasicTM DOS, support
for
files, utility programs, and language-specific example programs.
Refer to the DAM00 Series Function Call Driver User's Guide for
more information.

ASO- software package - The optional Advanced Software
Option for DAS-800 Series boards. Includes function libraries for
writing application programs under Windows and DOS in a
high-level language such as Borland@C/C++, Borland Turbo Pascal@
for DOS and Windows, and Microsoft Visual Basic for Windows;
support files; utility programs; and language-specific example
programs. Refer to the DA&BOO Series Function Cull Driver User's
Guide for more information.

DA&800 Series utilities - The following utilities are provided as part
of both the DAS-800 Series standard software package and the
ASO- software package:

- Confgurarion urilify -The configuration utility (D800CFG.EXE)
allows you to create or modify a configuration tile. The
configuration tile indicates the settings of switches and jumpers
on the board and provides other configuration information. This
information is used by the DAS-800 Series Function Call Driver
and other software packages to perform the board's I/O

l-2 Overview
chapOl_.frm Black 3




operations. Refer to page 3-9 for more information about the
configuration utility.

- Control Panel -The Control Panel allows you to perform
operations on DAS-800 Series boards, without programming. It
provides a quick way to test your board and monitor your I/O
operation. Two versions of the Control Panel are available:
CTL800.EXE (for DOS) and CTLBOOW.EXE(for Windows).
Refer to Chapter 5 for more information about the Control Panel.

- Calibrafion uriliry - The calibration utility (CALSOO.EXE) allows
you to calibrate the analog input circuitry of DAS-800 Series
boards. Refer to Chapter 6 for more information about the
calibration utility.

. DAM300 Series custom controls - Help you to write application
programs in Visual Basic for Windows. Refer to the VisualDAS
Custom Controls User's Guide for more information.

. Data acquisition and analysis application software - Many
menu-driven, integrated software packages are available for
DAS-800 Series boards, including VIEWDAC?, EASYEST LXa',
and EASYEST AGW. In addition, programming tools, such as the
ASYST@ scientific and engineering programming language, are
available to help you customize your own application program.

Note: If you use VIBWDAC!, EASYEST LX / AG, or ASYST to
program your DAS-800 Series board, you must use the DA&800
Series External Driver, which is shipped as part of the DAS-800
Series standard software package. Refer to Appendix C for
information on using the DAS-800 Series External Driver.

. DAS-800 Series register I/O map - If you cannot satisfy your
application's requirements with the available software packages and
you are an experienced programmer, you may be able to program
your DAS-800 Series board through direct register I/O instructions.
Contact the factory for more information.




I-3
chapOl_.frm Black 4




Accessories

The following accessoriesare available for use with DAS-800 Series
boards:

. STC-37 screw terminal connector - For all DAS-800 Series boards,
provides 37 screw terminals that allow you to accessthe functions of
the board; connects directly to the DAS-800 Series board without a
cable.

l STA-08 screw terminal accessory - For the DAS-800 board only,
provides screw terminals that allow you to accessthe functions of the
board; provides a breadboard area with power and additional screw
terminals to accessthe user-designed circuitry.

. STA-08PGA screw terminal accessory - For the DAS-801 and
DAS-802 boards only, provides screw terminals that allow you to
accessthe functions of the board; provides a breadboard area with
power and additional screw terminals to accessthe user-designed
circuitry.

. EXP-16 and EXP-16/A expansion boards - Sixteen-channel
multiplexer and signal-conditioning expansion boards; provide cold
junction compensation (CJC) for thermocouples and
switch-selectable gains ranging from 0.5 to 2000.

. EXP-GP expansion board - An 8-channel signal-conditioning
expansion board; connects to RTDs, thermistors, strain gages, and
other variable resistance sensors;provides CJC for thermocouples
and switch-selectable gains of 1, 10, 100, and 1000 or 2.5.25.250,
and 2500.

. MB Series modules and backplanes - MB Series modules are
high-performance, signal-conditioning modules that measure
thermocouple, RTD, strain gage, voltage, and current inputs and are
installed in MB Series backplanes. MB Series backplanes provide
screw terminals for connecting the high-level analog I/O signals.




1-4 Overview
chapOl_.frm Black 5




. STA-SCM8 screw terminal accessory - Allows you to connect a
DAS-800 Series board to up to four MB-02 backplanes; provides
screw terminals that allow you to accessthe functions of the board;
provides a breadboard area with power for the user-designedcircuitry.

. C-1800 cable -Unshielded, la-inch cable with a 37-pin connector on
each end: allows you to connect a DAS-800 Series board to an
STA-08, STA-08PGA, EXP-16, EXP-16/A, or EXP-GP.

. S-1800 cable - Shielded, la-inch cable with a 37-pin connector on
each end; allows you to connect a DAS-800 Series board to an
STA-08, STA-OBPGA,EXP-16, EXP-16/A, or EXP-GP.

. CB-MB1 cable - Cable with a 37-pin connector on one end and a
26-pin-connector on the other end; allows you to connect a DAS-800
Series board to an MB-01 or MB-02 backplane.

. C-2600 cable - An la-inch cable with a26-pin connector at each end;
allows you to connect an STA-SCM8 screw terminal accessoryto an
MB-02 backplane.




l-5
chapOl_.frm Black 6
chap02Lfrm Black 1 4


2
Functional Description
This chapter describes the following features of DAS-800 Series boards:

. Analog input features

. Digital I/O features

. Counter/timer I/O features

l Interrupts

. Power
4 A functional block diagram of a DAS-800 Series board is shown in
4
Figure 2- 1.




2-l
chap02-.frm Black 2
4




4 4


Figure 2-1. DAS-800 Series Functional Block Diagram




Analog Input Features

DAS-800 Series boards use a 12-bit, successiveapproximation
analog-to-digital converter (ADC) with integral sample and hold. The
ADC provides 1Zbit resolution fl least significant bit (LSB), providing
an effective accuracy of 11 bits. The ADC converts one sample every
25 ks, providing a maximum conversion frequency of 40 kHz.


2-2 Functional Description




4
chap02-.frm Black 3




Channel Configuration
DAS-800 Series boards contain eight on-board analog input channels.
The following subsectionsdescribe the input configurations supported for
each channel, the gains and input ranges supported for each channel, and
the methods of specifying a channel or channels for an analog input
operation.



On the DA%801 and DAS-802, you can configure each channel as either
single-ended or differential. The differences between a single-ended and a
differential input configuration are described as follows:

. Single-ended - A single-ended input configuration is appropriate if
you are measuring relatively high-level signals (greater than 1 V), if
the source of the input signal is close to the board (less than two feet),
or if all input signals are referred to a common ground. This
configuration does not provide common-mode noise rejection.

. Differential - A differential input configuration is appropriate if you
4 are measuring low-level signals, if high source resistances(greater
than 100 D) exist, or if common-mode voltages exist between the
4
voltage source and the host's chassisground. In a differential
configuration, a separatepositive and negative terminal is provided
for each channel. Any common-mode noise that is picked up equally
on both inputs is rejected becausethe difference is zero.

You specify the input configuration by setting switches on the board. The
switches connect or disconnect the inverting side of the input signal to
low-level ground. Refer to page 3-16 for information on setting the
switches.


Notes: On the DAS-800, the channels are always configured as
single-ended; ah signals are referred to a single low-level ground.

If you are using BXP-16, EXP-16/A, or EXP-GP expansion boards or
MB-02 backplanes, you must configure the on-board analog input
channels associatedwith the expansion boards or backplanes as
single-ended.


2-3




4
chap02Lfrm Black 4
4

Gains and Ranges
A DAS-800 board measuresanalog input signals in the range of f5 V.

Each DAS-801 or DAS-802 board contains a programmable gain
amplifier (EGA), which allows you to measure analog input signals in one
of several software-selectable unipolar and bipolar ranges. For each
channel on a DAS-801 or DAS-802 board, you can specify one of five
bipolar and four unipolar analog input ranges.

Table 2-1 lists the gains supported by DAS-800 Series boards and the
analog input voltage range for each gain.


Table 2-l. Supported Gains




4




2-4 Functional Description




4
chap02-.frm Black 5
4

Note: Analog input channels on DAS-800 Series boards are provided
with protection against signals outside the specified analog input range.
All DAS-800 Series boards can tolerate voltages up to f35 V and
transients of several hundred volts without damaging the board.

When measuring signals at differential inputs, DAS-801 and DAS-802
boards can tolerate common-mode voltages up to f35 V and transients of
several hundred volts without damaging the board; however, for normal
operation of the board, make sure that the common-mode voltage is no
more than 12 V - ((C / 2) x V,), where G is tbe gain and V, is the
differential input voltage.


Channel Selection
You can use DAS-800 Series boards to acquire data from a single analog
input channel or from a range of contiguous, on-board analog input
channels using automatic channel scanning. These two methods of
channel selection are described as follows:

4 . Single channel - You use software to specify a single channel and
initiate a conversion. 4
. Automatic channel scanning - You use software to specify the first
and last channels in a range of contiguous, on-board channels (0 to 7).
The channels are sampled in order from first to last; the hardware
automatically increments the analog input multiplexer addressshortly
after the start of each conversion. When the last address is reached,
the multiplexer returns to the start addressand the channels are
sampled again. For example, assumethat the start channel is 4, the
stop channel is 7, and you want to acquire five samples.Your
program reads data first from channel 4, then from channels 5, 6, and
7, and finally from channel 4 again.

The start channel can be higher than the stop channel. For example,
assumethat the start channel is 7, the stop channel is 2, and you want
to acquire five samples.Your program reads data first from channel 7,
then from channels 0, 1, and 2, and finally from channel 7 again.

When using automatic channel scanning, all contiguous, on-board
channels must have the samegain (analog input range).


2-5




4
chap02Lfrm Black 6
fb

Note: If you want to acquire data from a range of multiple channels
that includes channels on expansion boards or MB Series backplanes,
you can create a group of consecutive channels through software. tn
addition, if your application requires non-consecutive channels or
different gains for each channel, you can create a channel-gain list
through software. The DAS-800 Series Function Call Driver provides
functions for creating a group of consecutive channels or
channel-gain list; refer to the DAM00 Series Function Call Driver
User's Guide for more information. The Control Panel also allows
you to set up a group of consecutive channels or channel-gain list;
refer to Chapter 5 for more information. You can also set up a group
of consecutive channels or channel-gain list using DAS-800 Series
custom controls; refer to the VisualDAS Custom Controls User's
Guide for more information.

Automatic channel scanning is a hardware feature. The functions
used to create a group of consecutive channels or a channel-gain list
emulate automatic channel scanning through software. Therefore, the
maximum attainable conversion frequency is reduced when using a
group of consecutive channels or a channel-gain list.


Channel Expansion
If you require additional analog input channels or signal conditioning for
transducer inputs, you can use any combination of up to eight 16-channel
EXP-16 expansion boards, eight 16-channelEXP-16/A expansion boards,
and/or eight X-channelEXP-GP expansion boards to increase the number
of available channels to 128. You can also use up to four MB-02
backplanes to increase the number of available channels to 68.

For the EXP-16, EXP-16/A. and EXP-GP, you attach the expansion
boards in a daisy-chain configuration using the S-1800 or C-1800 cable.
The first expansion board in the daisy chain is associatedwith on-board
channel 0, the next expansion board is associatedwith on-board channel
1, and so on. You specify the associatedon-board channel by setting a
jumper on each expansion board. You can accessany unused on-board
channels by attaching an STA-08 or STA-OBPGAscrew terminal
accessoryto the last expansion board in the daisy-chain configuration.




Z-6 Functional Description
chapOZ.frm Black 7
fb

Figure 2-2 illustrates a daisy-chain configuration of two EXP-16
expansion boards, one EXP-GP expansion board, and an STA-08 screw
terminal accessoryconnected to a DAS-800 board.




Omboard On-board On-board On-board
channel 0 channel 1 channal2 chsnnsls 3 to 7
I I I I r I I I




D&3-600
Board
EXP.16 EXP-16 EXPQP STA.08


Figure 2-2. Channel Expansion




For information on attaching multiple MB-02 backplanes, refer to the ME
Series User's Guide.


Notes: You must specify a single-ended input configuration for all
on-board channels associatedwith channels on EXP-16, EXP-16/A. or
EXP-GP expansion boards or MB-02 backplanes.

If you are using EXP-16, EXP- 16/A, or EXP-GP expansion boards or MB
Series backplanes, the digital output lines of the DAS-800 Series board
select the particular channel on the expansion board or backplane to read.


Refer to the appropriate expansion board documentation for more
information about the EXP-16, EXP-16/A, and EXP-GP expansion
boards. Refer to the ME Series User's Guide for more information about
the MB-02 backplane.




2-7
chap02-.frm Black 8 4

Conversion Clock Sources
The conversion clock source determines when each analog-to-digital
(A/D) conversion is initiated. DAS-800 Series boards provide the
following software-selectable conversion clock sources:

. Software -When using a software conversion clock, the host
computer issues a command to initiate a conversion. The host polls
the board to determine if the conversion is complete. When the
conversion is complete, the host reads the data from the ADC and
returns the value. If the host reads data before the conversion is
complete, the data will be invalid.

Software-initiated conversions are suitable for measuring DC
voltages; however, in applications where you must accurately control
the sampling rate (as when measuring time-varying signals), it is
recommended that you use either an internal or an external hardware
conversion clock source.

At power-up or system reset, the board assumesthat conversions will
be initiated through software.
4 . Hardware (internal clock source) -The internal clock source uses 4
the on-board 8254 counter/timer circuitry and a crystal-controlled
I MHz time base.The 8254 counter/timer circuitry is normally in an
idle state.When you start an analog input operation, a conversion is
initiated immediately. The 8254 is loaded with its initial count value
and begins counting down. When the 8254 counts down to 0, another
conversion is initiated and the process repeats.

Becausethe 8254 counter/timer uses a 1 MHz time base,each count
represents 1 ps. For example, if you load a count of 25, the time
interval between conversions is 25 ps: if you load a count of 65536,
the time interval between conversions is 65.536 ms.




2-6 Functional Description



4
chap02Lfrm Black 9
+b

The 8254 contains three counter/timers: C/TO, Cnl, and C/r2. If you
are using a hardware internal clock source, the time base logic uses
C/T1 and C/r2 in either normal or cascadedmode, as follows:

- Normal Mode - A software-selectable count is loaded into C/r2
of the 8254 counter/timer circuitry. Each time C/r2 reaches
terminal count, a conversion is initiated. The time interval
between conversions ranges from 25 FLS 65.536 ms.
to

Cascaded Mode - A software-selectable count is divided between
C/r2 and C/r1 of the 8254 counter/timer circuitry. When CK2
counts down to 0, CR1 decrementsby 1. Cn2 is reloaded with
its count value and begins counting down again. Each time C/r2
counts down to 0, Cm1 decrementsby 1. Each time both C/r2
and CR1 reach terminal count, a conversion is initiated. The time
interval between conversions ranges from 25 ps to 1.2 hours.


Note: For compatibility with the DAS-8 board, on power-up or
system reset, the DA%800 board connects the clock input of C/r2 to
the CPU bus clock divided by two. If you specify a hardware internal
clock source through software, the DAS-800 board connects the clock
inputs of C/T1 and CD2 to the 1 MHz time base. The DAS-801 and
DAS-802 boards always connect the clock input of C/f2 to the
1 MHz time base.

Refer to page 2-17 for more information about the 8254 counter/timer
circuitry.

. Hardware (external clock source) - An external clock source is
useful if you want to sample at rates not available with the 8254
counter/timer circuitry, if you want to sample at uneven intervals, or if
you want to sample on the basis of an external event. An external
clock also allows you to synchronize conversions on multiple boards
to a common timing source.




2-9
chap02-.frm Black 10
fb

The external clock source is an externally applied TTL-compatible
signal, which you attach to the INT-IN / XCLK pin (pin 24) of the
main I/O connector. When you start an analog input operation,
conversions are armed. At the next falling edge of the external clock
soume (and at every subsequentfalling edge of the external clock
source), a conversion is initiated.

Note: If you are using a hardware external clock source, you cannot
use the INT-IN / XCLK pin (pin 24) to generate interrupts.

Figure 2-3 illustrates how conversions are initiated when using an internal
and an external clock source. (Note that Figure 2-3 assumesthat you are
not using a hardware trigger; refer to Figure 2-4 for an illustration of
conversions when using a hardware trigger.)




Figure 2-3. Initiating Conversions




2-l 0 Functional Description
chap02Lfrm Black 11




Notes: The ADC acquires data at a maximum of 40 kHz (one sample
every 25 ns). If you are using a hardware external clock, make sure that
the clock does not initiate conversions at a faster rate than the ADC can
handle.

To achieve full measurementaccuracy when using a gain of 500, you
should limit me conversion frequency to a maximum of 25 kHz (one
sample every 40 its).

If you are acquiring samples from multiple channels. the maximum
sampling rate for each channel is equal to 40 kHz divided by the number
of channels.

The rate at which the computer can reliably read data from the board
depends on a number of factors, including your computer, the operating
system/environment, whether you are using expansion boards, the gains
of the channels, and software issues.


You can synchronize conversions on multiple DAS-800 Series boards to a
common, externally applied conversion clock. In addition, you can use a
DAS-801 or DAS-802 board as a timing master; the output of the OUT1
pin (pin 5) on the main I/O connector of the master board acts as an
external hardware conversion clock to any additional boards. You can use
external circuitry, such as CEO on the 8254, to divide the rate of the
master clock; this allows you to synchronize conversions on the
additional hoards to a rate different from that of the master board. Refer to
page 4-13 for more information on synchronizing conversions on multiple
boards.




2-11
chap02_.frm Black 12




Triggers
A trigger is an event that must occur before a DAS-800 Series board starts
an analog input operation. You can use one of the following trigger
sources to trigger aa analog input operation:

. Software - When you start the analog input operation, conversions
begin immediately.

. Hardware - You connect a digital trigger signal to the digital input
IP 1 /TRIG pin (pin 25) of the main I/O connector. The trigger event
occurs when the board detects a rising edge on IP1 /TRIG.

The actual point at which conversions begin depends on whether you
are using an internal or external clock soorce. These considerations
are described as follows:

- Internal clock source - The 8254 counter/timer circuitry remains
idle until the trigger event occurs. When the trigger event occurs,
the board initiates the first conversion immediately.

- Enrernal clock source - Conversions are armed when the trigger
event occurs. At the next falling edge of the external clock
source, the board initiates the first conversion.




2-12 Functional Description
chap02-.frm Black 13




Figure 2-4 illustrates how conversions are started when using a
hardware trigger.




!
External Clock
source !




Figure 24. Initiating Conversions with a Hardware Trigger




2-13
chap02-.frm Black 14




Hardware Gates
A hardware gate is an externally applied digital signal that determines
whether conversionsoccur. You connect the gate signal to the IPl /TRIG
pin (pin 25) on the main I/O connector. DAS-800 Series boards support a
positive gate only. Therefore, if the hardware gate is enabled and the
signal to IPl /TRIG is high, conversions occur; if the signal to IPl /
TRIG is low. conversions are inhibited.


Note: You cannot use the hardware gate with a hardware trigger.
However, the gate signal itself can act as a trigger. If the gate signal is low
when the software starts the analog input operation, the board waits until
the gate signal goes high before conversions begin.


When using the hardware gate, the way conversions are synchronized
depends on whether you are using a hardware external clock or a
hardware internal clock, as follows:

. External clock - The signal from the external clock continues
uninterrupted while the gate signal is low; therefore, conversions are
synchronized to the external clock.

. Internal clock - The 8254 does not count while the gate signal is low.
Whenever the gate signal goes high, the 8254 is loaded with its initial
count value and starts counting; therefore, conversions are
synchronized to the gate signal.

Figure 2-5 illustrates how to use the hardware gate with both an external
clock and an internal clock.




2-14 Functional Description
chap02-.frtn Black 15




sonwarestarts
ths operation -b
3rd convmsion

2nd conversion
/ /




p-r . . . . . . * . . . . .



at wnverslon , 2nd mnvwston A-
(Intcmsl clock) (Inkmel clock) 4th converslbn
t (Internalclock)
3rd l2dverslon
(Internal clock)


Figure 2-5. Hardware Gate




Note: Although DAS-800 Series boards do not provide a hardware-based
analog trigger, you can program an analog trigger through software, using
one of the analog input channels as the trigger channel. The DAS-800
Series Function Call Driver provides functions for an analog trigger; refer
to the DAS-800 Series Funciion Call Driver User's Guide for more
information. The Control Panel also allows you to set up an analog
trigger; refer to Chapter 5 for more information. You can also set up an
analog trigger using DAS-800 Series custom controls; refer to the
VisualDAS Custom Controls Lrser'x Guide for more information.




2-I 5
chapOZ.frm Black 16
fb

Data Transfer
BecauseDAS-800 Series boards do not support DMA (Direct Memory
Access), data is always transferred from a DAS-800 Series board to the
host computer's memory through an output port. Data can be transferred
as either a foreground process or a background process. If data is
transferred in the background, the end-of-conversion interrupt must be
enabled so that the board can notify the host computer when new data is
available; refer to page 2-25 for more information about interrupts. If data
is transferred in the foreground, interrupts are not required.

DA%800 Series boards contain a four-word, first-in, first-out memory
location (FIFO). When you initiate conversions under hardware control,
using an internal or external clock source, the result of each conversion is
automatically stored in the FIFO.


Note: When you use software to initiate conversions, the FIFO control
logic is automatically disabled and the FIFO is emptied.


The FIFO increasesthe maximum attainable conversion frequency by
increasing the maximum software interrupt latency allowed by a factor of
four (up to the maximum conversion frequency of 40 kHz).

If the conversion frequency is too fast or if the time required to service the
interrupt is too long, the hardware may perform more than four
conversions before the converted data is read. The hardware can detect
this condition and generate an error to indicate that unread data in the
FIFO was overwritten and samples were lost.


Note: When using the DAS-800 Series Function Call Driver, Control
Panel, or Custom Controls, the operation of the FIFO is transparent. The
Function Call Driver, Control Panel, or Custom Controls software
performs the data transfer.




2-I 6 Functional Description
chap02-.frm Black 17




Digital l/O Features

DAS-800 Series boards contain three digital input lines and four digital
output lines. The digital input lines are associatedwith the IPI /TRIG,
IP2, and IP3 pins on the main I/O connector; the digital output lines are
associatedwith the OPI. OP2. OP3. and OP4 pins on the main I/O
connector. Logic 1 at a pin indicates that the input/output is high (greater
than 2.0 V); logic 0 at a pin indicates that the input/output is low (less
than 0.8 V).

The digital input lines are compatible with TTL-level signals. If no signal
is connected to a digital input line, the input appearshigh (logic 1).

You can use the digital input and output lines for any general-purpose
task, with the following exceptions:

. If you are using an expansion board for an analog input operation, the
four digital output lines control the multiplexem on the expansion
boards to determine the expansion board channel that is acquiring
data; in this case,you cannot use the digital output lines for
general-purpose digital output operations.

. If you are using an external digital trigger or hardware gate, you must
use the IPI /TRIG pm to attach the trigger/gate signal: in this case,
you cannot use IPl /TRIG for general-purpose digital input
operations.


8254 Counter/Timer Circuitrv

Each DAS-800 Series board contains 8254 counter/timer circuitry; the
8254 contains three counter/timers: C/IO, Cnl, and W2.

C/IO is always available for general-purpose tasks. If you are using a
hardware internal clock source for an analog input operation, both C/T1
and C/T2 of the 8254 counter/timer circuitry are dedicated to internal
functions and cannot be used for general-purpose tasks. If you are using a
hardware external clock source, ClrO, C/Tl, and C/I'2 are always
available for general-purpose tasks.


2-17
chap02-.frm Black 18




C/TO and C/T1 have a clock input pin on the main I/O connector; all
counter/timers have a gate input pin and an output pin on the main I/O
connector. You can attach a clock source (0 to 10 MHz) to the clock input
pins (CLKO and CLKl). Pull-up resistors of 3.3 ka are provided on the
three gate input pins (GATEO, GATEl, and GATE2); therefore, the gates
appear enabled if no signal is attached to the gate inputs. You can use the
output pins (OUTO, OUTl, and OUT2) for pulse or frequency outputs.


Notes: For compatibility with the DAS-8 board, on power-up or system
reset, the DAS-800 board connects the clock input of CF2 to the CPU
bus clock divided by two. If you specify a hardware internal clock source
through software, the DA%800 board connects the clock inputs of C/T1
and C/r2 to the 1 MHz time base.The DAS-801 and DAS-802 boards
always comect the clock input of Cn2 to the 1 MHz time base.

You can use the OUT1 pin of a DAS-801 or DAS-802 board to
synchronize conversions on multiple boards. Refer to page 4- 13 for more
information.

The CLKl, GATEl, and GATE2 pins are provided for compatibility with
DAS-8, DAS-8 PGA, and DAS-8 PGA/G2 boards on power-up or system
reset. If you specify a hardware internal clock source through software,
you cannot use thesepins.




2-i 6 Functiona