Keithley KPCI-3160 User manual

Artisan Technology Group is your source for quality
new and certied-used/pre-owned equipment
• FAST SHIPPING AND
DELIVERY
• TENS OF THOUSANDS OF
IN-STOCK ITEMS
• EQUIPMENT DEMOS
• HUNDREDS OF
MANUFACTURERS
SUPPORTED
• LEASING/MONTHLY
RENTALS
• ITAR CERTIFIED
SECURE ASSET SOLUTIONS
SERVICE CENTER REPAIRS
Experienced engineers and technicians on staff
at our full-service, in-house repair center
WE BUY USED EQUIPMENT
Sell your excess, underutilized, and idle used equipment
We also offer credit for buy-backs and trade-ins
www.artisantg.com/WeBuyEquipment
REMOTE INSPECTION
Remotely inspect equipment before purchasing with
our interactive website at www.instraview.com
LOOKING FOR MORE INFORMATION?
Visit us on the web at www.artisantg.com for more
information on price quotations, drivers, technical
specications, manuals, and documentation
Contact us: (888) 88-SOURCE | sales@artisantg.com | www.artisantg.com
SM
View
Instra

KPCI-3160
PCI Bus Digital I/O Board
User’s Manual
A GREATER MEASURE OF CONFIDENCE
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

WARRANTY
Hardware
Keithley Instruments, Inc. warrants that, for a period of three (3) years from the date of shipment, the Keithley Hardware product will be free from defects
in materials or workmanship. This warranty will be honored provided the defect has not been caused by use of the Keithley Hardware not in accordance
with the instructions for the product. This warranty shall be null and void upon: (1) any modification of Keithley Hardware that is made by other than Kei-
thley and not approved in writing by Keithley or (2) operation of the Keithley Hardware outside of the environmental specifications therefore.
Upon receiving notification of a defect in the Keithley Hardware during the warranty period, Keithley will, at its option, either repair or replace such
Keithley Hardware. During the first ninety days of the warranty period, Keithley will, at its option, supply the necessary on site labor to return the
product to the condition prior to the notification of a defect. Failure to notify Keithley of a defect during the warranty shall relieve Keithley of its obli-
gations and liabilities under this warranty.
Other Hardware
The portion of the product that is not manufactured by Keithley (Other Hardware) shall not be covered by this warranty, and Keithley shall have no
duty of obligation to enforce any manufacturers' warranties on behalf of the customer. On those other manufacturers’ products that Keithley pur-
chases for resale, Keithley shall have no duty of obligation to enforce any manufacturers’ warranties on behalf of the customer.
Software
Keithley warrants that for a period of one (1) year from date of shipment, the Keithley produced portion of the software or firmware (Keithley Software)
will conform in all material respects with the published specifications provided such Keithley Software is used on the product for which it is intended
and otherwise in accordance with the instructions therefore. Keithley does not warrant that operation of the Keithley Software will be uninterrupted or
error-free and/or that the Keithley Software will be adequate for the customer's intended application and/or use. This warranty shall be null and void
upon any modification of the Keithley Software that is made by other than Keithley and not approved in writing by Keithley.
If Keithley receives notification of a Keithley Software nonconformity that is covered by this warranty during the warranty period, Keithley will review
the conditions described in such notice. Such notice must state the published specification(s) to which the Keithley Software fails to conform and the
manner in which the Keithley Software fails to conform to such published specification(s) with sufficient specificity to permit Keithley to correct such
nonconformity. If Keithley determines that the Keithley Software does not conform with the published specifications, Keithley will, at its option, provide
either the programming services necessary to correct such nonconformity or develop a program change to bypass such nonconformity in the Keithley
Software. Failure to notify Keithley of a nonconformity during the warranty shall relieve Keithley of its obligations and liabilities under this warranty.
Other Software
OEM software that is not produced by Keithley (Other Software) shall not be covered by this warranty, and Keithley shall have no duty or obligation
to enforce any OEM's warranties on behalf of the customer.
Other Items
Keithley warrants the following items for 90 days from the date of shipment: probes, cables, rechargeable batteries, diskettes, and documentation.
Items not Covered under Warranty
This warranty does not apply to fuses, non-rechargeable batteries, damage from battery leakage, or problems arising from normal wear or failure to
follow instructions.
Limitation of Warranty
This warranty does not apply to defects resulting from product modification made by Purchaser without Keithley's express written consent, or by
misuse of any product or part.
Disclaimer of Warranties
EXCEPT FOR THE EXPRESS WARRANTIES ABOVE KEITHLEY DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PUR-
POSE. KEITHLEY DISCLAIMS ALL WARRANTIES WITH RESPECT TO THE OTHER HARDWARE AND OTHER SOFTWARE.
Limitation of Liability
KEITHLEY INSTRUMENTS SHALL IN NO EVENT, REGARDLESS OF CAUSE, ASSUME RESPONSIBILITY FOR OR BE LIABLE FOR:
(1) ECONOMICAL, INCIDENTAL, CONSEQUENTIAL, INDIRECT, SPECIAL, PUNITIVE OR EXEMPLARY DAMAGES, WHETHER
CLAIMED UNDER CONTRACT, TORT OR ANY OTHER LEGAL THEORY, (2) LOSS OF OR DAMAGE TO THE CUSTOMER'S DATA OR
PROGRAMMING, OR (3) PENALTIES OR PENALTY CLAUSES OF ANY DESCRIPTION OR INDEMNIFICATION OF THE CUSTOMER
OR OTHERS FOR COSTS, DAMAGES, OR EXPENSES RELATED TO THE GOODS OR SERVICES PROVIDED UNDER THIS WARRANTY.
Keithley Instruments, Inc.
28775 Aurora Road • Cleveland, Ohio 44139 • 440-248-0400 • Fax: 440-248-6168
1-888-KEITHLEY (534-8453) • www.keithley.com
Sales Offices:BELGIUM: Bergensesteenweg 709 • B-1600 Sint-Pieters-Leeuw • 02-363 00 40 • Fax: 02/363 00 64
CHINA: Yuan Chen Xin Building, Room 705 • 12Yumin Road, Dewai, Madian • Beijing 100029 • 8610-6202-2886 • Fax: 8610-6202-2892
FINLAND: Tietäjäntie 2 • 02130 Espoo • Phone: 09-54 75 08 10 • Fax: 09-25 10 51 00
FRANCE: 3, allée des Garays • 91127 Palaiseau Cédex • 01-64 53 20 20 • Fax: 01-60 11 77 26
GERMANY: Landsberger Strasse 65 • 82110 Germering • 089/84 93 07-40 • Fax: 089/84 93 07-34
GREAT BRITAIN: Unit 2 Commerce Park, Brunel Road • Theale • Berkshire RG7 4AB • 0118 929 7500 • Fax: 0118 929 7519
INDIA: Flat 2B, Willocrissa • 14, Rest House Crescent • Bangalore 560 001 • 91-80-509-1320/21 • Fax: 91-80-509-1322
ITALY: Viale San Gimignano, 38 • 20146 Milano • 02-48 39 16 01 • Fax: 02-48 30 22 74
JAPAN: New Pier Takeshiba North Tower 13F • 11-1, Kaigan 1-chome • Minato-ku, Tokyo 105-0022 • 81-3-5733-7555 • Fax: 81-3-5733-7556
KOREA: 2FL., URI Building • 2-14 Yangjae-Dong • Seocho-Gu, Seoul 137-888 • 82-2-574-7778 • Fax: 82-2-574-7838
NETHERLANDS: Postbus 559 • 4200 AN Gorinchem • 0183-635333 • Fax: 0183-630821
SWEDEN: c/o Regus Business Centre • Frosundaviks Allé 15, 4tr • 169 70 Solna • 08-509 04 679 • Fax: 08-655 26 10
SWITZERLAND: Kriesbachstrasse 4 • 8600 Dübendorf • 01-821 94 44 • Fax: 01-820 30 81
TAIWAN: 1FL., 85 Po Ai Street • Hsinchu, Taiwan, R.O.C. • 886-3-572-9077• Fax: 886-3-572-9031
4/02
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

KPCI-3160
PCI Bus Digital I/O Board
User’s Manual
©1999, Keithley Instruments, Inc.
All rights reserved.
Cleveland, Ohio, U.S.A.
Fourth Printing, February 2001
Document Number: 98110 Rev. D
Windows and WindowsNT are registered trademarks of Microsoft Corporation.
DriverLINX is a registered trademark of Scientific Software Tools, Inc.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Manual Print History
The print history shown below lists the printing dates of all Revisions and Addenda created for this manual. The
Revision Level letter increases alphabetically as the manual undergoes subsequent updates. Addenda, which are
released between Revisions, contain important change information that the user should incorporate immediately into
the manual. Addenda are numbered sequentially. When a new Revision is created, all Addenda associated with the
previous Revision of the manual are incorporated into the new Revision of the manual. Each new Revision includes a
revised copy of this print history page.
Revision A (Document Number 98110) .......................................................................................... December 1999
Revision B (Document Number 98110) ................................................................................................... May 2000
Revision C (Document Number 98110) ...............................................................................................August 2000
Revision D (Document Number 98110)............................................................................................February 2001
All Keithley product names are trademarks or registered trademarks of Keithley Instruments, Inc.
Other brand and product names are trademarks or registered trademarks of their respective holders.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Safety Precautions
The following safety precautions should be observed before using
this product and any associated instrumentation. Although some in-
struments and accessories would normally be used with non-haz-
ardous voltages, there are situations where hazardous conditions
may be present.
This product is intended for use by qualified personnel who recog-
nize shock hazards and are familiar with the safety precautions re-
quired to avoid possible injury. Read and follow all installation,
operation, and maintenance information carefully before using the
product. Refer to the manual for complete product specifications.
If the product is used in a manner not specified, the protection pro-
vided by the product may be impaired.
The types of product users are:
Responsible body
is the individual or group responsible for the use
and maintenance of equipment, for ensuring that the equipment is
operated within its specifications and operating limits, and for en-
suring that operators are adequately trained.
Operators
use the product for its intended function. They must be
trained in electrical safety procedures and proper use of the instru-
ment. They must be protected from electric shock and contact with
hazardous live circuits.
Maintenance personnel
perform routine procedures on the product
to keep it operating properly, for example, setting the line voltage
or replacing consumable materials. Maintenance procedures are de-
scribed in the manual. The procedures explicitly state if the operator
may perform them. Otherwise, they should be performed only by
service personnel.
Service personnel
are trained to work on live circuits, and perform
safe installations and repairs of products. Only properly trained ser-
vice personnel may perform installation and service procedures.
Keithley products are designed for use with electrical signals that
are rated Installation Category I and Installation Category II, as de-
scribed in the International Electrotechnical Commission (IEC)
Standard IEC 60664. Most measurement, control, and data I/O sig-
nals are Installation Category I and must not be directly connected
to mains voltage or to voltage sources with high transient over-volt-
ages. Installation Category II connections require protection for
high transient over-voltages often associated with local AC mains
connections. Assume all measurement, control, and data I/O con-
nections are for connection to Category I sources unless otherwise
marked or described in the Manual.
Exercise extreme caution when a shock hazard is present. Lethal
voltage may be present on cable connector jacks or test fixtures. The
American National Standards Institute (ANSI) states that a shock
hazard exists when voltage levels greater than 30V RMS, 42.4V
peak, or 60VDC are present.
A good safety practice is to expect
that hazardous voltage is present in any unknown circuit before
measuring.
Operators of this product must be protected from electric shock at
all times. The responsible body must ensure that operators are pre-
vented access and/or insulated from every connection point. In
some cases, connections must be exposed to potential human con-
tact. Product operators in these circumstances must be trained to
protect themselves from the risk of electric shock. If the circuit is
capable of operating at or above 1000 volts,
no conductive part of
the circuit may be exposed.
Do not connect switching cards directly to unlimited power circuits.
They are intended to be used with impedance limited sources.
NEVER connect switching cards directly to AC mains. When con-
necting sources to switching cards, install protective devices to lim-
it fault current and voltage to the card.
Before operating an instrument, make sure the line cord is connect-
ed to a properly grounded power receptacle. Inspect the connecting
cables, test leads, and jumpers for possible wear, cracks, or breaks
before each use.
When installing equipment where access to the main power cord is
restricted, such as rack mounting, a separate main input power dis-
connect device must be provided, in close proximity to the equip-
ment and within easy reach of the operator.
For maximum safety, do not touch the product, test cables, or any
other instruments while power is applied to the circuit under test.
ALWAYS remove power from the entire test system and discharge
any capacitors before: connecting or disconnecting cables or jump-
ers, installing or removing switching cards, or making internal
changes, such as installing or removing jumpers.
Do not touch any object that could provide a current path to the com-
mon side of the circuit under test or power line (earth) ground.Always
make measurements with dry hands while standing on a dry, insulated
surface capable of withstanding the voltage being measured.
The instrument and accessories must be used in accordance with its
specifications and operating instructions or the safety of the equip-
ment may be impaired.
Do not exceed the maximum signal levels of the instruments and ac-
cessories, as defined in the specifications and operating informa-
tion, and as shown on the instrument or test fixture panels, or
switching card.
When fuses are used in a product, replace with same type and rating
for continued protection against fire hazard.
Chassis connections must only be used as shield connections for
measuring circuits, NOT as safety earth ground connections.
If you are using a test fixture, keep the lid closed while power is ap-
plied to the device under test. Safe operation requires the use of a
lid interlock.
5/02
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

If or is present, connect it to safety earth ground using the
wire recommended in the user documentation.
The symbol on an instrument indicates that the user should re-
fer to the operating instructions located in the manual.
The symbol on an instrument shows that it can source or mea-
sure 1000 volts or more, including the combined effect of normal
and common mode voltages. Use standard safety precautions to
avoid personal contact with these voltages.
The
WARNING
heading in a manual explains dangers that might
result in personal injury or death. Always read the associated infor-
mation very carefully before performing the indicated procedure.
The
CAUTION
heading in a manual explains hazards that could
damage the instrument. Such damage may invalidate the warranty.
Instrumentation and accessories shall not be connected to humans.
Before performing any maintenance, disconnect the line cord and
all test cables.
To maintain protection from electric shock and fire, replacement
components in mains circuits, including the power transformer, test
leads, and input jacks, must be purchased from Keithley Instru-
ments. Standard fuses, with applicable national safety approvals,
may be used if the rating and type are the same. Other components
that are not safety related may be purchased from other suppliers as
long as they are equivalent to the original component. (Note that se-
lected parts should be purchased only through Keithley Instruments
to maintain accuracy and functionality of the product.) If you are
unsure about the applicability of a replacement component, call a
Keithley Instruments office for information.
To clean an instrument, use a damp cloth or mild, water based
cleaner. Clean the exterior of the instrument only. Do not apply
cleaner directly to the instrument or allow liquids to enter or spill
on the instrument. Products that consist of a circuit board with no
case or chassis (e.g., data acquisition board for installation into a
computer) should never require cleaning if handled according to in-
structions. If the board becomes contaminated and operation is af-
fected, the board should be returned to the factory for proper
cleaning/servicing.
!
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents
i
1 Overview
How the manual is organized ............................................................................................................................. 1-2
How to distinguish special text items ................................................................................................................. 1-2
How to move around the electronic version of the manual ............................................................................... 1-3
2 General Description
Specifications ..................................................................................................................................................... 2-2
System requirements .......................................................................................................................................... 2-2
Functional description ........................................................................................................................................ 2-2
Standard digital I/O emulation ................................................................................................................... 2-2
Other I/O characteristics ............................................................................................................................ 2-3
Software ............................................................................................................................................................. 2-3
3 Installation
Installing the software ........................................................................................................................................ 3-2
Software options ........................................................................................................................................ 3-2
Installing DriverLINX ............................................................................................................................... 3-3
Installing application software and drivers ................................................................................................ 3-4
Installing the KPCI-3160 board ......................................................................................................................... 3-4
Configuring and checking the board and DriverLINX installations .................................................................. 3-6
Configuring the combined board and DriverLINX installations ............................................................... 3-6
Checking the combined board and DriverLINX installations .................................................................... 3-6
Connecting the KPCI-3160 board ...................................................................................................................... 3-7
Identifying I/O connector pin assignments on the KPCI-3160 I/O connector ........................................... 3-8
Connecting interface accessories ............................................................................................................. 3-10
Wiring I/O to your external circuits ........................................................................................................ 3-17
4 External Interrupts
External interrupt description ............................................................................................................................. 4-2
External interrupt application ............................................................................................................................. 4-3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

ii
5 Troubleshooting
Identifying symptoms and possible causes ......................................................................................................... 5-2
Systematic problem isolation ............................................................................................................................. 5-3
General problem isolation procedure ......................................................................................................... 5-3
Specified tests ................................................................................................................................................... 5-11
Checking for board as a PCI resource ...................................................................................................... 5-11
I/O bit tests ............................................................................................................................................... 5-12
Technical support ............................................................................................................................................. 5-26
A Specifications
B I/O Address Mapping
General PCI address assignments ...................................................................................................................... B-2
Register assignments ......................................................................................................................................... B-3
Control and data registers .......................................................................................................................... B-3
Interrupt control/status register .................................................................................................................. B-5
Manipulating control and data registers ............................................................................................................ B-8
General approach to manipulating control and data registers ................................................................... B-8
Using existing port I/O software to manipulate control and data registers ............................................... B-9
C Glossary
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

List of Illustrations
iii
3 Installation
Figure 3-1 Pin assignments for the KPCI-3160 I/O connector (P101) ........................................................................ 3-8
Figure 3-2 Connector locations on the KPIC-3160 board ........................................................................................... 3-9
Figure 3-3 The CONN-3160-D1 accessory ............................................................................................................... 3-10
Figure 3-4 Using additional accessories with the KPCI-3160 ................................................................................... 3-16
Figure 3-5 Contact-closure monitoring at a KPCI-3160 board input ........................................................................ 3-17
Figure 3-6 De-bounce circuit for an input of a KPCI-3160 board ............................................................................. 3-17
5 Troubleshooting
Figure 5-1 Problem isolation flowchart ....................................................................................................................... 5-4
Figure 5-2 Mating connector wiring for loop-back test ............................................................................................. 5-14
Figure 5-3 An AIO Panel example ............................................................................................................................ 5-16
Figure 5-4 DIO channel tab example ......................................................................................................................... 5-17
Figure 5-5 Configuring the digital I/O channels as inputs and outputs ..................................................................... 5-19
Figure 5-6 Configuring channel 0 for output bit pattern A ........................................................................................ 5-19
Figure 5-7 Proper response of channel 1 input bits when channel o output bits
are set to bit pattern A ....................................................................................................................... 5-19
Figure 5-8 Proper response of channel 2 input bits when channel 0 output bits
are set to bit pattern A ....................................................................................................................... 5-20
Figure 5-9 Configuring channel 0 for output bit pattern B ........................................................................................ 5-20
Figure 5-10 Proper response of channel 1 bits when channel 0 output bits
are set to bit pattern B ........................................................................................................................ 5-20
Figure 5-11 Proper response of channel 2 bits when channel 0 output bits
are set to bit pattern B ........................................................................................................................ 5-21
Figure 5-12 An AIO Panel example ............................................................................................................................ 5-23
Figure 5-13 Configuring the digital I/O channels as inputs and outputs ..................................................................... 5-24
Figure 5-14 Configuring channel 0 for output bit pattern A ........................................................................................ 5-24
Figure 5-15 Configuring channel 1 for output bit pattern B ........................................................................................ 5-25
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

List of Tables
v
2 General Description
Table 2-1 System requirements .................................................................................................................................. 2-2
3 Installation
Table 3-1 Pin descriptions for KPCI-3160 I/O connector (P101) .............................................................................. 3-9
Table 3-2 Port-group 0 pin-to-pin correspondence between CONN-3160-D1
50-pin and 100-pin connectors, STP-100U 100-pin connector,
and the KPCI-3160 I/O connector ..................................................................................................... 3-11
Table 3-3 Port-group 1 pin-to-pin correspondence between CONN-3160-D1
50-pin and 100-pin connectors, STP-100U 100-pin connector,
and the KPCI-3160 I/O connector ..................................................................................................... 3-13
Table 3-4 Port-group 2 pin-to-pin correspondence between CONN-3160-D1
50-pin and 100-pin connectors, STP-100U 100-pin connector,
and the KPCI-3160 I/O connector ..................................................................................................... 3-14
Table 3-5 Port-group 3 pin-to-pin correspondence between CONN-3160-D1
50-pin and 100-pin connectors, STP-100U 100-pin connector,
and the KPCI-3160 I/O connector ..................................................................................................... 3-15
Table 3-6 Description of manufactured cables and accessories ............................................................................... 3-16
4 External Interrupts
Table 4-1 Connector pins used for external interrupt function .................................................................................. 4-2
Table 4-2 External-interrupt responses ....................................................................................................................... 4-4
5 Troubleshooting
Table 5-1 Basic troubleshooting information ............................................................................................................. 5-2
Table 5-2 Loop-back connection summary .............................................................................................................. 5-13
Table 5-3 Where to insert the loop-back connector ................................................................................................. 5-15
Table 5-4 Channel information ................................................................................................................................ 5-17
Table 5-5 Where to insert the output-set-test accessories ........................................................................................ 5-22
Table 5-6 Which channel tab to click ....................................................................................................................... 5-23
B I/O Address Mapping
Table B-1 Data and control register addresses ........................................................................................................... B-4
Table B-2 Control register bit functions for each port group ................................................................................... B-4
Table B-3 Bit functions for interrupt control/status register ...................................................................................... B-5
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

1
Overview
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

1-2 Overview KPCI-3160 User’s Manual
This manual contains descriptive information and installation and use instructions for the
KPCI-3160 digital interface board.
The manual is intended for data acquisition system designers, engineers, technicians, scientists,
and other users responsible for setting up, cabling, and wiring signals to KPCI-3160 boards. To
follow the information and instructions contained in this manual, you must be familiar with the
operation of Windows 95, 98, or NT, with basic data-acquisition principles, and with your appli-
cation. However, if you find unfamiliar terms in this manual, check the Glossary in Appendix C.
To locate topics discussed in this manual, search the index.
To use this manual effectively, review the remaining brief topics in this preface:
•
The organization of the manual.
•
The special font/typeface conventions used in the manual.
•
Moving quickly to cross-referenced parts of the manual (in the electronic [PDF] version).
How the manual is organized
In addition to this Overview, the
KPCI-3160 User’s Manual is organized as follows:
•
Section 2 briefly describes features and characteristics of the KPCI-3160.
•
Section 3 first describes software options and installation notes and then the following oper-
ations (which must be done after the software is installed):
– Installing the board.
– Configuring the combined board and software installations.
– Checking the combined board and software installation.
– Installing accessories, and connecting signals.
•
Section 4 briefly describes the ability to configure two of the I/O lines as external interrupt
enable and external interrupt request lines and identifies the connector pins used.
•
Section 5 describes how to troubleshoot your system and obtain technical support.
•
Appendix A contains KPCI-3160 specifications.
•
Appendix B describes memory-mapping information for special situations. You normally
can skip Appendix B. Use the DriverLINX driver provided with your board for virtually all
programming situations.
•
Appendix C is a glossary of some terms used in this manual.
•
An Index completes the manual.
How to distinguish special text items
Italic, bold, and upper-case letters, the Courier font, and quotation marks distinguish certain text
items from the general text. The following text conventions are used (exclusive of headings):
•
10 point Times Bold
distinguishes the following:
– All Windows 95/98/NT user-interaction items: commands, screen messages, menu
names, menu options, and dialog-box items—including captions, user selections, and
typed user inputs (but not including dialog box names, which are in regular text).
–
CAUTION
statements.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

KPCI-3160 User’s Manual Overview 1-3
•
10 point Times Italic
distinguishes the following:
– Emphasis in general.
– Cross-references to other documents, such as other manuals or books.
–
NOTE
statements.
•
10 POINT TIMES UPPER CASE distinguishes the following:
– Switches, such as ON and OFF.
– Keyboard keys, such as ENTER.
•
10 point Courier
distinguishes software code statements
•
“Double quote marks” distinguish the following:
– Cross references to other manual sections, such as “Troubleshooting.”
– Literals, such as when referring to the “5V” labels on I/O connectors.
How to move around the electronic version of the manual
When reading the electronic PDF version of this manual, use Acrobat Reader
View
and
Tools
menu selections to move generally through the manual. Additionally, mouse-click on special
links in the manual to jump directly to the page of a referenced item, as follows:
•
Mouse-click the top margin of any page to jump to the Table of Contents.
•
Mouse-click on any Index or Table of Contents (TOC) page number to jump to the page.
•
Mouse-click on any of these cross references to jump to the cross-referenced figure, table,
section, or subsection. Cross references are not framed in red—in contrast to page numbers
in the Index and Table of Contents.
– Figure number headings, such as Figure 3-1.
– Table number headings, such as Table 3-1.
– Section and subsection headings that are enclosed in quotes, such as “How the manual is
organized.”
To
return
from the referenced item to what you were reading
before
you jumped to the refer-
enced item—the Index, TOC, top page margin, or cross reference—do either of the following:
•
Hold down the CONTROL key and press the [ - ] key (i.e. press CONTROL + -).
•
In the Acrobat Reader
View
menu, click
Go Back
.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

2
General Description
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

2-2 General Description KPCI-3160 User’s Manual
Specifications
General specifications are listed in “Specifications,” Appendix A. I/O connections are identified
in Section 3, and I/O addresses (needed by advanced programmers, only) are defined in “I/O
Address Mapping,” Appendix B.
System requirements
The system capabilities required to run the KPCI-3160 board, and to use the DriverLINX soft-
ware supplied with the board, are listed in Table 2-1.
Functional description
The KPCI-3160 is a 96-bit parallel digital interface board designed for the PCI bus. The
KPCI-3160 works in a Windows 95/98/NT environment and takes advantage of the 32-bit width.
Applications include communicating with peripherals, operating Keithley relay boards, and
reading switch inputs. All I/O lines are TTL compatible.
Standard digital I/O emulation
The 96 I/O lines emulate the I/O lines of four Intel 8255 Programmable Peripheral Interface
(PPI) chips configured for control register mode 0, as follows:
•
For each emulated 8255 chip there is a PA port, a PB port, and a PC port.
•
Each PA and PB port is byte-wide (8-bits) and can be set independently under software con-
trol as inputs or outputs.
Table 2-1
System requirements
CPU Type
Pentium or higher processor on motherboard with PCI bus version 2.1.
Operating System
Windows® 95 or higher.
Windows® NT version 4.0 or higher.
Memory
16 MB or greater RAM when running Windows® 95 or 98.
32 MB or greater RAM when running Windows® NT.
Hard Disk Space
4 MB for minimum installation.
50 MB for maximum installation.
Other
A CD ROM drive*.
A free PCI bus expansion slot.
Enough reserve computer power supply capacity to power the
KPCI-3160 board, which draws 15W maximum at 5VDC.
*Any CD ROM drive that came installed with the required computer should be satisfactory. However, if you have post-
installed an older CD-ROM drive or arrived at your present system by updating the microprocessor or replacing the
motherboard, be aware that some early CD-ROM drives do not support the long file names often used in 32-bit
Windows files.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

KPCI-3160 User’s Manual General Description 2-3
•
Each PC port is byte-wide but can be divided into two separate 4-bit ports: PC lower and PC
upper, each of which can be set up as either inputs or outputs.
Under Windows 95/98, most existing port I/O application programs and data acquisition pack-
ages designed for ISA boards work with the KPCI-3160 board. The PCI-BIOS-assigned base
address is entered in place of a user-assigned base address. (Use of such programs under
Windows NT, not recommended, is much more involved.) Refer to “Using existing port I/O soft-
ware to manipulate control and data registers,” Appendix B.
Other I/O characteristics
Additional I/O port characteristics are summarized below:
•
Two of the KPCI-3160 general-purpose I/O lines can be alternatively configured via soft-
ware to be external interrupt enable input, INT_ENN, and external interrupt request input,
INT_REQ.
•
The KPCI-3160 can output higher currents than the industry standard 8255 chip. Output cur-
rent capabilities of 15mA (source) and 64mA (sink) allow it to control many LEDs, up to 22
modules, and Keithley relay boards.
NOTE
The maximum current on each +5V and digital ground pin is 1A, limit-
ing the total current to 2A.
•
The PA, PB, and PC ports can always be read-accessed, regardless of the direction they were
initially configured for, without the external signal level being affected. For example, when a
port is configured as an output, it is still possible to execute a read of that port. The data
returned by the read is the data in the I/O register.
•
On power-up or whenever the computer’s hardware reset line is asserted, all ports are cleared
and set as inputs, and interrupts are configured to start on the rising edge of the interrupt
request signal (default configuration).
•
The four groups of PA, PB, and PC ports interface to user I/O connections via a standard
100-pin connector. Using a CONN-3160-D1 accessory, the KPCI-3160 board can be con-
nected to the same I/O accessories as can the KPCI-PIO96 and PIO-96J boards.
•
Five volt power from the computer power supply is made available at the I/O connector, for
use in external circuits.
Software
The user can select a fully integrated data acquisition software package (e.g., TestPoint or
LabVIEW) or write a custom program supported by DriverLINX. DriverLINX software is
included with the hardware.
DriverLINX supports programmers who wish to create custom applications using Visual C/C++,
Visual Basic, or Delphi. DriverLINX accomplishes foreground and background tasks to perform
data acquisition. TestPoint is a fully featured, integrated application package with a graphical
drag-and-drop interface, which can be used to create data acquisition applications without pro-
gramming. LabVIEW is a fully featured graphical programming language used to create virtual
instrumentation.
Refer to Section 3, “Installation,” for more information about software.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

3
Installation
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

3-2 Installation KPCI-3160 User’s Manual
Section 3 describes the following operations, in the order in which they should be performed:
•
Reviewing software options and installing software (installation notes that supplement the
Read this first
sheet).
•
Preparing for and doing physical installation of the board.
•
Configuring the installed software and board.
•
Identifying I/O connector pins, connecting the board to interface accessories, and wiring the
I/O to external circuits.
NOTE
Install the DriverLINX software before installing the KPCI-3160 board.
Otherwise, the device drivers will be more difficult to install.
Installing the software
Software options
The KPCI-3160 has two software options. The user can select a fully integrated data acquisition
software package (e.g., TestPoint or LabVIEW). The user can also run a custom program in
Visual C/C++, Visual Basic, or Delphi using DriverLINX (included with the hardware). A sum-
mary of the pros and cons of using integrated packages or writing custom programs is provided
in the Keithley Full Line Catalog. The KPCI-3160 has fully functional driver support for use
under Windows 95/98/NT.
NOTE DriverLINX must be installed to run any applications for the board,
whether they are custom-programmed applications or integrated soft-
ware packages, such as TestPoint or LabVIEW.
DriverLINX driver software for Windows 95/98/NT
DriverLINX software, supplied by Keithley with the KPCI-3160 board, provides convenient
interfaces to configure and set I/O bits without register-level programming.
Most importantly, however, DriverLINX supports those programmers who wish to create cus-
tom applications using Visual C/C++, Visual Basic, or Delphi. DriverLINX accomplishes fore-
ground and background tasks to perform data acquisition. The software includes memory and
data buffer management, event triggering, extensive error checking, and context sensitive online
help.
More specifically, DriverLINX provides application developers a standardized interface to over
100 services for creating foreground and background tasks for the following:
•Analog input and output
•Digital input and output
•Time and frequency measurement
•Event counting
•Pulse output
•Period measurement
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

KPCI-3160 User’s Manual Installation 3-3
In addition to basic I/O support, DriverLINX also provides:
•Built-in capabilities to handle memory and data buffer management.
•A selection of starting and stopping trigger events, including pre-triggering, mid-point trig-
gering, and post-triggering protocols.
•Extensive error checking.
•Context-sensitive on-line help system.
Refer to your DriverLINX documentation to determine which services are supported by your
KPCI-3160 board.
DriverLINX is essentially hardware independent, because its portable APIs work across various
operating systems. This capability eliminates unnecessary programming when changing operat-
ing system platforms.
TestPoint
TestPoint is a fully featured, integrated application package that incorporates many commonly
used math, analysis, report generation, and graphics functions. TestPoint’s graphical
drag-and-drop interface can be used to create data acquisition applications, without program-
ming, for IEEE-488 instruments, data acquisition boards, and RS232-485 instruments and
devices.
TestPoint includes features for controlling external devices, responding to events, processing
data, creating report files, and exchanging information with other Windows programs. It pro-
vides libraries for controlling most popular GPIB instruments. OCX and ActiveX controls plug
directly into TestPoint, allowing additional features from third party suppliers.
LabVIEW
LabVIEW is a fully featured graphical programming language used to create virtual instrumen-
tation. It consists of an interactive user interface, complete with knobs, slides, switches, graphs,
strip charts, and other instrument panel controls. Its data driven environment uses function
blocks that are virtually wired together and pass data to each other. The function blocks, which
are selected from palette menus, range from arithmetic functions to advanced acquisition, con-
trol, and analysis routines. Also included are debugging tools, help windows, execution high-
lighting, single stepping, probes, and breakpoints to trace and monitor the data flow execution.
LabVIEW can be used to create professional applications with minimal programming.
Virtual instruments (VIs) compatible with LabVIEW are available for the KPCI-3160.
Installing DriverLINX
Refer to the Read this first document that accompanies your board for installation instructions.
NOTE Always install DriverLINX before installing the board or LabVIEW sup-
port. Both TestPoint and LabVIEW support require DriverLINX to
access the board’s hardware resources.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Table of contents
Other Keithley PCI Card manuals
Popular PCI Card manuals by other brands

SIIG
SIIG JJ-P02012 Quick installation guide

Hama
Hama 1x PCI Parallel Card Operating instruction

SIIG
SIIG SoundWave 5.1 PCI-LP Quick installation guide

SIIG
SIIG CyberPro PCI 2S Quick installation guide

Proxim
Proxim orinoco Classic Gold PC Card quick start guide

Acces I/O products
Acces I/O products PCIe-COM-8SM user manual