Text preview for : 24851C(DAS50).pdf part of Keithley 24851C(DAS50) Keithley DAS 24851C(DAS50).pdf



Back to : 24851C(DAS50).pdf | Home

DAS-50




Keithley MetraByte Corporation
A Subsidiary of Keithle Instruments, Inc.
440 Myles &andish Boulevard
Taunton, Massachusetts 02780
Part Number: 24851

Fkst Printing: August 1988
Revislan Level C: July 19%




Copyright 0 1988
bv
Keithley MetroByte Corporation
440 Myles Standish Boulevard
Taunton. Massachusetts 02780




WARNING
Keithley MetroByte Corporation assumes no liability for damages consequent to the use
of this product. This product is not designed with components of a level of reliability
suitable for use In life support or critical applications.




All rights resewed. No part of this publlcatlon may be reproduced. stored in a retrieval
system, or transmitted, in any form by any means, electronic, mechanical, photocopying,
records? , or otherwise, without the express prior written permission of Keithley MetroByte
Corpora FIon.
Information furnished by Keithley MetroByte Corporation is believed to be accurate and
reliable. However, no responsibilrty is assumed by Keithley MetroByte Corporation for its use;
nor for any infrin ements of patents or other ri hts of third parties which may result from tts
use. No license B granted by implication or oBherwise under any patent rights of Keithley
s
MetroByte Corporation.
MetraByteTM is a trademark of Keithley MetroByte Corporation.
BASICW Is a trademark of Dartmouth College.
IBM@ is a registered trademark of International Business Machines Corporation.

Microsoft@ is a registered trademark of Microsoft Corporation.




ii/
CHAPTER 1
INTRODUCTION .. ..... .. .. . .. .1-l

1.1 GENERAL INTRODUCTION.. ..................................................... .1-l
1.2 FUNCTIONAL DESCRPTION.. ................................................... l-1
1.3 FILES ON THE DAS-50 UTILITY DISK.. ..................................... l-4
1.4 SPECIFICATIONS.. ......................................................................... l-5
1.5 ORDERING INFORMATION.. ...................................................... l-6
1.6 HOW TO USE THIS MANUAL.. .................................................. l-7

CHARTER 2
INSTALLATION.. .................................................................................. .2-l
2.1 GENERAL ......................................................................................... 2-l
2.2 UNPACKING AND INSPECTION.. ............................................ .2-l
2.3 SWITCHES ........................................................................................ 2-l
2.4 BOARD INSTALLATION.. ........................................................... .2-4
2.5 SYSTEM CONNECTIONS.. ........................................................... .2-5

CHAPTER 3
GETTING STARTED ............. .................................................................3-l

3.1 GENERAL ......................................................................................... 3-l
3.2 MAKING A BACK-UP COPY OF THE DISKETTE.. ................. .3-l
3.3 INSTALLING THE DAS-50 UTILITY DISKETTE.. ................... .3-2
3.4 ADDING ANSLSYS TO CONFIGSYS.. ...................................... .3-2
3.5 INSTALLING THE DEVICE DRIVERS.. ..................................... .3-3
3.5.1 EDITING THE CONFIG.SYS FILE.. .......................................... .3-4
3.5.2 USING D50SETUP.EXE TO MODIFY THE CONFIG.SYS FILE3-6
3.5.3 LOADING/UNLOADING THE DRIVERS FROM DOS.......32 0

CHARTER 4
OPERATING THE DAS50 ... ..... ... . .. 4-l
4.1 GENERAL ......................................................................................... 4-l
4.2 USING A MOUSE.. ......................................................................... .4-l
4.3 USING A KEYBOARD .................................................................... 4-l
4.4 ON-LINE HELP.. ............................................................................ .4-l
4.5 THE POP-UP MENU ....................................................................... 4-2
4.6 OPERATING PARAMETERS.. ..................................................... .4-3
4.7 OPERATING MODES.. .................................................................. .4-9




IV
5.1 GENERAL.. ...................................................................................... .5-l
5.2 DATA-SET FILE (SAMPLE). ......................................................... .5-l
5.3 DAS-50 DATA-SET FILE STRUCTURE.. .................................... .5-3
5.3.1 START GLOBAL GROUP.. ......................................................... .5-4
5.3.2 START CHANNEL GROUP.. .................................................... .5-5
5.3.3 START COMMAND GROUP.. .................................................. .5-7
5.3.4 START DATA SECTION.. .......................................................... .5-8
5.3.5 COMMENTS.. .............................................................................. .5-9
CHARTER 6
PROGRAMMING.. ................................................................................ .6-l
6.1 GENERAL.. ...................................................................................... .6-l
6.2 LANGUAGE INDEPENDENT INTERFACE.. ........................... .6-l
6.3 PROGRAMMING SEQUENCE.. .................................................. .6-53
6.4 ANALOG TO DIGITAL CORRESPONDENCE.. ....................... .6-55
6.5 DIRECT SCREEN I/O.. .................................................................. .6-56
6.6 REGISTER DESCRIFTIONS.. ......................................................... 6-57
CHAPTER 7
MAINTENANCE AND REPAIR.. ....................................................... .7-l

7.1 GENERAL.. ...................................................................................... .7-l
7.2 CALIBRATION.. ............................................................................. .7-l
7.3 WARRANTY INFORMATION ..................................................... 7-5
7.4 RETURN-TO-FACTORY INFORMATION.. .............................. .7-6




V
TABLE OF TABLES



l-l. Files on the DAS-50 Utility Disk.. ................................................. l-4
l-2. Ordering Information.. .................................................................. l-6
6-l. Lan a e Interface Commands.. ................................................ .6-6
6-2. DA !? 509/O Address Map.. ......................................................... .6-45
6-3. .6-58
Trace Selection.. .............................................................................
6-4. Conversion Rates.. ..........................................................................6-62
6-5. Channel Control Register.. ........................................................... .6-65
6-6. .6-65
Input Voltages.. ..............................................................................
6-7. .6-67
Memory Size.. .................................................................................


TABLE OF FIGURES

Figure Page
2-1. Location of Switches.. .................................................................... .2-2
2-2. Setting the Base Address Switch.. ............................................... .2-2
2-3. Memo Configuration Switch.. .................................................. .2-3
2-4. DB-25 2 onnector.. .......................................................................... .2-5
2-5. System Block Diagram Using the BNC-50.. ............................... .2-6
3-1. Start-up Screen.. ..............................................................................3-6
3-2. Selecting the Boot Drive.. ............................................................. .3-7
3-3. Generatmg the Path Name to VLSYS.. ....................................... .3-8
3-4. S ecifying the T pe of Monitor.. ..............................
3-5. &fining the HeIy Ke ................................. ..I........:.:::::::::::::::::~~~l
.:
3-6. Defining the Moge Se!& Key.. ................................................... .3-12
3-7. Defining the Instrument Select Key.. .......................................... .3-13
3-8. Confirming the System Setu ...................................................... .3-14
3-9. Generatin the DAS5ODRV. 8YS Path.. ....................................... .3-15
3-10. PO Up e Definition.. ....... ...............................................,.3-l 6
3-11. Se&tin: iase Address.. ...:.:..::............................................... :.,3-l 7
3-12. Confirmin the DAIS-50 Setu cp ...............................
.3-18
3-13. Creation oBthe new CONFI .SYS.. ................................................................
.3-19
3-14. CONFIG.BAK already exists.. .................................................... .3-19
4-l. Pop-Up Menu.. ................................................................................ .4-2
4-2. Sam le Parameter.. ......................................................................... .4-4
.4-4
4-3. Clot K Timin +. ..................................................................................
4-4. Trace After iming Diagram.. ....................................................... .4-6
4-5. Trace Before Timing Diagram.. .................................................... .4-7
4-6. Trace About Timing Diagram.. ..................................................... .4-8
6-l. Channel Control Register.. ........................................................... .6-64
6-2. Analog Input Register.. ................................................................. .6-66



vi
6-3. Status Register.. ................... .6-66
7-l. Calibration Start-Up Screen G:i
............................................................................................................................
7-2. Calibration/Memory Test Screen
7-3. First Calibration Screen.. .............................................................. .7-4
7-4. Memory Test Screen ....................................................................... 7-5




vii
DA.%50 User's Guide Introduction



CHAPTER 1
iNTRODLiCTiON

1.1 GENERAL iNTRODUCTiON
Keithley MetraByte's DAS50 is a high-speed, self-contained Analog-to-Digital Interface
Board. The DAS-50 is designed for use with the IBM @ PC/XT/AT and compatible
computers. Features of the DAS50 include a 1 MHz conversion rate and up to 1 Mega-
word of on-board system memory. These make the DAS-50 the ideal board in applica-
tions such as:

. Laboratory Automation

. Process Monitoring Control

. Vibration/Stress Analysis

. Event/Transient Analysis

. Signal/Sensor Interface

The DAS-50 ls easily programmable using MetraByte provided software. One alterna-
tive is a user-friendly Setup Menu. This can be used to set the DAS5O's operating
parameters without a complicated application program. The PC's keyboard or a
Microsoft compatible mouse are used to enter values for the operating parameters. If
necessary, these values are automatically rounded to a legitimate value. Additionally,
traces can be started or stopped, and diagnostics run from the Pop-Up Menu. Thus,
even a novice computer user can program the DAS50 to operate at its full potential.

For users who have more sophisticated applications, MetraByte provides a library of
Language Independent Interface commands. These ASCII commands are incorporated
into a user-designed application program. Application programs can be programmed in
several languages including: BASIC @, PASCAL, C, and FORTRAN.
1.2 FUNCTIONAL DESCRiPTiON
The DAS-50 accepts data from up to four single-ended input channels. An analog multi-
plexer can be programmed to accept data from 1,2 or 4 of the input channels. (See the
Set Channel command for more information.) If more than one channel is selected, the
multiplexer automatically switches to the next channel in the sequence. When the multi-
plexer changes channels, the track and hold amplifier maintains the status of the pre-



l-l
Introduction DAS-50 User's Guide



vious channel. The data is then converted by the A/D converter and stored sequentially
in the on-board memory. The data can be read from memory via the PC Bus. Data may
be read sequentially or by channel.

MEMORY
The on-board memory ls configured as banks of twelve 256K x 1 DRAM (Dynamic Ran-
dom Access Memory). Between 1 and 4 banks of DRAM can be installed on the DAS50
Memory Board, allowing for total memory capacities (in words) of 256K, 512K, 768K,
and 1M.

INPUT VOLTAGE RATE
The A/D Converter can operate in either unipolar or bipolar mode with software select-
able input ranges of: 0 to 5V, 0 to lOV,k 2.5V, + 5V, or & 10 V. The input voltage range
must be specified prior to the start of a trace. The voltage ranges can not be changed
after a trace has begun.

ACQUISITION RATE
The rate of data acquisition can be determined by either a variable internal clock or an
external TTL clock. If the internal clock is used, a conversion rate in the range 1 MHz to
137 Hz must be assigned. If an external clock is used, the maximum clock frequency is 1
MHz.

TRACE MODES
A trace is a series of a defined number of samples. Triggers are used to signal the stop
or start of a trace. Traces can be initiated before, after, or about the time a trigger occurs.
If the Before trigger mode is selected, data ls sampled until a trigger occurs. In the After
trigger mode, the trigger initiates data collection to begin. The About trigger mode
allows data to be collected unconditionally until a trigger occurs, then a specified num-
ber of samples are taken after the trigger occurs.




l-2
DAM0 User's Guide Introduction



TRIGGERS
The trigger pulse can originate from any of three sources: the program, a Digital Pulse,
or an Analog Voltage level from Channel 0. The Digital Pulse and Analog Voltage trig-
gering can further be specified to be either level or edge sensitive. Each of these has dif-
ferent set-up parameters which are described below:

Program - When the trigger origin is the user program, only the Trace After trigger mode
can be selected. (Refer to Chapter 3 for more information regarding trigger modes.)

Digital Pulse-When the trace is triggered by a digital pulse, a positive or negative level
or edge must be chosen. This ls a `lTL-trigger pulse with timing requirements as
described in section 4.6. Several trace modes can be selected which allow data to be col-
lected after a trigger occurs, before a trigger occurs, or before and after a trigger takes
place.

Analog Voltage - This trigger-method uses the voltage level found on Channel 0. In this
type of triggering, a positive or negative level or edge, and the trigger voltage level must
be chosen. Valid voltage levels are between -9.99 and + 9.99 V. For a level sensitive trig-
ger, the DAS50 will trigger above the specified voltage level for positive level trigger-
ing, and below the specified voltage level for negative level triggering. The edge
sensitive trigger causes the DAS-50 to trigger on the positive-going or negative-going
edges.

Note that the significant difference between the level and edge triggering for both Digi-
tal and Analog modes is at the start of a trace. If level triggering is selected, the trace
may be immediately triggered when a trace is started if the trigger conditions are
already valid. For example, suppose an Analog positive level trigger of +2.00 volts is
selected. If the Channel 0 voltage is +3.00 volts at the start of the trace, the trace will be
triggered immediately, regardless of whether the voltage is rising or falling. This may or
may not be what is really desired. On the other hand, if positive edge sensitive trigger-
ing is selected, the trace would not be triggered until the Channel 0 voltage falls lower
than + 2.00 volts and then crosses the +2.00 volt boundary in the specified positive
direction.




1-3
Introduction DAS-50 User's Guide



1.3 FILES ON THE DAS-50 UTILITY DISK
The files contained on the DAS-50 Utility Disk are listed in Table l-1. They are also
listed in the FILESDOC file on the Utility Disk.

Table 1-Z. Files on DAS-50 Utility Disk

Filename Description

VISYS Support files for Setup Screen and command handler.
DASSODRVSYS System files for the DAS50.
FILESDOC Listing of files contained on disk.
README.DOC File providing a quick installation guide and any additional
information regarding the DAS-50 not contained in this man-
ual.
D50SETUP.EXE Program which provides automatic setup of the user's CON-
FIGSYS file.
CAL50.EXE Base Address selection, calibration, and memory test program.
(Also provided as source code).
CLOGSO-l.EXE Executable example program. Shows acquisition of 48 sample:
from 2 channels in TRace-After-Trigger mode, logged sequen-
tially. (Also provided as source code)
CALSO.BAS Source code (in BASIC) for DAS-50 Calibration Procedure.
DSOCMD.BAS Example program (in BASIC) illustrating the use of the
Language Interface Commands. Requires keyboard input and
displays results.
LOG50-1 .BAS QBASIC example for the acquisition of 48 data samples from 2
channels in the TRace-After-Trigger mode, data is logged
sequentially.




1-4
DAS-50 User's Guide Introduction



Table I-Z. Files on DAS-50 Utility Disk



LOGSO-2.BAS Example Program (in BASIC). Shows acquisition of 60 sam-
ples from 2 channels in Trace-About-Trigger mode, data
logged sequentially
PLOTSO.BAS BASIC example program showing collection of data and quick
plot to screen.
CLOG50-2.C Source Code for LOG50-1 written in C.
PLOG50-1 .PAS Source Code for LOG50-1 written in PASCAL.
FLOGSOJ.FOR Source Code for LOG50-1 written in FORTRAN.
PCIPMOD.EXE Utility for modifying instrument device driver file if multiple
DAS-50'S are to be used in one PC.
LSCOM Loads PCIP device drivers from DOS.
USCOM Unloads PCIP device drivers that were loaded using ISCOM.
VIKEY.COM Keyboard conversion for foreign keyboards.
VIKEY.DOC Guide to installation and use of VIKEY.COM

1.4 SPECIFICATIONS
INPUT

Channels: 4 single-ended (selectable for sequence)
Ranges: Oto~5V,Oto~lOV,~2.5V,i5V,ilOV
Maximum Input: k 25V
Resistance: 100 K Ohms
Capacitance: 10 pF
Bandwidth (-3 dB): 6 MHz (BW flat within 0.5, DC to 500 KHz)

Channel to Channel:
(Signal Isolation) 62 dB (500 KHz Analog Input)




1-5
lntroductlon DA850 User's Guide



CONVERTER

Resolution: 12 bits
Conversion Rate: 1 pecond

ACCURACY

Overall Error: 2 LSB max.
Differential Linearity
Error: 1 LSB max.
Integral Linearity
Error: 1.5 LSB max.
No Missing Codes: Guaranteed

POWER SUPPLY

+5v: 2 A typ.
+12v: 80 mA, typ
Power Consumption: 11 watts typ.

ENVIRONMENTAL

Operating: O'Cto+50%
Storage: -25 `C to + 85 %
Humidity: 0 to 90%, non-condensing
Weight: 19.5 oz. (585 grams)



1.5 ORDERING INFORMATION
Table l-2 lists the part numbers for the DAS-50 and its accessories. A brief description of
each is provided. Refer to the MetraByte Catalog for more information or call MetraBy-
te's Technical Support Department. (See Chapter 7.)




1-6
DAS-50 User's Guide


Table 1-2. Ordering Information

Part Number Description
DAS50/1 DAS50 High-Speed Analog to Digital Converter with
256K word memory.

DAS-50/2 DAS-50 High-Speed Analog to Digital Converter with
512K word memory.

DAS-50/4 DAS-50 High-Speed Analog to Digital Converter with
1024K word memory.

BNC50 BNC50 Input Terminal Box

1.6 HOW TO USE THIS MANUAL
This manual is designed for a knowledgeable computer user. It assumes that the user is
familiar with his PC and its operation. At times, it may be necessary to refer to the
Operator's Manual provided with the computer and a reference manual for the lan-
guage used in custom application programs. Be sure to have these handy.

Chapter 2,"Installation" describes unpacking and inspection procedures, setting the base
address and memory configuration switches, installation of the board, and how to con-
nect peripherals.

Chapter 3, "Getting Started" tells you how to make copies of the DAS-50 Utility Diskette.
Additionally, the chapter describes how to install the device drivers and modify your
config.sys file. This chapter also describes how to use the DAS5O's Pop-Up Menu to set
the operating parameters.

Chapter 4, "Operating the DAS-50", discusses the DAS-50'S Pop-Up Menu options.

Chapter 5, "Logging Data" describes the format of the file to which data is saved.

Chapter 6,"Programming", describes the Language Independent Interface commands.
These commands can be integrated into programs written in any of several languages.
This allows the creation of custom data collection programs. Each command's function,




1-7
Introduction DAS-50 User's Guide



syntax, and usage is described. Two sample programs, written in C and BASIC, are also
given. This chapter also provides a brief description of the DAS-50's registers for refer-
ence purposes.

Chapter 7, "Maintenance and Repair" gives a procedure for calibrating the DAS-50
Warranty information and Return-to-Factory instructions are also provided.

The Appendices contain other useful information. Appendix A provides the Intel 82C54
Data Sheet for programmers requiring more detailed information. Appendix B gives the
error messages which apply to the Language Interface Routines.




1-8
DAS-50 User's Guide lnstollotion



CHAPTER 2
INSTALLATION

2. I GENERAL
This chapter describes how to install your DAS-50. The following information is pro-
vided: unpacking and inspection procedures, setting of the base address and memory
configuration switches, installation of the board, and system connections.

If you have installed optional peripheral boards in your PC before, you may want to
skip this chapter. Be sure, however, that the base address switch and memory configu-
ration switch have been set according to the instructions in section 2.3. The DA550 is
factory-calibrated and should be re-calibrated when necessary. Calibration procedures
are given in section 7.2.
2.2 UNPACKING AND INSPECTION
After you unpack the board from its outer shipping material:

1. Remove the item from its packing material, while placing one hand
firmly on a metal portion of the system chassis. This will prevent any
damage to the board components due to possible static electricity
build-up during transit.

2. After allowing a moment for static electricity discharge, carefully
unwrap the board from the anti-static material.

3. Inspect the board for any possible damage. If any sign of damage is
detected, return the board to the factory as described in section 7.4.

Confirm that each item on the packing list has been shipped. It is a good idea to retain
the packing material in the event that the board must be returned to the factory for
repair.
2.3 SWITCHES
This section describes the DIP switches on the DAS50 board. There are two switches:
the Base Address Switch and the Memory Configuration Switch. The location of each of
these is shown in Figure 2-l.




2-1
Installation DAS-50 User's Guide




-




Figure 2-1. Location of Switches


Base Address Switch
The DAS-50 uses a block of sixteen non-overlapping I/O addresses. The Base Address
Switch is used to set the Base Address of the Board. The DAS-50 has a default base
address setting of 310 (hex). This slot may be occupied within your computer. Base
addresses may be assigned within the range 100 to 3FF (hex). Check your system config-
uration and Operator's Manual for available addresses.

The Base Address Switch is a six-position, DIP switch located in the lower right-hand
corner of the board. (See Figure 2-l.) To set the appropriate base address, use a pen-tip
to move the individual switches into the OFF position. For example, to set a base
address of 300 hex (768 decimal), move switches 1 and 2 into the OFF position as shown
in Figure 2-2.

If you are still unsure of how to set the Base Address Switch, you may find it helpful to
run the DAS-50 Calibration Program, CALW.EXE. (Refer to section 7.2.) The third step
of the calibration procedure asks you to input the desired base address. A picture of the
switch setting is then drawn on the screen and the program verifies that the board is
found at the given address.




2-2
DASXI User's Guide Installation




Figure 2-2. Setting the BaseAddress Switch
Memory Configuration Switch
The Memory Configuration Switch is a two-position, DIP switch located next to the Base
Address Switch. (See Figure 2-l.) This switch is factory-set for the amount of memory
installed on the board. You should only have tore-set this switch if you change the
amount of memory. To set the Memory Configuration Switch, use a pen-tip to move
the individual switches into the desired position. (See Figure 2-3.) For example, the
switch shown in Figure 2-3 is set to 1024K of memory.




Figure 2-3. Memory Configuration Switch




2-3
Installation DAS-50 User's Guide



2.4 BOARD INSTALLATION
This section provides general instructions for installing the DAS-50 Board. For more
detailed information regarding installation of peripheral boards, consult the documenta-
tion provided with your computer.



WARNING



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



To install the DAS-50 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 disconnect.

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. Make sure that there is an additional
empty slot to its right. Loosen and remove thescrew at the top of
the blank adapter plate. Then slide the plate up and out to remove.

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

6. Be sure the desired Base Address has been set as described in section 2.3

7. Align the gold edge connector with the edge socket and the back adapter



2-4
DAS-50 User's Guide lnstollotion



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

You are now ready to make any necessary system connections and install the software.
2.5 SYSTEM CONNECTIONS
All connections to the DAS50 are made through the DB-25 connector located on the rear
edge of the card. This connector is shown in Figure 2-4.




Figure 2-4. DB-25 Connector




2-5
DAS-50 User's Guide



Connections through the BNCdO Interface Box
We recommend that MetraByte's BNC50 Interface Box be used if multiple BNC connec
tions are to be made. The BNC-50 provides connections for the four input channels, Dig-
ital Trigger, and External Clock.




Figure 2-5. System Block Diagram Using the BNC-50


NOTE: The DAS50 has an input resistance of lOOKOhms, which facilitates measuring
high impedance points. However, high impedance sources connected to the BNC50 can
become corrupted due to crosstalk on the flat ribbon cable. This can be particularly
noticeable when the external clock is specified.




2-6
DA.550 User's Guide Installation



If this should occur, there are several solutions:

1. Try using a multi-coaxial cable instead of the flat ribbon cable.

2. Use a shorter ribbon cable.

3. Try using a low-impedance source, such as the output of a wide-bandwidth
op amp, with a flat ribbon cable. This combination should show little
effect of crosstalk between channels or from the external clock.




2-7
Installation DAS-50 User's Guide




This page intentionally left blank.




2-a
DAS-Xl User's Guide Getting Started



CHAPTER 3
GETTlNG STARTED

3. I GENERAL
Before you begin operating the DAS-50, you must:

. Make a Back-up Copy of the DAS-50 Utility Disk
. Install the DAS-50 Software
. Modify your computer's CONFIGSYS File to include ANSISYS
. Install the DAS50 Device Drivers

These tasks are described in the following sections.
3.2 MAKING A BACK-UP COPY OF THE DISKETTE
Before installing the DAS50 Utility Program, first create a back-up copy of the DAS-50
Utility Diskette following the general procedure outlined below:

1. Turn on your computer and display.

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

3. At the DOS prompt, type:

DISKCOPY {source drive designator): (copy drive designator)

4. The system will prompt you through the disk copying process. Insert the
source diskette into the specified 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) ?. Enter N

5. When your copy has been completed, put the original disk is a safe place.
Label the back-up copy "DAS-50 Utility Disk Back-Up Copy". Use this disk
to install the software.




3-1
Getting Started DAS-50 User's Guide



3.3 INSTALLING THE DAS-50 LITILITYSOFTWARE
If at all possible, the DAS-50 software should be installed on your computer's hard
drive. Installing the DAS-50 software in this manner requires the use of the DOS COPY
command. To install the DAS-50 software:

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

2. The following instructions create a special directory for the DAS50
Utility Disk files and assumes this directory is called DASSO. At the
DOS prompt, change to the root directory (or other directory you want
the DAS-50 directory to be branched off from), i.e. type:

cd \

3. Next, create the DAS50 directory. Type:

mkdir \das5OORmd \das50

Change to the das50 directory by typing:

cd \das50

3. Place the DAS50 Utility Disk into the floppy drive (assume this is drive
a:) and type:

copy a:*.*

You are now ready to install the driver software.


3.4 ADDlNG ANSLSYS to CONFlG.SYS
The DAS-50 software requires that the ANSLSYS be loaded from your CONFIG.SYS. Be
sure to add the following instruction to your CONFIGSYS file:

DEVICE = (pathjANSI.SYS

If the device drivers are installed from the CONI7GSYS file, the ANSLSYS instruction




3-2
DAS-50 User's Guide Getting Started



must precede the device driver instructions (See 3.5.1 and 3.5.2.).
3.5 INSTALLING THE DEWCE DRIVE/%
Before operating your DAS-50, you must: load its driver files (VI.SYS and
DAS50DRV.SYS). This can be done in one of two ways: either by loading the drivers
from your CONFIG.SYS or by loading them directly from DOS using the Load/Unload
Option.

If you choose to load the drivers from your CONFIGSYS, they will be automatically
loaded every time your computer is booted up. This keeps the drivers memory-resident,
allowing the DAS-50 to be used at any time. There are two ways to modify your CON-
FIGSYS file: (11 Editing your CONFIGSYS file (See section 3.5.1.1 and (2) Using the
DAS50DRV.SYS Setup Program (See section 3.5.21.

If unoccupied memory is limited in your computer, you will probably want to manually
load and unload the drivers from the DOS command line. After the drivers have been
unloaded using this technique, 500 driver file bytes will remain memory resident. We
suggest creating batch files to invoke the load and unload options quickly. Section 3.5.3
discusses how to load the device drivers from the command line.

NOTE: If you have more than one DAS-50 installed in the same computer - or if you
have additional MetraByte PCIP family Virtual Instruments, refer to Appendix C for
Driver Installation procedure.

Syntax Conventions

The following syntax conventions are used in this section:

1. [ 1 -Anything enclosed within curly brackets is optional. Do not
include the curly brackets in the command.

2. UPPER CASE is used to define the abbrievated command name. The full name
may be used. Command statements should be entered in UPPER CASE.

3. Italic print is used to indicate command statement parameters.




3-3
Getting Started DAS-50 User's Guide



3.51 fdifing fhe CONF/G.SYS File
If you do not want to run the DAS-50 Set-Up Program and a,re familiar with your CON-
FIGSYS file, you may want to edit the existing CONFIG.SYS file with a standard word-
processor which handles ASCII input. Start by bringing the CONFIG.SYS file into the
editor. Then, after the DEVICE = ANSI. SYS instruction:


STEP 1. ADD `I-HE VLSYS DRI_vER

Add the following line to the CONFIGSYS file :

DEVICE = {PATE}VI.SYS (MONITOR} /SK = x /bfK = m /SK = s

Where:

h.x designates the Help Key. Whenever the indicated key (x) is pressed, the
help screen will be displayed. (If the DAS-50 is visible.) On-line help consists
of a brief description of the DAS50, a listing of current Key settings, and a
listing of all commands which can be incorporated into your application
programs.

x represents the key combination -- m and/or m) plus one of the fol-
lowing: @I through @, @l through (F101,@ through 8, Q, m, or Q),
spelled out. For example, "CTRL D" would indicate that (ctrll and IZJ
would be pressed at the same time to brin up the help screen. The default
setting for the help key parameter is (Alto %
H

MC designates the Mode Select Key. This key combination places the visible
DAS50 into keyboard entry mode. Refer to the following section for more
information.

m is the name of the ke combination -- (ctrl) and/or m lus one of the
following: @ through bz , @I through @I, @ through @l, bgab , [Esc), or
a. It must be spelled out, for example, "Fl" assigns the function key 0 to
be the Mode Select Key. The default Mode Select Key is Ircr;-i@l.

defines the Instrument Select Key. If you have multiple MetraByte PCIP
boards installed in your computer, this key or key combination is used to
toggle between their setup menus.




3-4
DAS-50 User's Guide Getting Started



8 is the name of the key or ke
of the following: &I
or @I spelled out. For
be pressed simultaneously. The default Instrument Select Key is aH.

MONITOR determines which type of monitor is being used with the system. Enter
MONO for a monochrome monitor or COLOR for a color monitor. COLOR is
the default setting.

NOTE: If optional parameters are not specified, their default values will be used.



DEVICE = C:\VI.SYS /RlC=ALT Ii /MK=A.LT M /SK=ALT TAR

If this example line were to be placed in the CONFIGSYS file, the default selections for
the Help Key ([AltlQ), Mode Select Key ([Altl@ll,and Instrument Select Key (a@)
are enabled.


STEP 2. ADD THE DASSODRV.S~&~~

Add the following line to the CONFIGSYS file:

DEVICE = {PATS]DASJODRV.SYS /PK=p /BA=b


Where:

PK designates the Pop-Up Menu Key. Whenever the indicated key or key
combination is pressed, the instrument's Pop-Up Setup Menu will be dis-
played. Each type of instrument must be assigned a different Pop-Up Key.

p is the name of the key combination. It must be spelled out. For example,
"CTRL I"' would indicate that [ctrll and @ must be pressed at the same
time to brin u the help screen. The default setting for the Pop-Up Menu
Key is f&f$.




3-5
Getting Started DAS-50 User's Guide




/ . YoTE .
We suggest that you avoid assigning only one key as a Pop-Up key --
unless It 1sa function key. Asslgnmg one key ~111most hkely will disable
that key for use in other software applications.
1
&A defines the base address setting for the DAS50. If this parameter is not
given, the default base address of &H310 (784 decimal) will be used.

b is the value of the base address. Base address values may be given in
either hex or decimal; however, if they are given in hex they must be prec-
eded by an ampersand and an H (Le., &H). Make certain that the base
address you give has not been already assigned to another peripheral.

NOTE: If optional parameters are not specified, their default values will be used


STEp RE-BOOTTHE PC,

Press -@[Dell. After the system start-up screens are displayed, a screen similar
to Figure 3-1 should appear.



******* VI.SYS loaded
0 aeip my is ALT a
o Instrument Select Key is ALT TAB
c Moda Select Key is ALT M

******* DASSODRV.SYS loaded
c Pop-Up Key is CTRL Fl
o Base Address is 0310 hex


Figure 3-l. Start-Up Screen


3.5.2 Using DSOSETUP.EXE fo Modify the CONFIGSVS File
If you prefer not to manipulate the CONFIGSYS file, use the DAS-50 Setup Program,
This is a self-explanatory program which is contained on the DAS-50 Utility Disk.




3-6
DAMC User's Guide Getting Started



Before you begin to run the DAS50, make certain that the DAS-50 and its software have
been installed correctly. Make note of the Base Address Switch setting, you will need
this information later.

1. Then, change to the directory where your DAS-50 software has been loaded
At the DOS prompt, type:

DSOSETUP

The program will then prompt you for the information required by the
system driver W.SY.9. Follow the instructions given. Sample screen
dialogue is provided in Figures 3-2 through Figure 3-8.


First, you will be asked to specify the drive where you want the
CONFIG.SYS file to reside. Enter the appropriate letter (i.e., 0.




DAS-50 Setup Program

Drive letter for CONFIG.SYS file : C




Select Boot Drive
Enter a drive letter where new/revised CONFIG.SYS
vi. rKNTER'.
Bitting `ESC' will exit p:eogram.




Figure 3-2. Selecting the Boot Drive




3-7
Getting Started DAS-50 User's Guide



2. You will then be asked for the path name. If you are unsure of what a
path name is, refer to the operatofs manual provide with your PC.
Otherwise, provide the path name, being certain to include the correct
drive specifier and directory name(s). See Figure 3-3.



DAS-50 Setup Program
Drive letter for CONFIG.SYS file : C
1 Full path name to VI.SYS: C:\DAS50 1




Generate the path name to VI.SYS
The default path is . . . . ( C:\ )
The path in the currant CONlUG.SYS is .... ( C:\DASSO\ )

Enter one of the following..
o The complete path to VI.SYS followed by 'ENTER'
0 'ENTER' to use default path
0 'ESC' to exit Setup




Figure 3-3. Generating the Path Name to VLSYS




3-8
DAS-50 User's Guide Getting Storied



3. Specify the type of monitor you are using: MONO or COLOR.



DAS-50 Setup Program
Drive letter for CONFIG.SYS file : C
Full path name to VI.SYS: C:\DASSO

Declare type of monitor: COLOR




Specify the type of monitor in system
The default monitor is . . . . ( COLOR )
The current monitor is . . . . ( COLOR )
Enter one of the following..
o The word COLOR or MONO followed by `ENTER'
0 `ENTER' to default monitor
0 `ESC' to exit setup




Figure 34. SpeciMng the type of Monitor



3. Set the Help Select Key, Mode Select Key, and Instrument Select Key as
illustrated in Figures 3-5 through 3-7.

Whenever the Help Key is pressed and the instrument is visible, the help
screen will be displayed. On-line help consists of a brief description
of the DAS-50, a listing of current key settings, and a listing of all
commands which can be incorporated into your application programs. The
default setting for the help key is (RltlQ.




3-9
Getting Started DAS-50 User's Guide



The Mode Select Key ls used to toggle between the mouse and
keyboard setup modes. Refer to the following section for more
information. The default Mode Select Key is a@l.

If you have other PCIP boards installed in your computer, the Instrument
Select Key is used to toggle between their setup menus. The currently
selected instrument's menu will be highlighted. The
default Instrument Select Key is [AltlfEZl.


Keys may be a single function key (Fl through FlO) or a combination
of keys (Ctrl or Alt with another valid key). Hot keys are specified by
"spelling out" the key(s) used. For example:

"Alt I" means that [Alto and Q are pressed simultaneously.

"Fl" indicates @I.

"Ctrl I" is (ctrl) and Q pressed together.

If an invalid key or key combination is entered, the following error message
will appear:

The Definition for the Key is not valid.
Strike any key to try another.




CAUTION
Single keystrokes may be defined as Keys; however, it is suggested that only function
keys be assigned in this manner. If the CONFIGSYS file resides in the root directory,
assigning a single keystroke will disable that key from being used in other software
aoolications. I




3-10
DAS-50 User's Guide Getting Started




DAS-50 Setup Program
Drive letter for CONFIG.SYS file : C
Full path name to VI.SYS: C:\DAS50
Declare type of monitor: COLOR
SELP KEY definition: ALT ?




Iielp Key Definition
The Help Key is defined by spelling out either or both the
legal SBIFT REYS (CTR& and ALT) plus 1 of the following
character keys.
A through 2, Fl through F10, 0 through 9
TAR, ESC, ?

The default RELP KEY is....( ALT E )
The current EELF KEY is.. . . ( ALT ? )
Enter one of the following..

o The definition for lielp Key followed by 'ENTER'
0 'ENTER' to use default SEZP KEY
0 'ESC' to end entry




Figure 3-5. Defining the Help Key




3-11
Getting Started DAS-50 User's Guide




DAS-50 Setup Program
Drive letter for CONFIG.SYS file : C
Full path name to VI.SYS: C: \DASSO

Declare type of monitor: COLOR
EELP KEY definition: ALT ?
MODE SELECT KEY definition: F2




Mode Select Key Definition
The Mode Select Key is defined by spelling out either or
both the legal
SHIFT KEYS (CTRL and ALT) plus 1 of the following character
keys.

A through 2, Fl through FlO, 0 through 9
TAR, ESC, ?

The default MODE SELECT KEY is.... ( ALT M )
The current blODE SELECT KEY is.... ( FZ )

Enter one of the following..
0 The definition for Mode Select Key followed by 'ENTER'
0 'ENT'SR' to use default SELP KEY
0 'ESC' to end entrv




Figure 3-6. Defining the Mode Select Key




3-12
DAS-50 User's Guide Getting Started




DAS-50 Setup Program
Drive letter for CONFIG.SYS file : C
Full path nama to VI.SYS: C: \DASSO

Declare type of monitor: COLOR
HELP KEY definition: ALT ?
MODE SELECT EEY definition: F2
INSTRDMENT SELECT IW.Y definition: CTRL I




Instrument Select Key Definition
Phe Instrument Select Key is defined by spelling out either or
moth the legal SHIFT EEYS (CTRL and ALT) plus 1 of the follow-
ing character keys.

A through 2, Fl through FlO, 0 through 9
TAR, ESC, ?

The default INSTRUMENT SELECT KEY ia....( ALT TAR )
The current INSTRUMENT SELECT KEY is....( CTRL I )
Enter one of the following..

0 The definition for INSTRUbfENT SELECT KEY followed by
'ENTER'
0 'ENTER' to use default INSTRDMENT SELECT EEY
0 IESC' to end entrv




Figure 3-7. Defining the Instrument SelectKey



4. You will now be asked to confirm your selections. (See Figure 3-8.)
If you wish to change an entry, press Q and the program will return
to the Boot Drive Selection Screen. To return to DOS, press (ESC1.
Otherwise, press @.




3-13
Getting Started DAS-50 User's Guide




DAS-50 Setup Program
Drive letter for CONFIG.SYS file : C
Full path name to VI.SYS: C:\DASSO
Declare type of monitor: COLOR
RFLP ICEY definition: ALT ?
MODE SELECT KEY definition: FZ
INSTRUb3ENT SELECT KEY definition: CTRL I




VI Setup CONFIRMATION
Enter one of the following..
0 'N' if above entries are NOT OK
0 'ENTER' to continue
0 'ESC` to exit setup




Figure 3-8. Confirming the System Setup



5. Next, the program will ask you for the information required to setup the
DAS-50 driver. It first prompts you for the path name to the file
DAS50DRVSYS. (See Figure 3-9.)




3-14
DAS-50 User's Guide Getting Started




DAS-50 Setup Program
Full path name to VI.SYS: C:\DASSO




Generate the path name to DASSODRV.SYS
The default path is . . . . ( C:\ )
The path in the current CONFIG.SYS is .... ( C:\DASSO\ )

Enter one of the following..

o The complete path to DASSODRV.SYS followed by 'ENTER'
0 'ENTER' to use default path
0 'Esc' to exit Setup




Figure 3-9. Generating the DA!%ODRV.SYS Path



6. The program then asks you to select a Pop-Up Menu Key as shown in
Figure 3-10. Whenever the Pop-Up Menu Key is pressed, the
instrument's Pop-Up Setup Menu will be displayed. It is suggested that
each type of instrument be assigned a different Pop-Up Key. The default
setting for the Pop-Up Menu Key is [Xl@).

Keys may be a single function key (Fl through FlO) or a combination
of keys (Ctrl or Ah with another valid key). Hot keys are specified by
"spelling out" the key(s) used. (See Step #3 for specifics.)




3-15
Getting Started DAS-50 User's Guide




DAS-50 Setup Program


I Full path name to DAS5ODRV.SYS:
POP UP MENU KEY definition: Am P
C:\DAS50
I




POP UP Key Definition
The Pop Up Key is defined by spelling out either or both the
legal SHIFT I[EYS (CTRL and ALT) plus 1 of the following charac-
ter keys.
A through 2, Fl through FlO, 0 through 9
TAB, ESC, ?

The default POP UP KEY is....( CTRL F2 )
The current POP UP KEY is....{ ALT P )
Enter one of the following..

o The definition for POP UP ICRY followed by `ENTER'
0 'ENTER' to use default POP UP KEY
0 'ESC' to and entry




Figure 3-20. Pop Up Key Definition


7. You now will be asked for the Base Address of the DAS-50. Base address
values may be given in either hex or decimal; however, if they are given
in hex they must be preceded by an ampersand and an H (Le., &H). Make
certain that the base address you give has not been already assigned to
another peripheral and agrees with the Base Address Switch setting on
the DAS-50.




3-16
DAS-50 User's Guide Getting Started




DAS-50 Setup Program

Pull path name to DAS50DRV.SYS: C:\DASSO
POP Up b5ND KEY definition: ALT P
Base Address for DAS-50:




D50 I/O Base Address Selection
The Base Address can be entered in either decimal or hex.
If entered in hex, the number anzst be preceded by 68
(i.e., ~8310 is the same as 784)

The default DAS-50 Base Address is ( SE310 ).
The current DAS-50 Base Address is ( &H310 ).

Enter one of the following..
0 The BASE ADDRESS to use for the DAS-50 followed by 'EN-
TER
0 'ENTER' to use default BASE ADDRESS
0 'RX' to exit Setup




Figure 3-11. Selecting II BaseAddress



8. You will now be asked to confirm your selections. (See Figure 3.12.)
If you wish to change an entry, press @I and the program will return
to the screen requesting a path name for the DAS-50 driver. To return
to DOS, press (Escl. Otherwise, press Q.




3-17
Getting Started DA.%50 User's Guide




DAS-50 Setup Program



I
Full path name to DAS5ODRV.SYS: C:\DASSO
POP DP KEY definition: ALT P
Base Address for the DAS-50:CE310 I



DAS-50 Setup CONFIRMATION
Enter one of the following..
0 'N' if above entries are NOT OK
0 'ENTER' to continue
0 `ESC' to exit setup




Figure 3-12. Confirming the DAS-50 Setup



9. The program will back-up your present CONFIG.SYS file to the file
CONFZG.BAK and write the new set-up information to the CONFIG.SYS
File. The CONFKSYS file is displayed. An example is given in
Figure 3-13. If your system already has a CONFIG.BAK file, you will
be asked if it should be deleted as shown in Figure 3-14.




3-18
DAS-50 User's Guide Getting Started




Backing old CONPIG.SYS file to CONPIG.BAK
and creating new CONFIG.SYS
DEVICE = C:\SYS\ANSI.SYS
DEVICE = C:\VI.SYS /BK=ALT Ii /MX=JU,T M /SK=ALT TAB
DEVICE = C:\DAS5ODRV.SYS /PK= CTRL P2 /BA = LIi310

files = 20
buffers = 10




Figure 3-13. Creation of the new CONFIG.SYS




Backing old CONPIG.SYS file to CONFIG.BAK
and creating new CONPIG.SYS

Backup file already exists
Delete it? (Y/N)

DEVICB = C:\SYS\ANSI.SYS
DEVICE = C:\VI.SYS /SK=ALT E /bX=IU,T M /SK=JUT TAB
DEVICE = C:\DAS5ODRV.SYS /PR= CTRL F2 /BA = 68310

files = 20
buffers = 10




Figure 3-14. CONFIG.BAK Already Exists




3-19
Getting Started DAS-50 User's Guide




10. In order to activate the CONFIGSYS file that was created, press (Xlliir;][~Gi:
simultaneously to re-boot the system.
3.53 Loadlng/Llnloadlng the Drivers from DOS
The VI.SYS and DAS50DRVSYS drivers can be "manually" loaded from the DOS com-
mand line, if desired. This is useful if you frequently run memory-resident programs.
Using this technique, a maximum of 500 driver file bytes will remain memory resident
once the drivers have been unloaded. You can create batch files which will alleviate the
tediousness of this method. See Notes for specifics on batch files.

NOTE: Both of these drivers must be loaded for the DAS50 to operate. Be sure that
ANSI.SYS has been loaded. Refer to Appendix C if you have multiple DAS5O's or
another MetraByte PCIP instrument installed.

Syntax Conventions

The following syntax conventions are used in this section:

1. ( ) -Anything enclosed within curly brackets is optional. Do not
include the curly brackets in the command.

2. 1 I - Anything enclosed within square brackets is m. Do not
include the square brackets in the command.

3. UPPER CASE is used to define the abbrievated command name. The full name
may be used. Command statements should be entered in UPPER CASE.

4. Italic print is used to indicate command statement parameters.


Loading the Drivers
The LSCOM utility lets you load the DAS-50 driver files from the DOS command line.
Help is available for this utility. The help screen briefly describes the function of, syntax
for, and a sample usage for LS.COM. To access help, type LS at the DOS prompt.




3-20
DAS-50 User's Guide Getting Started



VLSYS

To load the VISYS driver, type the following at the DOS prompt:

LS Path\vI. SYS] (/EK = X) (/MK = m} (/SK = s)

Where

IiK designates the Help Key. Whenever the indicated key (x) is pressed, the
help screen will be displayed if the DAS-50 is visible. On-line help consists
of a brief description of the DAS50, a listing of current Key settings, and a
listing of all commands which can be incorporated into your application
programs.

x represents the key combination ((ctrll and/or a lus one of the fol-
lowing: @I through @, a through (F101,@I through r4 , Q, m, or w)