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 Keithley 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 obligations 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 purchases 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 PURPOSE. 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.
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.
Safety Precautions
The following safety precautions should be observed before using
this product and any associated instrumentation. Although some instruments and accessories would normally be used with non-hazardous voltages, there are situations where hazardous conditions
may be present.
This product is intended for use by qualified personnel who recognize shock hazards and are familiar with the safety precautions required 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 provided 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 ensuring 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 instrument. 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 described 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 service 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 described in the International Electrotechnical Commission (IEC)
Standard IEC 60664. Most measurement, control, and data I/O signals are Installation Category I and must not be directly connected
to mains voltage or to voltage sources with high transient over-voltages. 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 connections 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 prevented access and/or insulated from every connection point. In
some cases, connections must be exposed to potential human contact. 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 connecting sources to switching cards, install protective devices to limit fault current and voltage to the card.
Before operating an instrument, make sure the line cord is connected 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 disconnect device must be provided, in close proximity to the equipment 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 jumpers, 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 common 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 equipment may be impaired.
Do not exceed the maximum signal levels of the instruments and accessories, as defined in the specifications and operating information, 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 applied to the device under test. Safe operation requires the use of a
lid interlock.
5/02
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 refer to the operating instructions located in the manual.
The symbol on an instrument shows that it can source or measure 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 information 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 Instruments. 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 selected 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 instructions. If the board becomes contaminated and operation is affected, the board should be returned to the factory for proper
cleaning/servicing.
1Overview
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
System requirements .......................................................................................................................................... 2-2
Standard digital I/O emulation ................................................................................................................... 2-2
Other I/O characteristics ............................................................................................................................ 2-3
Installing the software ........................................................................................................................................ 3-2
Identifying symptoms and possible causes ......................................................................................................... 5-2
Systematic problem isolation ............................................................................................................................. 5-3
General problem isolation procedure ......................................................................................................... 5-3
Checking for board as a PCI resource ...................................................................................................... 5-11
I/O bit tests ............................................................................................................................................... 5-12
Technical support ............................................................................................................................................. 5-26
ASpecifications
BI/O Address Mapping
General PCI address assignments ...................................................................................................................... B-2
Control and data registers .......................................................................................................................... B-3
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
CGlossary
ii
List of Illustrations
3Installation
Figure 3-1Pin assignments for the KPCI-3160 I/O connector (P101) ........................................................................ 3-8
Figure 3-2Connector locations on the KPIC-3160 board ........................................................................................... 3-9
Figure 5-2Mating connector wiring for loop-back test ............................................................................................. 5-14
Figure 5-3An AIO Panel example ............................................................................................................................ 5-16
Figure 5-4DIO channel tab example ......................................................................................................................... 5-17
Figure 5-5Configuring the digital I/O channels as inputs and outputs ..................................................................... 5-19
Figure 5-6Configuring channel 0 for output bit pattern A ........................................................................................ 5-19
Figure 5-7Proper response of channel 1 input bits when channel o output bits
are set to bit pattern A ....................................................................................................................... 5-19
Figure 5-8Proper response of channel 2 input bits when channel 0 output bits
are set to bit pattern A ....................................................................................................................... 5-20
Figure 5-9Configuring channel 0 for output bit pattern B ........................................................................................ 5-20
Figure 5-10Proper response of channel 1 bits when channel 0 output bits
are set to bit pattern B ........................................................................................................................ 5-20
Figure 5-11Proper response of channel 2 bits when channel 0 output bits
are set to bit pattern B ........................................................................................................................ 5-21
Figure 5-12An AIO Panel example ............................................................................................................................ 5-23
Figure 5-13Configuring the digital I/O channels as inputs and outputs ..................................................................... 5-24
Figure 5-14Configuring channel 0 for output bit pattern A ........................................................................................ 5-24
Figure 5-15Configuring channel 1 for output bit pattern B ........................................................................................ 5-25
Table 5-3Where to insert the loop-back connector ................................................................................................. 5-15
Table 5-4Channel information ................................................................................................................................ 5-17
Table 5-5Where to insert the output-set-test accessories ........................................................................................ 5-22
Table 5-6Which channel tab to click ....................................................................................................................... 5-23
BI/O Address Mapping
Table B-1Data and control register addresses ........................................................................................................... B-4
Table B-2Control register bit functions for each port group ................................................................................... B-4
Table B-3Bit functions for interrupt control/status register ...................................................................................... B-5
v
1
Overview
•
•
•
•
•
•
•
•
•
•
•
1-2OverviewKPCI-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 application. 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
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.
KPCI-3160 User’s Manual is organized as follows:
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.
•
•
•
•
•
•
KPCI-3160 User’s ManualOverview1-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 referenced 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.
2
General Description
•
•
2-2General DescriptionKPCI-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 software supplied with the board, are listed in Table 2-1.
Table 2-1
System requirements
CPU Type
Operating System
Memory
Hard Disk Space
Other
*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.
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.
Pentium or higher processor on motherboard with PCI bus version 2.1.
Windows® 95 or higher.
Windows® NT version 4.0 or higher.
16 MB or greater RAM when running Windows® 95 or 98.
32 MB or greater RAM when running Windows® NT.
4 MB for minimum installation.
50 MB for maximum installation.
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.
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.
•
KPCI-3160 User’s ManualGeneral Description2-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 packages 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 software 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 current capabilities of 15mA (source) and 64mA (sink) allow it to control many LEDs, up to 22
modules, and Keithley relay boards.
•
•
•
•
•
•
Software
NOTE
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 connected 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.
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 programming. LabVIEW is a fully featured graphical programming language used to create virtual
instrumentation.
The maximum current on each +5V and digital ground pin is 1A, limiting the total current to 2A.
Refer to Section 3, “Installation,” for more information about software.
3
Installation
3-2InstallationKPCI-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
•
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.
sheet).
NOTE
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 summary 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.
NOTEDriverLINX must be installed to run any applications for the board,
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 custom applications using Visual C/C++, Visual Basic, or Delphi. DriverLINX accomplishes foreground 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.
Install the DriverLINX software befor e installing the KPCI-3160 board.
Otherwise, the device drivers will be more difficult to install.
whether they are custom-programmed applications or integrated software packages, such as TestPoint or LabVIEW.
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
KPCI-3160 User’s ManualInstallation3-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 operating 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 programming, 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 provides 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 instrumentation. 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, control, and analysis routines. Also included are debugging tools, help windows, execution highlighting, 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.
NOTEAlways install DriverLINX before installing the board or LabVIEW sup-
port. Both TestPoint and LabVIEW support require DriverLINX to
access the board’s hardware resources.
3-4InstallationKPCI-3160 User’s Manual
Installing application software and drivers
Installing the TestPoint support
It is anticipated that, in the future, TestPoint will implicitly support the KPCI-3160 board without installing additional drivers. Check with the following concerning current availability of
TestPoint support for the KPCI-3160:
• The TestPoint technical support page of the Keithley web site (www.keithley.com).
• The TestPoint manufacturer, Capital Equipment Corporation (CEC).
Installing the LabVIEW software and driver
If you plan to use only run-time LabVIEW applications with your KPCI-3160 board, you need
not install a special driver. LabVIEW run-time support is automatically installed when you
install and configure DriverLINX.
However, if you plan to develop custom applications using the LabVIEW Integrated Development Environment, you must install the DriverLINX Virtual Instruments (VIs). These VIs are
provided on your DriverLINX CD-ROM but do not install automatically when you install DriverLINX and your board. You must first install the LabVIEW application program and DriverLINX, then install the DriverLINX VIs.
If you do not install the VIs during the same session in which you install DriverLINX (refer to
your Read this first document), you may install them later as follows:
1. Start setup.exe on the DriverLINX CD-ROM. The DriverLINX Browser introduction screen
appears.
2. Click Next on the DriverLINX Browser introduction screen (or wait a few seconds). The
DriverLINX CD Navigator screen appears.
3. On the DriverLINX CD Navigator screen, click Install DriverLINX. An Install These
DriverLINX Components screen appears.
4. On the Install These DriverLINX Components screen, click LabVIEW™ Support.
5. Follow the series of on-screen instructions that appear.
Installing the KPCI-3160 board
This subsection helps you to do the following:
• Prepare for the board installation.
• Physically install the board.
CAUTIONEnsure that the computer is turned OFF before installing or remov-
ing a board. Installing or removing a board while power is ON can
damage your computer, the board, or both.
Handle the board in a static-controlled workstation; wear a
grounded wrist strap. Discharge static voltage differences between
the wrapped board and the handling environment before removing
the board from its protective wrapper. Failure to discharge static
electricity before and during handling may damage semiconductor
circuits on the board.
Handle the board using the mounting bracket. Do not touch the circuit traces or connector contacts when handling the board.
KPCI-3160 User’s ManualInstallation3-5
Checking resources for the board
Ensure that your computer has sufficient resources, particularly power resources, to run your
KPCI-3160 board. Check the capacity of the computer power supply and the power requirements of your computer and presently installed boards. Then check the additional power requirements for this board. (Refer to Appendix A, “Specifications.”) If necessary, free resources by
uninstalling other boards.
System responsibility
The system integrator has final responsibility for the EMC of a system containing Keithley
KPCI-3160 boards. The user must not assume that installation of the CE-marked KPCI-3160 in
a CE-marked PC will result in a system with acceptable RFI emissions.
Unwrapping and inspecting the board
NOTEInstall the DriverLINX software before installing the KPCI-3160 boar d.
Otherwise, the device drivers will be more difficult to install.
After you remove the wrapped board from its outer shipping carton, unwrap and inspect it as follows:
1. Your board is packaged at the factory in an anti-static wrapper. Do not remove the anti-static
wrapper until you have discharged any static electricity voltage differences between the
wrapped board and the environment. Wear a grounded wrist strap. A grounded wrist strap
discharges static electricity from the wrapped board as soon as you hold it. Keep the wrist
strap on until you have finished installing the board.
2. Remove the KCPI-3160 board from its anti-static wrapping material. (Store the wrapping
material for future use.)
3. Inspect the board for damage. If damage is apparent, arrange to return the board to the factory. Refer to Section 5, “Troubleshooting.”
4. Check the remaining contents of your package against the packing list and immediately
report any missing items.
5. If the inspection is satisfactory, proceed to “Installing the board.”
Installing the board
Install a KCPI-3160 board in a PCI expansion slot on your computer as follows:
1. Turn power OFF to the computer and to any external circuits attached to the board.
2. Remove the computer chassis cover.
3. Select an unoccupied PCI expansion slot in the rear panel, and remove the corresponding
dummy mounting plate.
4. Insert the PCI connector of the board into the selected PCI slot of the computer. Take care
not to interfere with neighboring boards. Ensure that the board is properly seated in the slot.
5. Secure the mounting bracket of the board to the chassis, using the retaining screw that you
removed when you removed the dummy mounting plate.
6. Continue with the next subsection, “Configuring and checking the board and DriverLINX
installations.”
3-6InstallationKPCI-3160 User’s Manual
Configuring and checking the board and DriverLINX installations
This subsection helps you to do the following:
• Configure the combined board and DriverLINX installations, using the DriverLINX Plug
and Play Wizard.
• Check the combined board and DriverLINX installations by checking the ability to start the
DriverLINX PIO Control Panel.
Configuring the combined board and DriverLINX installations
After physically installing the board, turn on and reboot the computer. The DriverLINX Plug
and Play Wizard screen appears automatically. Run the Wizard immediately by following the
progressive instructions on the screen.
If you do not run the Wizard immediately (you cancel the Wizard after rebooting) it will normally appear automatically on subsequent reboots until you complete the final page of the Wizard. However, it is also possible to manually restart it later during the same computer session, as
follows:
1. Open the Windows Explorer.
2. Double click on X:\DrvLINX4\Help\kcpi3160.bat, where X = the letter of the drive on
which you installed DriverLINX. The Wizard appears.
NOTEYou can also start this batch file directly from the CD-ROM by double
clicking on Y:\DrvLINX4\Help\kpci1800.bat, where Y = the drive letter
of your CD-ROM drive.
3. On the Plug and Play Wizard, click Wizard and follow the series of on-screen instructions
that appear. The wizard will first lead you through the steps of installing your hardware—
from a software viewpoint—and configuring it.
4. After you have finished configuring the board and DriverLINX, continue with the next subsection “Checking the combined board and DriverLINX installations.”
Checking the combined board and DriverLINX installations
Before making any connections to the board, check the combined board and DriverLINX installations. The ability to start the AIO Panel utility, which is available after you install DriverLINX,
verifies that DriverLINX and the board are installed and configured satisfactorily and are working together.
1. Try starting the AIO Panel as follows:
a. Click the Windows 95/98/NT Start tab.
b. In the Start menu, click Programs.
c. Under DriverLINX ➧ Test Panels, find the AIO Panel entry.
d. Click on the AIO Panel entry. The Analog I/O Panel should appear.
e. Based on the results of step 1d, do one of the following:
• If you are able to start the AIO Panel, skip to the next subsection, “Connecting the
KPCI-3160 board.”
• If you are not able to start the AIO Panel, then continue with step 2.
KPCI-3160 User’s ManualInstallation3-7
2. If you are unable to start the AIO Panel utility, then check to ensure that the installation is
properly configured and DriverLINX is properly installed. Refer to the subsection “Configuring the KPCI-3160” in the DriverLINX manual Using DriverLINX with your Hardware—Keithley KPCI-3160. To access this manual on-line, do the following:
a. Click the Windows 95/98/NT Start tab.
b. In the Start menu, click Programs.
c. Find the DriverLINX folder, under which you should find the On-line Manuals entry.
d. Click on the On-line Manuals entry. The DriverLINX Printable Documentation table of
contents opens via Acrobat reader.
e. Scroll through the DriverLINX Printable Documentation table of contents and find Con-
figuration.
f. Under Configuration, click Hardware References. A list of documents appears.
g. In the list of documents, click on Using DriverLINX with Your Hardware—Keithley
KPCI-3160. The manual opens via Acrobat Reader.
h. Print the manual now, if possible, to make reference easier.
NOTEAcrobat Reader must already be installed. If necessary, you can first
install Acrobat Reader directly from the CD-ROM by double clicking
X:\Acrobat\setup.exe.
If your data acquisition system has no printer, you can display and print
the manual from the CD-ROM at another system. From Windows
Explorer, select the CD-ROM drive (drive “X”). To display the Using
DriverLINX with Your Hardware—Keithley PIO Series manual, double
click on X:\Drvlinx4\Docs\Notes\kpci3160.pdf.
3. Reconfigure the installation as required, and if necessary, also reinstall DriverLINX.
NOTEIf you reinstall DriverLINX, refer also to your Read this first sheet
(which is also available on the CD-ROM that came with your board).
Make sure that DriverLINX installs smoothly and completely.
4. Try again to start the AIO Panel (refer to step 1).
5. Based on the results of step 4, do one of the following:
• If you can now start the AIO Panel, DriverLINX and the board are installed and config-
ured properly and are working together. Proceed to the next subsection, “Connecting the
KPCI-3160 board.”
• If you are still unable to start the AIO Panel, refer to Section 5, “Troubleshooting,” for
additional procedures that may help you isolate the problem.
Connecting the KPCI-3160 board
This subsection helps you to do the following:
• Identify pin assignments on the board.
• Connect interface accessories.
• Wire the KPCI-3160 I/O to your external circuits.
3-8InstallationKPCI-3160 User’s Manual
Identifying I/O connector pin assignments on the KPCI-3160 I/O connector
The board has a 100-pin mini-D type I/O connector. Figure 3-1 and Table 3-1 define and
describe the pin assignments for the KPCI-3160 I/O connector (P101). Figure 3-2 shows the
location of the KPCI-3160 I/O connector.
Figure 3-1
Pin assignments for the KPCI-3160 I/O connector (P101)
Pin descriptions for KPCI-3160 I/O connector (P101)
Pin NumberSignalDescription
For port group 0, pins 76 to 83
For port group 1, pins 26 to 33
For port group 2, pins 52 to 59
For port group 3, pins 02 to 09
PA0 to PA7The eight I/O bits of port A (an identical port A being
available for each of the four port groups). PA0 is the
least significant bit (LSB) of port A and PA7 is the most
significant bit (MSB). You can configure port A of each
port group independently, through DriverLINX, such that
its eight bits are all inputs or all outputs.
For port group 0, pins 84 to 91
For port group 1, pins 34 to 41
For port group 2, pins 60 to 67
For port group 3, pins 10 to 17
PB0 to PB7The eight I/O bits of port B (an identical port B being
available for each of the four port groups). PB0 is the
least significant bit (LSB) of port B and PB7 is the most
significant bit (MSB). You can configure port B of each
port group independently, through DriverLINX, such that
its eight bits are all inputs or all outputs.
For port group 0, pins 92 to 99
For port group 1, pins 42 to 49
For port group 2, pins 68 to 75
For port group 3, pins 18 to 25
PC0 to PC7
(Port group 3 pins 24 and 25
can be alternatively
configured as INT_ENN and
INT_REQ)
The eight I/O bits of port C (an identical port C being
available for each of the four port groups). PC0 is the
least significant bit (LSB) of port C and PC7 is the most
significant bit (MSB). Through DriverLINX you can do
the following for each port group:
Configure the upper four bits of port C independently
such that they are all inputs or all outputs.
Configure the lower four bits of port C independently,
through DriverLINX, such that they are all inputs or all
outputs.
01 and 51+5V+5V power from the PCI bus.
50 and 100Signal groundDigital common from the PCI bus.
ShellChassis groundProvides a shield-ground connection when shielded
cable (Keithley part number CAB-1800/S) is used to
interface the board to external circuits.
Figure 3-2
Connector locations on the KPIC-3160 board
100-Pin I/O
Connector (P101)
PCI-Bus Connector
3-10InstallationKPCI-3160 User’s Manual
Connecting interface accessories
CAUTIONIf a cable is connected to any external circuits, make sure power to
all external circuits is turned OFF before connecting this cable to the
KPCI-3160 board. Connecting a powered external circuit to the
board can damage the board, the external circuit, or both.
Handle the board at the mounting bracket, using a grounded wrist
strap. Do not touch the circuit traces or connector contacts. If you do
not have a grounded wrist strap, periodically discharge static electricity by placing one hand firmly on a grounded metal portion of the
computer chassis.
The KPCI-3160 I/O connector can be mated directly to your external circuits using locally fabricated cable assemblies. To mate a locally fabricated cable to an I/O connector, install a 3M type
101A0-6000EC connector on the cable.
NOTEThe 100-pin mating connector is NO T available in a solder -cup version;
use of the specified connector will requir e appr opriate cable and tooling
to make a reliable insulation displacement connection.
Alternatively, the connectors can be mated to your circuits via manufactured cable assemblies
and interface accessories, such as an adapter accessory and screw terminal boards. Use of such
accessories is described in the next subsections.
Using a CONN-3160-D1 accessory
The CONN-3160-D1 is an adapter accessory for the KPCI-3160 board, as shown in Figure 3-3.
It provides four 50-pin connectors that are identical to the four 50-pin connectors of the
KPCI-PIO96 and PIO-96J boards. These four connectors allow all accessories that work with
both KPCI-PIO96 and PIO-96J boards to be used with the KPCI-3160 board. (Refer to the next
subsection.) The correspondence between the pins of the CONN-3160-D1 50-pin connectors
and the pins of the KPCI-3160 I/O connector is shown in Table 3-2, Table 3-3, Table 3-4, and
Table 3-5.
The CONN-3160-D1 accessory interfaces to the KPCI-3160 via a CAB-1800 cable. The
CAB-1800 cable is a 100-conductor cable with a 100-pin D-type connector on each end.
Figure 3-3
The CONN-3160-D1 accessory
52
P1
1
2
J1
50
2
100
49
J2
50
1
2
J3
1
2
50
49
11
J4
4949
50
49
KPCI-3160 User’s ManualInstallation3-11
Using an STP-100U accessory
The STP-100U is an adapter accessory for the KPCI-3160 which simply brings all 100 pins of
the connector to screw terminals. Pin assignments are the same as for the CONN-3160-D1 P1
connector. This differs from the KPCI-3160’s P101 connector, see cabling caution below.
NOTEWhile the STP-100 has a similar appearance , it uses a different pin num-
bering scheme compatible with the DAS/KPCI-180xHC series, and connects certain signal lines together. Because of this, it cannot be used as
an accessory with the KPCI-3160 board.
Cabling caution for accessories
Note that the CAB-1800 series is not a 1-1 cable. Because of its construction, pin assignments
on one end are mirrored from that on the other end. This is why the pin numberings (and therefore screw terminal assignments) on the accessories are not the same as those of the KPCI-3160
P101 connector. Use the provided tables (Table 3-2 through Table 3-5) to identify the correct
connection.
Loading...
+ 62 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.