Tektronix Keithley DAS-1600 Series External DAS Driver Users Guide

titlepg.frm Black 1
DAS-1600 External Driver
User’s Guide
Revision C - October 1993
Part Number: 58074
noticep.frm Black 2
The information contained in this manual is believed to be accurate and reliable. However, Keithley Instruments, Inc., assumes no responsibility for its use; nor for any infringements or patents or other rights of third parties that may result from its use. No license is granted by implication or otherwise under any patent rights of Keithley Instruments, Inc.
KEITHLEY INSTRUMENTS, INC., 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 SUPPORT OR CRITICAL APPLICATIONS.
Refer to your Keithley Instruments liccnsc agreement and Conditions of Sale document for specific warranty and liability infommtion.
VIBWDAC, EASYBST LX, and ASYST are registered trademarks of Keithley Instruments, Inc.
EASYEST AG is a trademark of Keithley Instruments, Inc. All other brand and product names we
trademarks or registered trademarks of their respective companies.
0 Copyright Keithley Instruments, Inc., 1993.
All rights reserved. Reproduction or adaptation of any part of this documentation beyond that permitted by Section 117 of the 1976 United States Copyright Act without permission of the Copyright owner is unlawful.
Keithley Instruments, Data Acquisition Division
440 Myles Standish Blvd.
Taunton,
MA 02780
Telephone: (508) 8X0-3000. FAX: (508) 880-0179
1600ext.toc Black iii
+B
Table of Contents
Preface
Using the DAS-1600 Extertial Driver
Supported Hardware Options Supported, Files on Disk QuickStart
Setting Up the Board. Running the Configuration Program. Loading the DAS-1600 External Driver. Accessing the DAS-1600 External Driver
VlEWDAC EASYEST LX/AG ASYST
Using the Configuration Program
MenuItelns
Exiting the DAS- 1600 Configuration Program
Loading the External Driver in Multiple Board Configurations
DAS-1600 External Driver Characteristics
Channels and Gains. EXP-16s and EXP-GPs.
Cascading Multiple EXP Boards. Specifying Gains
Digital I/O,
DAS-1600/1200 Series
DAS-1400 Series Internal Clocking. External Clocking. Synchronous, DMA, and Interrupt Operations, Counter/Timer Functions
EventCounting
Pulse Output.
.........................................
.........................................
.......................................
...................................
....................................
................................
.................... .3
....................................
...............................
......................... .6
......................................
................. .12
................................
.............................
...................
.................................
.......................................
...........................
................................
..................................
.................................
............................
...............................
...................................
...3
................. .4
................ .5
...5
...6 ...7
........... .ll
........... .19
...2 1
.l .l .2
.3
.5
.l 1
.12 .13 .I3 .14 .15 .15
.1X .19 .I9
.20 .21
iii
1600ext.toc Black iv
fb
4
Pseudo-Digital Output: Extended Functions.
Analog Triggers ...........................
Burst Mode and SSH Mode. Altering the Burst Mode Conversion Rate.
Software Interrupt Vectors .....................
DAS-1600 External Driver Error Messages
List of Figures
Figure 1. Figure 2.
List of Tables
Table 1. Table 2. Table 3. Table 4. Table 5.
Table 6. Table I.
Table 8. Table 9.
Table 10. Table 11. Table 12. Table 13.
Table 14. Table 15. Table 16.
Analog Trigger Conditions
Using a Hysteresjs Value.
Configuration Program Menu Items Configuration Menu Special Keys Supported Gains and Gain Codes
Logical and Physical Channels
Digital I/O Channel Usage (No EXPs, All Ports Output). Digital I/O Channel Usage (EXPs Used, All Ports Output). Digital I/O Channel Usage (No EXPs, A and B Output, CL and CH Input). Digital I/O Channel Usage (No EXPs, B and CH Output, A Digital I/O Channel Usage (No EXPs)
Digital I/O Channel Usage (EXPs Used) Counter/Timer Functions.
Pseudo-Digital Output Channels.
Default Settling Times. Common Settling Times
Interrupt Vectors ..........................
Error Messages
.................
........................
........................
and
CL Input).
..................
....................
...................
..........................
.......
......
..........
..........
...........
............
..............
..........
..........
............
........
......
.21 .25 .21 .29 .31 .32
.26 .21
I .I0 .12 .14
.16 .17 .17 .1x
.18 .19 .20 .22 .29
.30 .31
.32
4
iv
preface.frm Black v
Preface
The
DAS-1600 External Driver
you need to use the DAS-1600 External Driver (somtimes referred to as the External DAS Driver). The DAS-1600 External Driver allows you to use Keithley’s DAS-1600, DAS-1400, and DAS-1200 Series boards with the following Keithley
. VIBWDAC@
data
User’s Guide provides the information
acquisition and analysis soCtware:
. EASYEST LX@ . EASYEST AG’M . ASYST@
This manual is intended for application programmers. It should be used in conjunction with the DAS board user’s guide and with the documenlation for the data acquisition software you are using.
Note: The DAS-1600 External Driver may support options your software does not; likewise, your software may suppou options this extemal driver does not.
4
preface.frm Black vi
If you need help, contact your local sales office or Keithley’s Applications Engineering Department between 8 am and 7 pm (EST), Monday through Friday:
Keithley Data Acquisition
Applications Engineering
440 Myles Standish Boulevard
Taunton, Massachusetts 02780
Telephone 508/880-3000
Telex 503989
FAX 508/X80-0179
An applications engineer will help diagnose and resolve your problem by telephone.
4
vi
chapOO_.frm Black 1
Supported Hardware
4+
Using the DAS-1600
External Driver
The DAS-1600 External Driver allows your VIEWDAC, EASYEST LX, EASYEST AG, or ASYST application program to exchange data with DAS-1600, DAS-1400, and DAS-1200 Series boards.
The DAS-1600 External Driver supports the following Keithley data acquisition (DAS) boards.
. DAS-1601 . DAS-1602
. DAS-1401 . DAS-1402 .
DAS- 1201
. DAS-1202
Options Supported
The DAS-1600 External Driver supports the following options: . Analog input operations, including interrupt and Direct Memory
Access (DMA)
-
16 single-ended or eight differential 12-bit analog input channels
1
chapOO_.frm Black 2
Files on Disk
-
Up to 136 channels through EXP-16 and EXP-GP support
Two 12-bit analog output channels (on the DAS-1601 and DAS-1602
.
only) 32 digital I/O bits on the DAS-1601, DAS-1602, DAS-1201, and
.
DAS-1202; eight digital I/O bits on the DAS-1401 and DAS-1402
. Event counting
. Pulse output . Analog triggering . Simultaneous sample-and-hold through the SSH4A
The following files arc included on the DAS-1600 External Driver disk:
DAS1600.EXE -This file is the external DAS driver for DAS-1600, DAS-1400, and DAS-1200 Series boards. It controls the boards and allows communication between an application program and the board. DAS1600,EXE executes as a terminate-and-stay-resident (TSR) program that occupies a small amount of memory in the host.
D1600CFG.EXE -This is the configuration program for the DAS-1600, DAS-1400, and DAS-1200 Series boards. It creates configuration files that the DAS-1600 External Driver (DAS1600,EXE) can read.
DAS1600.CFG - This is the default configuration file used by DAS1600,EXE when no file name is specified. When first used, this
file contains the default configuration settings for DAS-1600 Series boards.
DAS1400.CFG - When iirst used, this file contains the default configuration settings for DAS-1400 Series boards.
DAS1200.CFG - When first used, this file contains the. default configuration settings for DAS-1200 Series boards.
Using the DAS-1600 External Driver
chapOO_.frm Black 3
Quick Start
Setting Up the Board
This section describes how to configure, install, and access the DAS-1600 External Driver.
Referring to the appropriate DAS user’s guide, set the switches on the board to select the board’s base address, input configuration (single-ended or differential), analog-to-digital (A/D) and digital-to-analog (D/A) range type (unipalar or bipolar), D/A reference voltages, DMA channel, clock rate select, wait state enable, and A/D gain. Remember these settings; you
will need them when you run the configuration program, D1600CFG.EXE, described in the next section.
The following are a few DAS-1600/1400/1200 Series connections that you may want to keep in mind:
External digital trigger Connect the external digital trigger signal
.
to the IPl pin on the main I/O connector. External clock Connect the external clock signal to the IPO pin on
.
the main I/O connector.
. Event counting - Connect the event signal Lo the CTR 0 IN pin on the
main I/O connector.
. Pulse output Connect the pulse output signal to the CTR 2 OUT pin
on the main I/O connector.
Refer to your DAS board user’s guide for other connections.
Running the Configuration Program
The DAS-1600 External Driver is shipped with default configuration files that reflect the factory settings of DA.%1600/1400/1200 Series boards. Whenever you change any of these settings, you must run the DAS-1600 configuration program, D1600CFG,EXE, in order for the external driver
to hmction properly.
3
chapOO_.frm Black 4
When you load the external driver, as described in the following section, the external driver looks in the current directory for the default confIguration file, DASl600.CFG. You can also specify the name of an existing configuration file, such as DAS 14OO.CFG for a DAS-1400 Series board or DAS1200,CFG for a DAS-1200 Series board, or the name of a new configuration file that you want to define.
To run the menu-driven configuration program, perform the following
steps:
1. Create a DAS 1600 directory on your hard disk. For example, at the DOS prompt, enter the following:
mkdir das1600
2. Copy the following files from the DAS-1600 External Driver disk to the DAS1600 directory: DASl600EXE, Dl600CFC.EXE, DASl600.CFG, DASl400,CFG, and DASl200,CFG.
3. Enter the following at the DOS prompt:
cd \das1600 D1600CFG corlfiguration_filename
where
cnnfigurationfilenume represents the DOS path and name of your configuration file. For example, you could name the configuration file DAS 1602.CFG and specify the path as c:Was1600Llas1602.cfgg. If you do not specify a co&oration file, the current directory and the default filename, DASl600.CFG, are used.
4. Configure the board parameters using the configuration program, as described in “Using the Configuration Program” on page 6.
Loading the DAS-1600 External Driver
You must load the DAS-1600 External Driver, DASl600.EXE, each time you start up your computer in order for your application program to recognize it. The DAS-1600 External Driver remains in memory until you turn off or reboot your computer.
Using the DAS-1600 External Driver
chapOO_.frm Black 5
To load the DAS-1600 External Driver, access the directory containing DAS1600,EXE and enter the following at the DOS prompt:
das1600
configuration_filename
where configurationfilcnamc is the name of the configuration file you
are using. If you do not specify a configuration file, the driver searches for
the default configuration file, DAS1600,CFG. in the current directory.
Note:
You can also load the DAS-1600 External Driver automatically whenever you start the computer by modifying your AUTOEXEC.BAT file.
Accessing the DAS-1600 External Driver
This section describes how to access the DAS-1600 External Driver when using VIEWDAC, EASYEST LX, EASYEST AG, and ASYST. For
additional information, refer to your VIEWDAC, EASYEST LX / AG, or ASYST documentation.
VlEWDAC
If the DAS-1600 External Driver is the only driver installed in your system, your VIEWDAC application programs access the DAS-1600 External Driver automatically. If more than one driver is installed, you must select the external driver (board name) from within a VIEWDAC
DAS Task.
EASYEST LX/AC
If the DAS-1600 External Driver is the only driver installed in your
system, your EASYEST LX / AG application programs access the
DAS-1600 External Driver automatically.
5
chapOO_.frm Black 6
If more than one driver is installed, you must perform the following steps to access the DAS-1600 External Driver:
1. Select Devices from the EASYEST LX / AG menu bar
I
-
ASYST
2. From the
Selecrion.
3. Select the appropriate external driver (board name) from the displayed list.
If you are using ASYST, always perform the following steps to access the DAS-1600 External Driver:
1. After loading the DAS-1600 External Driver, start up ASYST version
2.10 or greater and permanently load
DAS
menu. ASYST automatically searches for and creates a DAS device called DAS1600.
2. Enter the following at the OK prompt to make DAS-1600 the current device:
DAS Configuration
Driver Support system overlays from the Data Acquisition
DAS1600
screen, select option 1,
the Data Acq
Master and the Ext
DAS Board
Using the Configuration Program
The configuration program begins by prompting you to specify the number of DAS-1600/1400/1200 Series boards you want to configure.
You can configure up to two boards in each configuration file. The program then displays the configuration menus. The menu options are described in the following subsection.
6
Using the DAS-1600 External Driver
Loading...
+ 28 hidden pages