Information in this document is subject to change without notice. The software
described is this document is furnished under a license agreement. The software may
be used or copied only in accordance with the terms of the agreement.
SCIENTIFIC SOFTWARE TOOLS, 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 SUITABLE FOR USE IN LIFE
SUPPORT OR CRITICAL APPLICATIONS.
This document may not, in whole or in part, be copied, photocopied, reproduced,
translated or reduced to any electronic medium or machine readable form without
prior written consent from Scientific Software Tools, Inc.
Keithley DAS-800 Series: Using DriverLINX with Your Hardware
Copyright 1998-2000 by Scientific Software Tools, Inc.
All rights reserved.
Third Printing.
SST 18-0300-1
DriverLINX, SSTNET, and LabOBJX are registered trademarks and
DriverLINX/VB is a trademark of Scientific Software Tools, Inc.
MetraByte is a trademark of Keithley Instruments, Inc.
Microsoft and Windows are registered trademarks and Visual C++ and Visual Basic
are trademarks of Microsoft Corporation.
Borland is a registered trademark and Borland C++ and Delphi are trademarks of
Borland International, Inc.
All other brand and product names are trademarks or registered trademarks of their
respective companies.
Contents
Preface5
Software License and Software Disclaimer of Warranty............................................................5
About DriverLINX.....................................................................................................................7
About This User’s Guide...........................................................................................................7
Conventions Used in This Manual.............................................................................................9
Generating a DriverLINX Configuration Report......................................................................71
What is in the Report?................................................................................................71
How do I Generate the Report?..................................................................................71
Glossary of Terms72
4 • ContentsKeithley DAS-800 Series
Preface
Software License and Software Disclaimer of Warranty
This is a legal document which is an agreement between you, the Licensee, and S cientific Software Tools, Inc. By opening this
sealed diskette pack age, Licensee agrees to become bound by t he terms of this Agreement , which include the Software License and
Software Disclaimer of Warranty.
This Agreement constitutes the c omplete Agreement between Licensee and Scientific S oftware Tools, Inc. If Licensee does not
agree to the terms of this Agreement, do not open the diskette pack age. Promptly return t he unopened diskette pac kage and the other
items (including writt en materials, binders or ot her containers, and hardware, if any ) that are part of this product to Sc ientific Software
Tools, Inc. for a full refund. No ref unds will be given for products that have opened disk packages or missing components.
Licensing Agreement
Copyright. The software and documentation is owned by Scientific Software Tools, Inc . and is protected by both United States
copyright laws and internati onal treaty provisions. Scientif ic Software Tools, Inc. authorizes the original purchaser only (Licensee) to
either (a) make one copy of the s oftware solely f or backup or archival purpos es, or (b) transfer t he software to a single hard disk only.
The written materials acc om panying the software may not be duplicated or copied for any reason.
Trade Secret. Licensee understands and agrees that t he software is the proprietary and conf idential property of Scienti fic Soft ware
Tools, Inc. and a valuable trade secret. Licensee agrees t o use the soft ware only for the int ended use under this Lic ense, and shall not
disclose the soft ware or i t s contents to any third part y.
Copy Restrictions. The Licensee may not modify or translate the program or relat ed documentation without the prior written
consent of Scientific Software Tools, Inc. All modifications, adaptat ions, and merged porti ons of the sof tware consti tute the s oftware
licensed to the Licensee, and the terms and condit ions of this agreem ent apply to sam e. Licensee may not distribute c opies, inc luding
electronic transfer of copies, of the m odified, adapt ed or merged sof tware or accom panying writt en material s to others . Licens ee agrees
not to reverse engineer, decompil e or di sassemble any part of the s of tware.
Unauthorized copying of the s oftware, incl uding software that has been modified, merged, or included wit h other software, or of the
written materials is expressly forbidden. Licensee may not rent, trans fer or lease the software to any t hird parties. Licensee agrees to
take all reasonable steps to protect Scientific Software Tools’ software from theft, disclosure or use contrary to the terms of the Licens e.
License. Scientific Software Tools, Inc. grants the Licensee only a non-exclus ive right t o use the serializ ed copy of t he software on
a single terminal connected t o a single computer. The Licensee may not net work the software or use it on more than one com puter or
computer terminal at the s ame time.
Term. This License is eff ective until terminated. This License will terminate automatically without not ice from Scientific Software
Tools, Inc. if Lic ensee f ails to c ompl y wit h any t erm or c onditi on of thi s Lic ense. The Lic ens ee agrees upon s uch t erminat ion to ret urn or
destroy the written materials and all copies of the sof tware. The Licensee may t erminate the agreement by returning or des troying the
program and documentation and all copies thereof.
Keithley DAS-800 SeriesPreface • 5
Limited Warranty
Scientific Software Tools, Inc. warrants that the s oftware will perform subst antially in accordance wit h the written materials and t hat
the program disk, instruc tional manuals and ref erence materials are free f rom defects in materials and workmanship under normal use
for 90 days from the date of receipt. All express or im pl i ed warranties of the software and related materials are limited to 90 days.
Except as specifical ly set forth herein, the sof tware and accom panying writ ten material s (incl uding inst ructions for use) are prov ided
“as is” without warranty of any kind. Further, Sci entific Software Tools , Inc. does not warrant, guarantee, or make any represe ntations
regarding the use, or the results of the use, of the soft ware or writt en mat erials in t erms of correc tnes s , ac curac y, reliabi lit y, current ness ,
or otherwise. The entire risk as to the results and performance of the soft ware is assumed by Licens ee and not by Scientifi c Software
Tools, Inc. or its distributors, agents or employees.
EXCEPT AS SET FORTH HEREIN, THE RE ARE NO OTHER WARRANT IE S, EI THER EXPRESS OR IMPLIED, INCLUDING BUT
NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH
RESPECT TO THE SOFTWARE, THE ACCOMPANYING WRITTEN MATERIALS, AND ANY ACCOMP ANYING HARDWARE.
Remedy. Scientific Soft ware Tools’ ent ire liability and t he Licens ee’s ex clus ive remedy s hall be, at Sc ientific S oftware Tools’ opt ion,
either (a) return of the price paid or (b) repair or replacement of the software or accompanying materials . In the event of a defect in
material or workmanship, t he item may be returned within the warranty period to S cientific Software Tools f or a replacement without
charge, provided the licensee prev iously sent in the limited warranty registration board to Sc ientific S oftware Tools, Inc ., or can furnis h
proof of the purchase of the program. This remedy is void if failure has resulted from accident, abuse, or misapplication. Any
replacement will be warranted for the remainder of the original warranty period.
NEITHER SCIENTIFIC SOFTWARE TOOLS, INC. NOR ANYONE ELSE WHO HAS BEEN INVOLVED IN THE CREATION,
PRODUCTION, SALE OR DELIV ERY OF THIS PRODUCT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTI AL,
OR INCIDENTAL DAMAGES (INCLUDING DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF
BUSINESS INFORMATION AND THE LIKE) ARISING OUT OF THE USE OF OR THE INABILIT Y TO USE SUCH PRODUCT EVEN
IF SCIENTIFIC SOFTWARE TOOLS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. BECAUSE SOME
JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL
DAMAGES, OR LIMITATIONS ON DURATION OF AN IMPLI ED WARRANTY, THE ABOVE LIMITATIONS MAY NOT APPLY TO
LICENSEE.
This agreement is governed by the laws of the Commonwealth of Pennsylvania.
6 • PrefaceKeithley DAS-800 Series
About DriverLINX
Welcome to DriverLINX for Microsoft Windows, the high-performance realtime data-acquisition device drivers for Windows application development.
DriverLINX is a language- and hardware-indepe ndent applic ation programming
interface designed to support hardware manufacturers’ high-speed analog, digital,
and counter/timer data-acquisition boards in Windows. DriverLINX is a multi-user
and multitasking data-acquisition resource manager providing more than 100 services
for foreground and background data acquisition tasks.
Included with your DriverLINX package are the following items:
•
The DriverLINX API DLLs and drivers supporting your dataacquisition hardware
•
Analog I/O Panel, a DriverLINX program that verifies the installation
and configuration of DriverLINX for your analog input/output board
and demonstrate s several virtual bench-top instruments
•
Learn DriverLINX, an interactive learning and demonstration program
for DriverLINX that includes a Digital Storage Oscilloscope
•
Source code for the sample programs
•
The DriverLINX Application Programming Interface files for your
compiler
•
DriverLINX On-line Help System
•
DriverLINX 4.0 Installation and Configuration Guide
•
DriverLINX Analog I/O Programming Guide
•
DriverLINX Technical Reference Manual
•
Supplemental Documentation on DriverLINX and your data acquisition
hardware
About This User’s Guide
The purpose of this manual is to help you quickly learn how to configure and use t he
hardware features of Keithley’s DAS-800 Series boards with DriverLINX.
•
For help instal l ing and configuring your ha rdware and DriverLINX,
please see the manual that accompanied your hardware and the
DriverLINX 4.0 Installation and Configuration Guide for your version
of Windows.
•
For more information on the DriverLINX API, please see the
DriverLINX Technical Reference Manual.
•
For additional help programming your board, please examine the source
code examples on the Distribution Disks.
This manual contains the following chapters:
Configuring the DAS-800 Series
Shows how to configure the DAS-800 Series using the Configure DriverLINX Device
dialog box.
Keithley DAS-800 SeriesPreface • 7
Using the DAS-800 Series with DriverLINX
Shows how to set up DriverLINX with the Edit Service Request dialog box to use
DAS-800 Series hardware features.
8 • PrefaceKeithley DAS-800 Series
Conventions Used in This Manual
The following notational conventions are used in this manual:
•
Itemized lists are identified by a round bullet (•).
•
Numbered lists indicate a step-by-step procedure.
•
DriverLINX Application Programming Interface and Windows macro
and function names are set in bold when mentioned in the text.
•DriverLINX indicates the exported function name of the device driver
DLL while DriverLINX indicates the product as a whole.
•
DriverLINX Application Programming Interface identifiers, menu
items, and Dialog Box names are italicized when mentioned in the text.
•
Italics are used for emphasis.
•
Source code and data structure examples are displayed in Courier
typeface and bounded by a box with a single line.
Code
•
Tables of information are bounded by a box with a double line.
Tables
Concept
•
Important concepts and notes are printed in the left margin.
Keithley DAS-800 SeriesPreface • 9
Configuring the DAS-800 Series
Introduction
The installation program provides general instructions for installing and configuring
DriverLINX. This manual explains the steps and special features that apply to
Keithley’s DAS-800 Series boards.
Installing and configuring DriverLINX for the Keithley DAS-800 Series boards
requires three steps:
1. Install DriverLINX. Follow the instructions given by the installation
program. The Read Me First instructions explain the components and
drivers you can install.
2. Configure DriverLINX. See “Configure DriverLINX Device Dialog”
on page 11 for configuration options specific to a Keithley DAS-800
Series model.
3. Install your DAS-800 hardware, read and follow the instructions in
your hardware manual.
Configure DriverLINX Device Dialog
DriverLINX uses a standardized configuration protocol for all data-acquisition
hardware. Configuration assigns a port address, interrupt resources a nd a
DriverLINX Logical Device number to a specific DAS-800 Series board in your
computer.
The installation program automatically starts the DriverLINX Configuration Panel.
To start it again later, use the shortcut on the Windows Start Menu or click here
.
Keithley DAS-800 SeriesConfiguring the DAS-800 Series • 11
When you click the Configure… button on the DriverLINX Configuration Panel,
DriverLINX displays the Configure DriverLINX Device dialog. The dialog has a
page for each subsystem on a Keithley DAS-800 Series model. The following
sections describe your choices in configuring DriverLINX to work with your board.
12 • Configuring the DAS-800 SeriesKeithley DAS-800 Series
Device Subsystem Page
Use the Device subsystem page to tell DriverLINX the model name, address and,
optionally, the expansion accessories connected to your DAS-800 Series board.
Vendor
The Vendor property displays “Keithley Instruments, Inc.” It is a read-only property.
Device
Windows NT
Windows 95/98
Windows NT
The Device property designates the Logical Device you are configuring. It is a readonly property. To change it, first save (OK) or quit (Cancel) the current
configuration. Then select or create a new Logical Device using the DriverLINX
Configuration Panel.
Model
The Model property selects or indicates the hardware model of the board you’re
configuring.
Select one of the following models:
DAS-800
DAS-801
DAS-802
Under Windows 95/98, DriverLINX displays the model you chose during
installation. To install a different model, cancel the configuration and run Add NewHardware from the Windows Control Panel.
Address
The Address property records the I/O port address for the board. The default address
used by DriverLINX is 768 decimal or 0x300 hex. If you have another peripheral
board at the same address, select a different base address. Note: you need a block of
eight free addresses.
Keithley DAS-800 SeriesConfiguring the DAS-800 Series • 13
Windows 95/98
Under Windows 95/98, Add New Hardware automatically selects an appropriate
address. To change the address, see “Using the Windows 95/98 Device Manager” on
page 15.
Detect
The Detect property enables and disables DriverLINX’s hardware detection and
testing algorithms. For maximum system reliability, always leave this check-box
marked.
Calibrate
The Calibrate property enables and disables hardware auto-calibration. This option is
grayed-out for the DAS-800 Series because it does not support autocalibration.
Special…
The Special… button displays the following dialog box of DAS-800 Series-specific
configuration options:
The Expansion Board Configuration for Keithley DAS-800 Series dialog allows you
to enable analog input expansion channels. By enabling analog input expansion
channels, you can run tasks that sample Analog Input Expansion Channels from an
add-on multiplexer. (See Enable expansion mode.)
The Expansion Board Configuration for Keithley DAS-800 Series dialog also allows
you to record the gain selections for each multiplexer attached to an analog input
channel. (See Enable static configuration.)
Note: On models DAS-801 and 802, using a multiplexer requires setting the
associated base channel’s switch to single-ended.
14 • Configuring the DAS-800 SeriesKeithley DAS-800 Series
•
Enable expansion mode
Checking Enable expansion mode allows you to run tasks with Analog Input
Expansion Channels in the task’s Channel/Gain list.
•
Enable static configuration
Checking Enable static configuration allows you to record the gain
selections for each multiplexer attached to the analog input channels.
DriverLINX uses this information to correctly convert A/D codes to
volts. Checking Enable static configuration enables the following
controls, which you will use to record information about your
multiplexers.
•
DAS-800 Expansion Static Configuration
Select the analog input channel that you want to configure. DriverLINX
records gain selections for an expansion accessory attached to each base
channel. To record your Exp Board and Gain setting for the selected
channel, click Attach. To clear previous settings for the selected
channel, click Detach.
•
Exp Board
Select an expansion accessory type in the list. DriverLINX supports the
following expansion accessory types:
EXP-800
EXP-16/16A
EXP-GP
•
EXP-GP Chn
If you selected the EXP-GP from the Exp Board list, select each EXP-GP
channel and record its gain setting. Note: The gains for all channels on
an EXP-GP must be from one of two sets of gains: (1, 10, 100, 1000) or
(2.5, 25, 250, 2500).
•
Gain
Select the gain that matches the settings of your multiplexer’s gain switches.
The gains listed change with your Exp Board selection.
Note: With static configuration disabled, you must perform gain correction in your
application.
Note: You can disable expansion mode and/or static configuration without losing
existing gain settings.
Using the Windows 95/98 Device Manager
Under Windows 95/98, DriverLINX uses the address and interrupt settings
maintained by the Windows Device Manager.
To view or change the settings for your board using the Devi ce Manager:
1. Start the Device Manger by right-clic king on My Computer and
selecting Properties or click here
2. Click the Device Manger tab.
.
3. Click the
list.
Keithley DAS-800 SeriesConfiguring the DAS-800 Series • 15
next to , if necessary to expand the
4. Under DriverLINX drivers, select the entry for your board. (It may or
may not have
next to it.)
5. Click the Properties button.
6. On the board’s property page, click the Resources tab.
7. To configure the board with an interrupt, use Setting based on “Basic
configuration 0.” Or, to configure the board without an interrupt, use
Setting based on “Basic configuration 1.”
8. To change a setting, select it under Resource Type and click the Change
Setting button. Windows will guide you in selecting an appropriate
value.
9. When you are done, click OK to close the board’s property page.
10. The board’s a ddress switches must match the address setting you select.
If necessary shut down your computer and reposition them as described
in your hardware manual.
11. Restart Windows to load the Logical Device for your board using the
new settings.
16 • Configuring the DAS-800 SeriesKeithley DAS-800 Series
Analog Input Subsystem Page
Use the Analog Input subsystem page to set or view your board’s interrupt request
level.
Channels
All DAS-800 Series boards have 8 analog input channels. On DAS-801 and 802
models, you can switch each channel to differential or single-ended. The switch
setting affects only the connections for the channel.
DriverLINX grays out this property in the configuration dialog.
Windows NT
Windows 95/98
Range
The analog input ranges for the DAS-800 Series are fully software programmable.
DriverLINX grays out this property in the configuration dialog.
Interrupt
For Windows NT, select a free interrupt request level to support interrupt mode
transfers. Valid IRQ levels are: 2, 3, 4, 5, 6, 7 and None.
Under Windows 95/98, Add New Hard ware automatically selects an appropriate
interrupt. To change the address, see “Using the Windows 95/98 Device Manager”
on page 15.
DMA level
The DAS-800 Series does not use system DMA channels. DriverLINX disables this
property.
Keithley DAS-800 SeriesConfiguring the DAS-800 Series • 17
For the DAS-800 Series, there
are no configurable options
on the Digital Input
subsystem page.
Digital Input Subsystem Page
Channels
The Channels prop erty allows you to select a Logical Channel for configuration or
viewing the channel’s range. The DAS-800 Series digital input channels have fixed
configurations.
DriverLINX defines the following Logical Channels for the DAS-800 Series digital
inputs:
Logical ChannelDriverLINX FunctionDAS-800 Series External
Connector
0Standard Digital InputIP1 … IP3
1External Tri ggerIP1/TRIG
2External ClockINT_IN/XCLK
Range
The Range property specifies the supported digital input range for the selected
Logical Channel. This is a read-only property.
Interrupt
The DAS-800 Series uses the same interrupt for digital input as for analog input. Go
to the Analog Input page to set it. DriverLINX grays out this property and displays it
as blank.
DMA level
The DAS-800 Series does not use system DMA channels. DriverLINX disables this
property and displays it as blank.
Configuration Setup
The Configuration Setup property specifies the hardware configuration of the digital
I/O ports. The DAS-800 Series has a fixed digital I/O configuration. Therefore,
DriverLINX disables this field.
18 • Configuring the DAS-800 SeriesKeithley DAS-800 Series
Initialize
Checking the Initialize check box instructs DriverLINX to use the Configuration
Setup property to configure the digital I/O ports. The DAS-800 Series has a fixed
digital I/O configuration. Therefore, DriverLINX disables this field.
Keithley DAS-800 SeriesConfiguring the DAS-800 Series • 19
Digital Output Subsystem Page
Use the Digital Output subsystem page to change the default digital output port
initialization values.
Channels
The Channels property allows you to select a Logical Channel for initialization or
viewing the channel’s range. DAS-800 Series boards only have a single digital output
channel.
Range
The Range property specifies the supported digital output range for the selected
Logical Channel. This is a read-only property.
Interrupt
The DAS-800 Series uses the same interrupt for digital output as for analog input. Go
to the Analog Input page to set it. DriverLINX grays out this property and displays it
as blank.
DMA level
The DAS-800 Series does not use system DMA channels. DriverLINX disables this
property and displays it as blank.
Initialization Value
The Initialization Value property specifies the digital output value DriverLINX will
write to the selected Logical Channel on hardware initialization. DriverLINX only
writes this value if you enable the Initialize check box. By default, DriverLINX uses
the hardware-defined initialization values if the Initialize check box is not checked.
For the DAS-800 Series, the default digital output value is zero.
Initialize
Checking the Initialize check box instructs DriverLINX to use the Initialization
Value property, rather than the default value, for digital output port initialization.
20 • Configuring the DAS-800 SeriesKeithley DAS-800 Series
Dec
This check box converts the Initialization Value property to decimal.
Hex
This check box converts the Initialization Value property to hexadecimal.
Keithley DAS-800 SeriesConfiguring the DAS-800 Series • 21
For the DAS-800 Series, there
are no configurable options
on the Counter/Timer
subsystem page.
Counter/Timer Subsystem Page
Resolution
The Resolution property specifies the clock frequency of the master oscillator. All
models have a 1.0 MHz clock source for pacing I/O and count/timer operations.
Interrupt
The DAS-800 Series does not support interrupts from counter/timers. DriverLINX
disables this property and displays it as blank.
22 • Configuring the DAS-800 SeriesKeithley DAS-800 Series
Using the DAS-800 Series with
DriverLINX
Introduction
This chapter shows you how to set up and use DAS-800 Series hardware features
with DriverLINX. See the Analog I/O Programming Guide for an overview of
DriverLINX programming.
The descriptions here use the Edit Service Request dialogs for language and API
independence. For the correct syntax with the language you’re using, please see the
DriverLINX Technical Reference Manuals. For DriverLINX examples in your
programming language, p lease see the sourc e code examples in the subdirectories of
your DriverLINX installation directory or on the original distribution media.
DriverLINX Hardware Model for DAS-800 Series
DriverLINX provides a portable, hardware-independent API for data-acquisition
boards while still allowing applications to access unique or proprietary hardware
features of specific products. To achieve this goal, DriverLINX maps a hardwareindependent, or abstract, data-acquisition model onto DAS-800 Series hardware
capabilities.
The following sections describe how DriverLINX implements DAS-800 Series
hardware features as Subsystems, Modes, Operations, Events, Logical Channels,
Buffers, and Messages.
DriverLINX Subsystems
The DAS-800 Series supports five of the six of DriverLINX’s subsystems:
1. Device—refers to a DAS-800 model as a whole.
2. AnalogInput—refers to the analog input channels, clocks, and control
signals.
3. AnalogOutput—refers to the analog output channels, clocks, and
control signals. The DAS-800 Series does not support Analog Output.
Keithley DAS-800 SeriesUsing the DAS-800 Series with DriverLINX • 23
Loading...
+ 51 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.