Keithley KPCI-PIO32IOA, KPCI-PDISO8A, KPCMCIA-RS232S User Manual

KPCI-PIO32IOA & KPCI-PDISO8A
PCI Bus Isolated I/O Board User’s Manual
A GREATER MEASURE OF CONFIDENCE
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 • 12 Yumin 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
KPCI-PIO32IOA & KPCI-PDISO8A
PCI Bus Isolated I/O Board
User’s Manual
Windows and WindowsNT are registered trademarks of Microsoft Corporation.
DriverLINX is a registered trademark of Scientific Software Tools, Inc.
©2002, Keithley Instruments, Inc.
All rights reserved.
Cleveland, Ohio, U.S.A.
Second Printing, August 2002
Document Number: KPCIPIO32IOA-901-01B
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 KPCIPIO32IOA-901-01A) ............................................................ February 2002
Revision B (Document Number KPCIPIO32IOA-901-01A) ...............................................................August 2002
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 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 specications 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 xtures. 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 specications 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 dened in the specications and operating informa­tion, and as shown on the instrument or test xture panels, or switching card.
When fuses are used in a product, replace with same type and rating for continued protection against re 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 xture, 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
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 re, 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 ofce 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.

Table of Contents

1 Overview
How the manual is organized ............................................................................................................................. 1-2
How to distinguish special text items ................................................................................................................. 1-2
Safety symbols and terms ................................................................................................................................... 1-3
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
Solid-state relay switching ......................................................................................................................... 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-PIO32IOA and KPCI-PDISO8A boards ........................................................................... 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-PIO32IOA and KPCI-PDISO8A boards ........................................................................ 3-8
Identifying I/O connector pin assignments ................................................................................................ 3-8
Connecting interface accessories ............................................................................................................. 3-10
Wiring I/O to your external circuits ........................................................................................................ 3-12
Input and output precautions .................................................................................................................... 3-12
Input and output connections ................................................................................................................... 3-13
I/O considerations .................................................................................................................................... 3-14
Combining output channels ..................................................................................................................... 3-15
4 External Interrupts
External interrupt description ............................................................................................................................. 4-2
Interrupt pins .............................................................................................................................................. 4-2
Data latching .............................................................................................................................................. 4-3
External interrupt application ............................................................................................................................. 4-3
i
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 test ...................................................................................................................................................... 5-12
Block diagram .................................................................................................................................................. 5-14
Technical support ............................................................................................................................................. 5-15
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-4
Manipulating control and data registers ............................................................................................................ B-7
General approach to manipulating control and data registers ................................................................... B-7
C Glossary
ii

List of Illustrations

3 Installation
Figure 3-1 KPCI-PIO32IOA board configuration ....................................................................................................... 3-8
Figure 3-2 KPCI-PDISO8A board configuration ........................................................................................................ 3-9
Figure 3-3 Connections to STP-36 screw terminal connector accessory .................................................................. 3-11
Figure 3-4 Typical KPCI-PIO32IOA and KPCI-PDISO8A input/output connections ............................................. 3-13
5 Troubleshooting
Figure 5-1 Problem isolation flowchart ....................................................................................................................... 5-4
Figure 5-2 Mating connector wiring for I/O test ....................................................................................................... 5-13
Figure 5-3 KPCI board block diagram ...................................................................................................................... 5-14
iii

List of Tables

2 General Description
Table 2-1 System requirements .................................................................................................................................. 2-2
3 Installation
Table 3-1 KPCI-PIO32IOA and KPCI-PDISO8A I/O connector pin assignments ................................................... 3-9
Table 3-2 STP-36 screw terminal designations ........................................................................................................ 3-10
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 DriverLINX board channel assignments .................................................................................................. 5-12
B I/O Address Mapping
Table B-1 Register mapping ...................................................................................................................................... B-3
Table B-2 Control register bit functions for each port ............................................................................................... B-4
Table B-3 Bit functions for interrupt control/status register ...................................................................................... B-5
v
1

Overview

1-2 Overview KPCI-PIO32IOA and KPCI-PDISO8A User’s Manual
This manual contains descriptive information and installation and use instructions for the KPCI­PIO32IOA and KPCI-PDISO8A isolated I/O boards.
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-PIO32IOA and KPCI-PDISO8A boards. To follow the information and instructions contained in this manual, you must be familiar with the operation of Windows 98, Me, NT, 2000, or XP 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 nized as follows:
Section 2 briefly describes features and characteristics of the KPCI-PIO32IOA and KPCI-
PDISO8A.
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-PIO32IOA and KPCI-PDISO8A specifications.
Appendix B describes memory-mapping information for special situations. Appendix B can
be disregarded under normal conditions. 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-PIO32IOA and KPCI-PDISO8A User’s Manual is orga-

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 98/Me/NT/2000/XP 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).
10 point Times Italic distinguishes the following:
– Emphasis in general.
– Cross-references to other documents, such as other manuals or books.
NOTE statements.
KPCI-PIO32IOA and KPCI-PDISO8A User’s Manual Overview 1-3
10 POINT TIMES UPPER CASE distinguishes the following:
– Switches, such as ON and OFF.
– Keyboard keys, such as ENTER.
10 point Courier
“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.
distinguishes software code statements.

Safety symbols and terms

The following symbols and terms may be found on the board or used in this manual.
!
The symbol indicates that the user should refer to the operating instructions located in the manual.
The symbol shows that high voltage may be present on the terminal(s). Use standard safety precautions to avoid personal contact with these voltages.
The WARNING heading used in this 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 used in this manual explains hazards that could damage the board. Such damage may invalidate the warranty.

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 .
2

General Description

2-2 General Description KPCI-PIO32IOA and KPCI-PDISO8A 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-PIO32IOA and KPCI-PDISO8A 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-PIO32IOA and KPCI-PDISO8A each contain isolated control inputs and isolated solid-state relay switching outputs on a PCI interface board. Both cards work in a Windows environment and take advantage of the 32-bit bus width.
Pentium or higher processor on motherboard with PCI bus version 2.1.
Windows® 95, 98, or Me.
Windows® NT (version 4.0 or higher), 2000, or XP.
16 MB or greater RAM when running Windows® 95, 98, or Me.
32 MB or greater RAM when running Windows® NT, 2000, or XP.
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 board, which draws 500mA from the 5V supply (maximum).
Solid-state relay switching
The KPCI-PIO32IOA’s 32 isolated I/O lines and KPCI-PDISO8A’s 16 isolated I/O lines include:
Control inputs are solid-state, opto-isolated (16 for the KPCI-PIO32IOA; 8 for the KPCI-PDISO8A). Maximum control input voltages are: ±60V DC (logic high); ±1V DC (logic low).
Relay outputs are solid-state, opto-isolated, N.O. form A (16 for the KPCI-PIO32IOA; 8 for the KPCI-PDISO8A). Outputs can switch both DC voltages (±60V DC maximum) and AC voltages (30V RMS maximum) with a maximum load current of 350mA. A relay output will close when a logic high is applied to the corresponding control input.
KPCI-PIO32IOA and KPCI-PDISO8A User’s Manual General Description 2-3
Under Windows 98/Me, most existing port I/O application programs and data acquisition pack­ages designed for ISA boards work with the KPCI-PIO32IOA and KPCI-PDISO8A board. The PCI-BIOS-assigned base address is entered in place of a user-assigned base address. (Use of such programs under Windows NT/2000/XP, not recommended, is much more involved.)
Other I/O characteristics
Additional I/O port characteristics are summarized below:
Two of the KPCI-PIO32IOA and KPCI-PDISO8A general-purpose I/O lines can be alterna­tively configured via software to be external interrupt enable input, INT_ENN, and external interrupt request input, INT_REQ.
The KPCI-PIO32IOA and KPCI-PDISO8A can switch currents up to 350mA. Output cur­rent capabilities allow the boards to control some motors, solenoids, and relays.
+5V power from the computer power supply is made available at the I/O connector, for use in external circuits.

Software

NOTE
Control inputs and relay outputs interface via standard 36-pin connector(s). The KPCI-PIO32IOA has two 36-pin connectors, and the KPCI-PDISO8A has one 36-pin connector.
Output ports can always be read-accessed without switching the output states, allowing the output states to be read at any time by the controlling program.
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.
The maximum current on each +5V and digital ground pin is 1A. The +5V supply is not isolated and is available for use only when isolation is not required by the application.
3

Installation

3-2 Installation KPCI-PIO32IOA and KPCI-PDISO8A 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

Installing the software

Software options
The KPCI-PIO32IOA and KPCI-PDISO8A boards have 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-PIO32IOA and KPCI-PDISO8A have fully functional driver support for use under Windows.
NOTE
DriverLINX driver software for Windows
DriverLINX software, supplied by Keithley with the KPCI-PIO32IOA and KPCI-PDISO8A board, provides convenient interfaces to configure and set I/O bits without register-level pro­gramming. DriverLINX supports Windows 98, Me, NT, 2000, and XP.
Install the DriverLINX software before installing the KPCI-PIO32IOA or KPCI-PDISO8A board. Otherwise, the device drivers will be more difficult to install.
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.
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
KPCI-PIO32IOA and KPCI-PDISO8A User’s Manual Installation 3-3
In addition to basic I/O support, DriverLINX also provides:
B
uilt-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-PIO32IOA or KPCI-PDISO8A board.
DriverLINX applications can be independent of some differences in data acquisitions boards 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 for IEEE-488 instru­ments, 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-PIO32IOA and KPCI-PDISO8A.
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.
3-4 Installation KPCI-PIO32IOA and KPCI-PDISO8A User’s Manual
Installing application software and drivers
Installing the TestPoint support
TestPoint provides an object for control of digital I/O channels based on the DriverLINX driver. In the directory where TestPoint is installed (C:\TESTPT), find and open DLDIO.TST. The DLINX.DIO object from this example can be copied and pasted into your custom application.
Check with the following concerning driver updates with TestPoint support for the KPCI-PIO32IOA and KPCI-PDISO8A:
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-PIO32IOA or KPCI-PDISO8A board, you need not install DriverLINX’s LabVIEW support package. 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-PIO32IOA and KPCI-PDISO8A boards

This subsection helps you to do the following:
Prepare for the board installation.
Physically install the board.
WARNING Turn off the computer power and disconnect all external circuits
from the board to avoid a possible shock hazard.
CAUTION 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 cir­cuit traces or connector contacts when handling the board.
KPCI-PIO32IOA and KPCI-PDISO8A User’s Manual Installation 3-5
Checking resources for the board
Ensure that your computer has sufficient resources, particularly power resources, to run your KPCI-PIO32IOA or KPCI-PDISO8A 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 neces­sary, free resources by uninstalling other boards.
System responsibility
The system integrator has final responsibility for the EMC of a system containing Keithley KPCI-PIO32IOA and KPCI-PDISO8A boards. The user must not assume that installation of the CE-marked KPCI-PIO32IOA or KPCI-PDISO8A in a CE-marked PC will result in a system with acceptable RFI emissions.
Unwrapping and inspecting the board
NOTE
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 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 fac­tory. 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.”
Install the DriverLINX software before installing the KPCI-PIO32IOA or KPCI-PDISO8A board. Otherwise, the device drivers will be more difficult to install.
Installing the board
Install a 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-6 Installation KPCI-PIO32IOA and KPCI-PDISO8A 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\kcpi.bat, where X = the letter of the drive on which you installed DriverLINX. The Wizard appears.
NOTE
3. On the Windows 98/Me 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 sub­section “Checking the combined board and DriverLINX installations.”
You can also start this batch file directly from the CD-ROM by double clicking on Y:\DrvLINX4\Help\KPCIISO.BAT, where Y = the letter of your CD-ROM drive.
Checking the combined board and DriverLINX installations
Before making any connections to the board, check the combined board and DriverLINX instal­lations. 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 work­ing together.
1. Try starting the AIO Panel as follows:
a. Click the Windows 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 AIO 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-PIO32IOA and KPCI-PDISO8A boards.”
If you are not able to start the AIO Panel, then continue with step 2.
Loading...
+ 50 hidden pages