Keithley KPCI-3101 Series User Manual

Pci bus data acquisition boards
Table of Contents

Advertisement

User's Manual
KPCI-3101, -3102, -3103, -3104 Series
PCI Bus Data Acquisition Boards
98150 Rev. A / 10-99

Advertisement

Table of Contents
loading

Summary of Contents for Keithley KPCI-3101 Series

  • Page 1 User’s Manual KPCI-3101, -3102, -3103, -3104 Series PCI Bus Data Acquisition Boards 98150 Rev. A / 10-99...
  • Page 2 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.
  • Page 3 Acrobat is a registered trademark of Adobe Systems Incorporated. All other brand and product names are trademarks or registered trademarks of their respective companies. Copyright © Keithley Instruments, Inc., 1999. All rights reserved. Reproduction or adaptation of any part of this documentation beyond that permitted by Section 117 of the 1979 United States Copyright Act without permission of the Copyright owner is unlawful.
  • Page 4 Revision of the manual. Each new Revision includes a revised copy of this print history page. Revision A (Document Number 98150) ..................... October 1999 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.
  • Page 5 (IEC) Standard IEC 664, digital multimeter measuring circuits The types of product users are: (e.g., Keithley Models 175A, 199, 2000, 2001, 2002, and 2010) are Installation Category II. All other instruments’ signal terminals are Responsible body is the individual or group responsible for the use Installation Category I and must not be connected to mains.
  • Page 6 NOT as safety earth ground connections. leads, and input jacks, must be purchased from Keithley Instru- ments. Standard fuses, with applicable national safety approvals, If you are using a test fixture, keep the lid closed while power is ap- may be used if the rating and type are the same.
  • Page 7: Table Of Contents

    Table of Contents Overview Features ................................1-2 DriverLINX software ............................1-3 Viewing the KPCI-3101–4 series documentation online..................1-4 System requirements ............................1-5 Software ................................1-5 Accessories................................1-6 Principles of Operation Analog input features ............................2-2 Input resolution ............................2-3 Analog input channels..........................2-3 Input ranges and gains..........................
  • Page 8 Using the DriverLINX event viewer ........................6-2 Device initialization error messages......................6-2 Problem isolation..............................6-3 Troubleshooting table ............................6-4 Testing the board and host computer........................6-5 Testing the accessory slot and I/O connections....................6-5 Technical support ..............................6-6 Returning equipment to Keithley ........................6-7...
  • Page 9 Specifications Supported capabilities ............................A-9 Connector Pin Assignments Systematic Problem Isolation Problem isolation Scheme A: basic system ....................C-3 Problem isolation Scheme B: installation ....................C-5 Problem isolation Scheme C: application software ................. C-10 Problem isolation Scheme D: expansion slot connectors ................ C-12 Problem isolation Scheme E: user wiring ....................
  • Page 11 List of Illustrations Principles of Operation Figure 2-1 Block diagram of the KPCI-3101–4 series boards..................2-2 Figure 2-2 Continuous post-trigger mode without triggered scan ................2-11 Figure 2-3 Continuous post-trigger mode with triggered scan ................... 2-11 Figure 2-4 Continuous pre-trigger mode ........................2-12 Figure 2-5 Continuous pre-trigger mode with triggered scan..................
  • Page 12 Installation and Configuration Figure 3-1 Inserting the KPCI-3101–4 series board in the computer ................3-6 Figure 3-2 Attaching the STA-300 screw terminal panel to a KPCI-3101–4 series board........... 3-8 Figure 3-3 Layout of the STA-300 screw terminal panel ..................... 3-9 Figure 3-4 Removal of jumper W1 for remote ground sensing ..................
  • Page 13 List of Tables Overview Table 1-1 Differences among KPCI-3101–4 Series boards ..................1-2 Table 1-2 System requirements ........................... 1-5 Principles of Operation Table 2-1 Supported analog input resolutions......................2-3 Table 2-2 Gains and effective ranges .......................... 2-5 Table 2-3 Maximum frequency supported ........................2-6 Table 2-4 Maximum retrigger frequency ........................
  • Page 14 Connector Pin Assignments Table B-1 Pin assignments for connector J1 on the KPCI-3101–4 series boards ............B-2 Table B-2 Pin assignments for connector J1 on the STA-300 ..................B-3 Table B-3 Pin assignments for connector J2 on the STA-300 ..................B-4 Systematic Problem Isolation Table C-1 Wiring for analog input hardware test using an STA-300 screw terminal accessory connected...
  • Page 15: Overview

    Overview...
  • Page 16: Features

    Overview KPCI-3101 — KPCI-3104 Series User’s Manual Features The KPCI-3101–4 Series is a family of low-cost, multifunction data acquisition boards for the PCI bus. The KPCI-3101–4 Series consists of the following boards: KPCI-3101, KPCI-3102, KPCI-3103, and KPCI-3104. These board types differ in analog I/O resolution, analog input sample frequency, analog input ranges, and the number of analog output channels, as shown in Table 1-1.
  • Page 17: Driverlinx Software

    KPCI-3101 — KPCI-3104 Series User’s Manual Overview DriverLINX software The following software is available for use with the KPCI-3101–4 Series board: • KPCI-3101–4 Series standard software package — Shipped with KPCI-3101–4 Series boards. Includes DriverLINX for Microsoft Windows and function libraries for writing application programs under Windows in a high-level language such as C/C++, Visual Basic, Delphi, and Test Point;...
  • Page 18: Viewing The Kpci-3101-4 Series Documentation Online

    Overview KPCI-3101 — KPCI-3104 Series User’s Manual Viewing the KPCI-3101–4 series documentation online The DriverLINX Manuals and this manual have been provided in electronic form (in PDF file format) on the KPCI-3101–4 Series CD-ROM. To view these documents, you need to install Rev 3.01 or later of Adobe Acrobat Reader on your hard drive (refer to DriverLINX for installation instructions).
  • Page 19: System Requirements

    KPCI-3101 — KPCI-3104 Series User’s Manual Overview System requirements The system capabilities required to run the KPCI-3101–4 Series board, and to use the Driver- LINX software supplied with the board, are listed in Table 1-2. Table 1-2 System requirements Pentium or higher processor on motherboard with PCI bus version 2.1 CPU Type Windows 95 or 98 Operating system...
  • Page 20: Accessories

    Overview KPCI-3101 — KPCI-3104 Series User’s Manual Accessories The following optional accessories are available for the KPCI-3101–4 Series board: • STA-300 screw terminal panel — Screw terminal panel with two connectors. The STP-300 includes features such as jumpers for selecting AMP LO connections for use with “pseudo- differential”...
  • Page 21: Principles Of Operation

    Principles of Operation...
  • Page 22: Analog Input Features

    Principles of Operation KPCI-3101 — KPCI-3104 Series User’s Manual This section describes the analog input, analog output, digital I/O, and counter/timer features of the KPCI-3101–4 Series board. To frame the discussions, refer to the block diagram shown in Figure 2-1. Note that bold entries indicate signals you can access. Figure 2-1 Block diagram of the KPCI-3101–4 series boards Trigger/Clock...
  • Page 23: Input Resolution

    KPCI-3101 — KPCI-3104 Series User’s Manual Principles of Operation Input resolution Table 2-1 lists the input resolutions supported by the KPCI-3101–4 Series boards. The resolu- tion is fixed for each board type; therefore, it cannot be programmed in software. Table 2-1 Supported analog input resolutions Board Type Supported Resolution...
  • Page 24: Input Ranges And Gains

    Principles of Operation KPCI-3101 — KPCI-3104 Series User’s Manual Specifying one or more channels On the KPCI-3101–4 Series board, you can read data from one or more analog input channels using an analog input channel list. You can group the channels in the list sequentially (either starting with 0 or with any other analog input channel) or randomly.
  • Page 25 KPCI-3101 — KPCI-3104 Series User’s Manual Principles of Operation KPCI-3101–4 Series boards provide gains of 1, 2, 4, and 8, which are programmable per chan- nel. Table 2-2 lists the effective ranges supported by the KPCI-3101–4 Series board using these gains.
  • Page 26: A/D Sample Clock Sources

    Principles of Operation KPCI-3101 — KPCI-3104 Series User’s Manual A/D sample clock sources The KPCI-3101–4 Series board provides two clock sources for pacing analog input operations in continuous mode: • An internal A/D sample clock that uses the 24-bit A/D Counter on the board; and •...
  • Page 27: Analog Input Conversion Modes

    KPCI-3101 — KPCI-3104 Series User’s Manual Principles of Operation External A/D sample clock The external A/D sample clock is useful when you want to pace acquisitions at rates not avail- able with the internal A/D sample clock or when you want to pace at uneven intervals. Connect an external A/D sample clock to screw terminal TB48 on the STA-300 screw terminal panel (pin 22 on connector J1).
  • Page 28 Principles of Operation KPCI-3101 — KPCI-3104 Series User’s Manual Triggered scan mode KPCI-3101–4 Series boards support two triggered scan modes: internally-retriggered and externally-retriggered. These modes are described in the following subsections. Internally-Retriggered Scan Mode Use internally-retriggered scan mode if you want to accurately control both the period between conversions of individual channels in a scan and the period between each scan.
  • Page 29 KPCI-3101 — KPCI-3104 Series User’s Manual Principles of Operation To select internally-retriggered scan mode, use software to specify the following parameters: • The dataflow as continuous, continuous pre-trigger, or continuous about-trigger • Triggered scan mode usage as enabled • The retrigger mode as internal •...
  • Page 30: Triggers

    2-10 Principles of Operation KPCI-3101 — KPCI-3104 Series User’s Manual Triggers A trigger is an event that occurs based on a specified set of conditions. The KPCI-3101–4 Series boards support a number of trigger sources and trigger acquisition modes, described in the fol- lowing subsections.
  • Page 31 KPCI-3101 — KPCI-3104 Series User’s Manual Principles of Operation 2-11 Figure 2-2 Continuous post-trigger mode without triggered scan Chan 2 Chan 2 Chan 0 Chan 2 Chan 0 Chan 2 Chan 0 Chan 0 Chan 1 Chan 1 Chan 1 Chan 1 Sample Clock...
  • Page 32 2-12 Principles of Operation KPCI-3101 — KPCI-3104 Series User’s Manual Pre-trigger acquisition starts when you start the operation and stops when the board detects the selected post-trigger source, indicating that the first post-trigger sample was acquired (this sam- ple is ignored). If you are using internally-retriggered scan mode and the post-trigger event has not occurred, the board continues to acquire pre-trigger data using the internal retrigger clock to clock the opera- tion.
  • Page 33 KPCI-3101 — KPCI-3104 Series User’s Manual Principles of Operation 2-13 About-Trigger acquisition Use about-trigger acquisition mode (continuous about-trigger mode) when you want to acquire data both before and after a specific external event occurs. This operation is equivalent to doing both a pre-trigger and a post-trigger acquisition.
  • Page 34: Data Format

    2-14 Principles of Operation KPCI-3101 — KPCI-3104 Series User’s Manual Figure 2-7 illustrates the same example using internally-retriggered scan mode. The multiscan count is 2, indicating that the channel-gain list will be scanned twice per trigger or retrigger. In this example, pre-trigger analog input data is acquired on each clock pulse of the A/D sample clock for two scans;...
  • Page 35: Error Conditions

    KPCI-3101 — KPCI-3104 Series User’s Manual Principles of Operation 2-15 NOTE When you stop an analog input operation, a final block of two samples is transferred even if only one sample is required. The host software ignores the extra sample. DriverLINX accesses the KPCI-3101–4 hardware circular buffer to fill user buffers that you allocate in software.
  • Page 36: Analog Output Features

    2-16 Principles of Operation KPCI-3101 — KPCI-3104 Series User’s Manual Analog output features An analog output (D/A) subsystem is provided on the KPCI-3102 and KPCI-3104 boards only. This section describes the following features of the D/A subsystem: • Output resolution •...
  • Page 37: Analog Output Conversion Modes

    KPCI-3101 — KPCI-3104 Series User’s Manual Principles of Operation 2-17 Analog output conversion modes KPCI-3102 and KPCI-3104 boards can perform single value operations only. Use software to specify the range, gain, and analog output channel (among other parameters), then output the data from the specified channel.
  • Page 38: Combining Or Splitting Logical Channels

    2-18 Principles of Operation KPCI-3101 — KPCI-3104 Series User’s Manual Combining or splitting logical channels DriverLINX supports a software extension to Logical Channel addressing that allows applica- tions to combine adjacent Logical Channels into a single channel or split a Logical Channel into smaller addressable parts.
  • Page 39: Counter/Timer Features

    KPCI-3101 — KPCI-3104 Series User’s Manual Principles of Operation 2-19 Counter/Timer features The counter/timer circuitry on the board provides the clocking circuitry used by the A/D sub- system as well as several user counter/timer features. This section describes the following user counter/timer features: •...
  • Page 40 2-20 Principles of Operation KPCI-3101 — KPCI-3104 Series User’s Manual Internal C/T clock The internal C/T clock uses a 20MHz time base. Counter/timer operations start on the rising edge of the clock input signal. Through software, specify the clock source as internal and the frequency at which to pace the counter/timer operation (this is the frequency of the clock output signal).
  • Page 41: Gate Types

    KPCI-3101 — KPCI-3104 Series User’s Manual Principles of Operation 2-21 Gate types The active edge or level of the gate input to the counter enables counter/timer operations. The operation starts when the clock input signal is received. The KPCI-3101–4 Series board provides the following gate input types: •...
  • Page 42: Pulse Outputs

    2-22 Principles of Operation KPCI-3101 — KPCI-3104 Series User’s Manual Pulse outputs The KPCI-3101–4 Series boards provide the following C/T pulse output signals: • For Counter 0, the C/T output signal is screw terminal TB27 (pin 40 of connector J1) •...
  • Page 43 KPCI-3101 — KPCI-3104 Series User’s Manual Principles of Operation 2-23 Event counting Use event counting mode to count events from the counter’s associated clock input source. If you are using one counter, the board can count a maximum of 65,536 events before the counter rolls over to 0 and starts counting again.
  • Page 44 2-24 Principles of Operation KPCI-3101 — KPCI-3104 Series User’s Manual Figure 2-11 shows an example of performing an event counting operation. In this example, the gate type is low level. Figure 2-11 Example of event counting High Level Disables Operation Gate Input Low Level Signal 0...
  • Page 45 KPCI-3101 — KPCI-3104 Series User’s Manual Principles of Operation 2-25 In this configuration, use software to specify the counter/timer mode as frequency measurement or event counting, and the duration of the Windows timer over which to measure the frequency. (The Windows timer uses a resolution of 1ms.) In this configuration, frequency is determined using the following equation: Number of Events Frequency Measurement...
  • Page 46 2-26 Principles of Operation KPCI-3101 — KPCI-3104 Series User’s Manual Figure 2-14 shows an example of performing a frequency measurement operation. In this exam- ple, three events are counted during a duration of 300ms. The frequency, then, is 10Hz, since 10Hz = 3/(.3 s).
  • Page 47 KPCI-3101 — KPCI-3104 Series User’s Manual Principles of Operation 2-27 Ensure that the signals are wired appropriately. Figure 2-15 shows one example of connecting a pulse output operation to the STA-300 screw terminal panel using user counter 0. In this exam- ple, a software gate type is used.
  • Page 48 2-28 Principles of Operation KPCI-3101 — KPCI-3104 Series User’s Manual Figure 2-16 shows an example of performing an enabled rate generation operation using an external C/T clock source with an input frequency of 4kHz, a clock divider of 4, a low-to-high pulse type, and a duty cycle of 75%.
  • Page 49 KPCI-3101 — KPCI-3104 Series User’s Manual Principles of Operation 2-29 The period of the output pulse is determined by the clock input signal. In one-shot mode, the internal C/T clock source is more useful than an external C/T clock source; refer to page 2-20 for more information on the internal C/T clock source.
  • Page 50 2-30 Principles of Operation KPCI-3101 — KPCI-3104 Series User’s Manual Figure 2-19 shows an example of performing a one-shot operation using an external gate input (rising edge), a clock output frequency of 1kHz (pulse period of 1 ms), a low-to-high pulse type, and a duty cycle of 99.99%.
  • Page 51 KPCI-3101 — KPCI-3104 Series User’s Manual Principles of Operation 2-31 The period of the output pulse is determined by the clock input signal. In repetitive one-shot mode, the internal C/T clock source is more useful than an external C/T clock source; refer to page 2-20 for more information on the internal C/T clock source.
  • Page 52 2-32 Principles of Operation KPCI-3101 — KPCI-3104 Series User’s Manual Figure 2-22 Example of repetitive one-shot mode using a 50% duty cycle Repetitive One-Shot Operation Starts External Gate Signal 1ms period 1ms period 50% duty 50% duty cycle Pulse cycle Output Signal...
  • Page 53: Installation And Configuration

    Installation and Configuration...
  • Page 54: Unpacking

    • KPCI-3101–4 Series data acquisition board • KPCI-3101–4 Series DriverLINX Software and Documentation CD-ROM If an item is missing or damaged, call Keithley at: 1-888-KEITHLEY Monday - Friday, 8:00 a.m. - 5:00 p.m., Eastern Time An application engineer will guide you through the appropriate steps for replacing missing or damaged items.
  • Page 55 Installation and Configuration DriverLINX driver software for Windows 95/98/NT DriverLINX software, supplied by Keithley with the KPCI-3101–4 Series board, provides con- venient interfaces to configure analog and digital I/O modes without register-level programming. Most importantly, however, DriverLINX supports those programmers who wish to create cus- tom applications using Visual C/C++, Visual Basic, or Delphi.
  • Page 56: Installing Driverlinx

    flow execution. LabVIEW can be used to create professional applications with minimal programming. A Keithley VI palette provides standard virtual instruments (VIs) for LabVIEW that interface with your KPCI-3101–4 Series board through DriverLINX. The needed driver is provided on your DriverLINX CD-ROM.
  • Page 57: Installing The Board

    KPCI-3101 — KPCI-3104 Series User’s Manual Installation and Configuration Installing the board To install the board, perform the following steps: 1. Check the system requirements (Section 1, “Overview”) 2. Set up the computer (page 3-5) 3. Select an expansion slot (page 3-5) 4.
  • Page 58: Inserting The Kpci-3101-4 Series Board In The Computer

    Installation and Configuration KPCI-3101 — KPCI-3104 Series User’s Manual Inserting the KPCI-3101–4 series board in the computer 1. To discharge any static electricity, hold the wrapped board in one hand while placing your other hand firmly on a metal portion of the computer chassis. 2.
  • Page 59: Configuring The Board To Work With Driverlinx

    KPCI-3101 — KPCI-3104 Series User’s Manual Installation and Configuration Configuring the board to work with DriverLINX After physically installing the board, turn on and reboot the computer. The DriverLINX Plug and Play Wizard screen appears. Run the Wizard immediately by following the progressive instructions on the screen.
  • Page 60: Attaching The Sta-300 Screw Terminal Panel

    KPCI-3101–4 Series board using the CAB-305 cable. The STA-300 screw terminal panel and the CAB-305 cable are offered by Keithley as accessories to the KPCI-3101–4 Series boards. Connector J1 on the STA-300 brings out all of the signals from connector J1 on the KPCI-3101–4 Series board.
  • Page 61 KPCI-3101 — KPCI-3104 Series User’s Manual Installation and Configuration Figure 3-3 shows the layout of the STA-300 screw terminal panel. NOTE The STA-300 panel is designed to fit inside a standard 4-inch by 8-inch plastic enclosure. Figure 3-3 Layout of the STA-300 screw terminal panel J1, 68-Pin Connector Counter/Timers R8 to R1...
  • Page 62: Jumper W1

    3-10 Installation and Configuration KPCI-3101 — KPCI-3104 Series User’s Manual Jumper W1 The STA-300 screw terminal panel contains jumper W1, and jumpers W4 to W7. Jumper W1 provides a common ground sense (jumpers W4 to W7 are not used). The following subsections describe these jumpers.
  • Page 63: Resistors

    KPCI-3101 — KPCI-3104 Series User’s Manual Installation and Configuration 3-11 Resistors Locations are provided on the STA-300 screw terminal panel for installing bias return and cur- rent shunt resistors. The following subsections describe these resistors and their use. Configuring resistors R1 to R8 - Bias return Resistor locations R1 to R8 connect the low side of analog input channels to analog ground.
  • Page 64 3-12 Installation and Configuration KPCI-3101 — KPCI-3104 Series User’s Manual Analog input screw terminals Table 3-1 lists the screw terminal (TB) assignments for analog input connections on the STA-300 screw terminal panel. Table 3-1 Analog input screw terminal assignments on the STA-300 Resistor Use Bias Return Current Shunt...
  • Page 65 KPCI-3101 — KPCI-3104 Series User’s Manual Installation and Configuration 3-13 Analog output and power screw terminals Table 3-2 lists the screw terminal (TB) assignments for analog output and power connections on the STA-300 screw terminal panel. Table 3-2 Analog output and power screw terminal assignments on the STA-300 TB # J1 Pin # Description...
  • Page 66: Power

    3-14 Installation and Configuration KPCI-3101 — KPCI-3104 Series User’s Manual Table 3-3 Counter/Timer and digital I/O screw terminal assignments on the STA-300 (cont.) TB # J1 Pin # Description TB # J1 Pin # Description Power Ground Digital I/O Port C, Line 2 Digital Ground Digital I/O Port C, Line 3 External A/D Trigger...
  • Page 67: Connecting Analog Input Signals

    KPCI-3101 — KPCI-3104 Series User’s Manual Installation and Configuration 3-15 Connecting analog input signals • The STA-300 screw terminal panel supports both voltage and current loop inputs. You can connect analog input voltage signals to the STA-300 in the following configurations: •...
  • Page 68 3-16 Installation and Configuration KPCI-3101 — KPCI-3104 Series User’s Manual Connecting pseudo-differential voltage inputs Figure 3-6 shows how to connect pseudo-differential voltage inputs (channels 0, 1, and 8, in this case) to the STA-300 screw terminal panel. Figure 3-6 Connecting pseudo-differential voltage inputs (shown for channels 0, 1, and 8) Signal Source TB17 source...
  • Page 69 KPCI-3101 — KPCI-3104 Series User’s Manual Installation and Configuration 3-17 Connecting differential voltage inputs Figure 3-7A illustrates how to connect a floating signal source to the STA-300 screw terminal panel using differential inputs. (A floating signal source is a voltage source that has no connec- tion with earth ground.) You need to provide a bias return path by adding resistors R1 to R8 for channels 0 to 7, respectively, for floating signal sources.
  • Page 70 3-18 Installation and Configuration KPCI-3101 — KPCI-3104 Series User’s Manual Note that since they measure the difference between the signals at the high (+) and low (−) inputs, differential connections usually cancel any common-mode voltages, leaving only the sig- nal. However, if you are using a grounded signal source and ground loop problems arise, connect the differential signals to the STA-300 screw terminal panel as shown in Figure 3-8.
  • Page 71: Connecting Analog Output Signals

    KPCI-3101 — KPCI-3104 Series User’s Manual Installation and Configuration 3-19 Connecting analog output signals Figure 3-10 shows how to connect an analog output voltage signal (channel 0, in this case) to the STA-300 screw terminal panel using an external +10V reference. Figure 3-10 Connecting analog output voltages using an external +10V reference (shown for channel 0)
  • Page 72: Connecting Digital I/O Signals

    3-20 Installation and Configuration KPCI-3101 — KPCI-3104 Series User’s Manual Connecting digital I/O signals Figure 3-12 shows how to connect digital input signals (lines 0 and 1 of digital Port A, in this case) to the STA-300 screw terminal panel. Figure 3-12 Connecting digital inputs (shown for channels 0 and 1, port A) STA-300 Panel...
  • Page 73: Connecting Counter/Timer Signals

    KPCI-3101 — KPCI-3104 Series User’s Manual Installation and Configuration 3-21 Connecting counter/timer signals The KPCI-3101–4 Series board and STA-300 screw terminal panel provide counter/timer chan- nels that you can use to perform the following operations: • Event counting • Frequency measurement •...
  • Page 74 3-22 Installation and Configuration KPCI-3101 — KPCI-3104 Series User’s Manual Figure 3-15 shows another example of connecting event counting signals to the STA-300 screw terminal panel using user counter 0. In this example, a software gate is used to start the event counting operation.
  • Page 75 KPCI-3101 — KPCI-3104 Series User’s Manual Installation and Configuration 3-23 Connecting frequency measurement signals This section describes two examples of how to connect frequency measurement signals to the STA-300 screw terminal panel. The first configuration uses the same wiring as an event counting application that does not use an external gate signal (see Figure 3-15 page...
  • Page 76 3-24 Installation and Configuration KPCI-3101 — KPCI-3104 Series User’s Manual Figure 3-19 shows an example of how to externally cascade two counters to perform a rate gen- eration operation using user counters 0 and 1. Note that you can also cascade counters internally using software;...
  • Page 77: Attaching The Stp-68 Screw Terminal Panel

    KPCI-3101 — KPCI-3104 Series User’s Manual Installation and Configuration 3-25 Attaching the STP-68 screw terminal panel The smaller STP-68 screw terminal panel may be used instead of the STA-300. First attach the 68-pin connector to the KPCI-3101–4 Series board using the CAB-305 cable. There is one-to- one correspondence between connector pins and terminals (for example, pin 1 corresponds to terminal 1;...
  • Page 78 3-26 Installation and Configuration KPCI-3101 — KPCI-3104 Series User’s Manual...
  • Page 79: Testing The Board

    Testing the Board...
  • Page 80: Driverlinx Analog I/O Panel

    Testing the Board KPCI-3101 — KPCI-3104 Series User’s Manual The test panels are small applications programs within DriverLINX that allow you to perform limited data acquisition functions. You can use the panels to do tasks such as: • Monitor one or two analog input channels on-screen. •...
  • Page 81 KPCI-3101 — KPCI-3104 Series User’s Manual Testing the Board 6. The SST Signal Generator uses two analog output channels, referred to as ChA and ChB. Drag the channel selectors in the AO Channel Mapping section to map them to different channel numbers.
  • Page 82 Testing the Board KPCI-3101 — KPCI-3104 Series User’s Manual...
  • Page 83: Calibration

    Calibration...
  • Page 84: Introduction

    Keithley Model 2000. • An STA-300 screw terminal accessory to make analog connections to the board. • A Keithley CAB-305 cable to connect the screw terminal accessory to the I/O connector of the KPCI-3101–4 board. • A DC calibrator or precisely adjustable and metered power supply having up to a 10VDC range and accurate to 6 digits.
  • Page 85: Calibration Procedure

    KPCI-3101 — KPCI-3104 Series User’s Manual Calibration Calibration procedure This section describes the steps required to calibrate the analog inputs and outputs of your KPCI-3101–4 Series board. Preparing for the calibrations Prepare your system for calibration as follows: 1. Warm up the calibrator and the DVM/DMM. 2.
  • Page 86 Calibration KPCI-3101 — KPCI-3104 Series User’s Manual...
  • Page 87: Troubleshooting

    Troubleshooting...
  • Page 88: General Checklist

    If you encounter a problem with a KPCI-3101–4 Series board, use the instructions in this section to isolate the cause of the problem before calling Keithley for technical support. Using the DriverLINX event viewer The DriverLINX Event Viewer displays the Windows system event log.
  • Page 89: Problem Isolation

    KPCI-3101 — KPCI-3104 Series User’s Manual Troubleshooting Problem isolation If you encounter a problem with a KPCI-3101–4 Series board, perform the following steps to determine whether the problem is in the computer, in the KPCI-3101–4 Series board, or in the I/O circuitry: 1.
  • Page 90: Troubleshooting Table

    PCI Series board is located is a PCI slot and that the expansion slot. board is correctly seated in the slot. The board is damaged. Contact Keithley Instruments. Intermittent Loose connections or Check your wiring and tighten any loose operation vibrations exist.
  • Page 91: Testing The Board And Host Computer

    KPCI-3101 — KPCI-3104 Series User’s Manual Troubleshooting Testing the board and host computer To isolate the problem to the KPCI-3101–4 board or to the host computer, use the following steps. CAUTION Removing a board with the power ON can cause damage to your board and/or computer.
  • Page 92: Technical Support

    Troubleshooting KPCI-3101 — KPCI-3104 Series User’s Manual Technical support Before returning any equipment for repair, call Keithley for technical support at: 1-888-KEITHLEY Monday - Friday, 8:00 a.m. – 5:00 p.m., Eastern Time An applications engineer will help you diagnose and resolve your problem over the telephone.
  • Page 93: Returning Equipment To Keithley

    If you are submitting your equipment for repair under warranty, you must include the invoice number and date of purchase. To enable Keithley to respond as quickly as possible, you must include the RMA number on the outside of the package.
  • Page 94 Troubleshooting KPCI-3101 — KPCI-3104 Series User’s Manual...
  • Page 95 Specifications...
  • Page 96 Specifications KPCI-3101 — KPCI-3104 Series User’s Manual Table A-1 lists the specifications for the A/D subsystem. Table A-1 A/D subsystem specifications KPCI-3101/302 KPCI-3103/304 Feature Specifications Specifications Number of analog inputs Single-ended/ pseudo-differential Differential Number of gains 4 (1, 2, 4, 8) Resolution 12 bits 12 bits...
  • Page 97 KPCI-3101 — KPCI-3104 Series User’s Manual Specifications Table A-1 A/D subsystem specifications (cont.) KPCI-3101/302 KPCI-3103/304 Feature Specifications Specifications Effective number of bits (ENOB) 11.5 bits 11.5 bits −80 dB typical −80 dB typical Total Harmonic Distortion −80 dB @ 1kHz Channel crosstalk Data throughput Single analog channel...
  • Page 98 Specifications KPCI-3101 — KPCI-3104 Series User’s Manual Table A-2 lists the specifications for the D/A subsystem. Table A-2 D/A subsystem specifications Feature Specifications Number of analog output channels (KPCI-3102 and KPCI-3104) Resolution KPCI-3102, KPCI-3104 12 bits Data encoding (input) Offset binary Nonlinearity (integral) KPCI-3102, KPCI-3104 ±1LSB...
  • Page 99 KPCI-3101 — KPCI-3104 Series User’s Manual Specifications Table A-3 lists the specifications for the DIN/DOUT subsystems. Table A-3 DIN/DOUT subsystem specifications Port A Port B Port C Feature Specifications Specifications Specifications Number of lines 8 (bidirectional) 8 (bidirectional) 7 (bidirectional) Termination 22kΩ...
  • Page 100 Specifications KPCI-3101 — KPCI-3104 Series User’s Manual Table A-4 lists the specifications for the C/T subsystems. Table A-4 C/T subsystem specifications Feature Specifications Number of counter/timer channels Clock Inputs Input type Schmitt trigger, rising-edge sensitive Input load 1 HCT14 (TTL) High-level input voltage 2.0V minimum Low-level input voltage...
  • Page 101 KPCI-3101 — KPCI-3104 Series User’s Manual Specifications Table A-5 lists the power, physical, and environmental specifications for the KPCI-3101–4 Series board. Table A-5 Power, physical, and environmental specifications Feature Specifications Power +5V (±0.25V) 1.2A nominal − 5V not used +12V 55mA maximum;...
  • Page 102 Specifications KPCI-3101 — KPCI-3104 Series User’s Manual Table A-7 lists the specifications for the STA-300 screw terminal panel. Table A-7 STA-300 specifications Feature Specifications Mechanical AMP 68-pin connector, SCSI II (#787170-7) AMP 26-pin connector (#104341-6) Terminal block insulator Polyamide 6.6GV Screw type M 2.5 x 5, Chrome-plated steel Wire size...
  • Page 103: Specifications

    KPCI-3101 — KPCI-3104 Series User’s Manual Specifications Supported capabilities The KPCI-3101–4 Series DriverLINX Software provides support for A/D, D/A, DIN, DOUT, and C/T subsystems. For information on how to install DriverLINX, refer to Section 3, “Installa- tion and Configuration”. Table A-9 summarizes the board features available for use with DriverLINX.
  • Page 104 A-10 Specifications KPCI-3101 — KPCI-3104 Series User’s Manual Table A-9 KPCI-3101–4 series supported options (cont.) KPCI-3101–4 Series DOUT Total Subsystems on Board Maximum Channel Gain List Depth 1024 Sequential Channel Gain List Support Zero Start Sequential Channel Gain List Support Random Channel-Gain List Support Programmable Gain Support Number of Gains...
  • Page 105 KPCI-3101 — KPCI-3104 Series User’s Manual Specifications A-11 Table A-9 KPCI-3101–4 series supported options (cont.) KPCI-3101–4 Series DOUT Total Subsystems on Board Internal Clock Support External Clock Support Number of Extra Clocks Base Clock Frequency 20MHz 20MHz Maximum External Clock Divider 65536 Minimum External Clock Divider Maximum Throughput...
  • Page 106 A-12 Specifications KPCI-3101 — KPCI-3104 Series User’s Manual When configured for 16 bits of resolution, both element 0 and element 1 use DIO bits 15 to 0 (Ports A and B are combined); however, you cannot use both elements at the same time. When configured for 8 bits of resolution, element 0 uses bits 7 to 0 (Port A) and element 1 uses bits 15 to 8 (Port B). Port C (element 2) always uses a fixed resolution of 7 and cannot be combined with Port A or Port B.
  • Page 107: Connector Pin Assignments

    Connector Pin Assignments...
  • Page 108 Connector Pin Assignments KPCI-3101 — KPCI-3104 Series User’s Manual Table B-1 lists the pin assignments of connector J1 on the KPCI-3101–4 Series board. Table B-1 Pin assignments for connector J1 on the KPCI-3101–4 series boards Number Signal Description Number Signal Description Analog Input 1 Analog Input 0 Analog Input 9/1 Return...
  • Page 109 KPCI-3101 — KPCI-3104 Series User’s Manual Connector Pin Assignments Table B-2 lists the screw terminal assignments for connector J1 on the STA-300 screw terminal panel. Table B-2 Pin assignments for connector J1 on the STA-300 TB # J1 Pin # Description TB # J1 Pin # Description Analog Input 0 Analog Input 8/0 Return...
  • Page 110 Connector Pin Assignments KPCI-3101 — KPCI-3104 Series User’s Manual Table B-2 Pin assignments for connector J1 on the STA-300 (cont.) TB # J1 Pin # Description TB # J1 Pin # Description Digital I/O Port C, Line 0 Digital I/O Port C, Line 1 Digital I/O Port C, Line 2 Digital I/O Port C, Line 3 Digital I/O Port C, Line 4...
  • Page 111 Systematic Problem Isolation...
  • Page 112: Systematic Problem Isolation

    If the cause of your problem appears to be outside the scope of the systematic isolation proce- dure, the procedure directs you to call Keithley for help. The seven problem isolation schemes are as follows: •...
  • Page 113: Problem Isolation Scheme A: Basic System

    Section 6 “Technical support.” Then contact Keithley for help in isolating the cause of your problem. – If you have another KPCI-3101–4 board that you know is good, i.e. works properly, then continue with step 5.
  • Page 114 Systematic Problem Isolation KPCI-3101 — KPCI-3104 Series User’s Manual 5. Determine the PCI resources detected by your computer before any KPCI-3101–4 boards are installed. Proceed as follows: a. Shut down Windows 95/98/NT and turn off power to the host computer. b.
  • Page 115: Problem Isolation Scheme B: Installation

    KPCI-3101 — KPCI-3104 Series User’s Manual Systematic Problem Isolation 9. Based on the results of steps 5 through 8, do one of the following: a. If the good board is recognized as a PCI component in all slots tested, then the PCI slots are apparently satisfactory.
  • Page 116 Read the instructions in Section 6 “Technical support” and then contact Keithley for help in isolating the cause of your problem. • If you have not yet tried to fix the combined DriverLINX/board problem, then continue with step 4.
  • Page 117 DriverLINX and is properly configured: – Keithley KPCI-3101–4 Series is listed under DriverLINX. – The amplifier icon next to Keithley KPCI-3101–4 Series is colored pale gray. – A device number—for example, Device0 (or Device1, Device2, etc.)— is listed under Keithley KPCI-3101–4 Series, instead of a specific board part number.
  • Page 118 DriverLINX with no exclamation mark over it. i. Open and check the DriverLINX Configuration panel as you did in step 4. If you success- fully configured your board(s), you should now see the following listed below Keithley KPCI-3101–4 Series. Refer back to step 4.
  • Page 119 In the Add/Remove Programs Properties dialog box that appears, select DriverLINX for Keithley 3101–4. NOTE Uninstall only DriverLINX for Keithley 3101–4. If additional Driver- LINX versions are installed, leave them installed. d. At the bottom of the Add/Remove Programs Properties dialog box, click Add/Remove and then follow the remainder of the Windows uninstall prompts.
  • Page 120: Problem Isolation Scheme C: Application Software

    C-10 Systematic Problem Isolation KPCI-3101 — KPCI-3104 Series User’s Manual 14. You arrived at this step from step 2, after successfully starting the Analog I/O Panel. Select your next action based on the criteria given in the following alternatives: • If you are performing Scheme B independently as an installation check, then Driver- LINX and your KPCI-3101–4 board are installed correctly.
  • Page 121 Read the instructions in Section 6 “Technical support” and then contact Keithley for help in isolating the cause of your problem. – You are at this point after having debugged the source code at least once and after having failed the I/O software tests at least a second time.
  • Page 122: Problem Isolation Scheme D: Expansion Slot Connectors

    Section 6 “Technical support” and then contact Keithley for help in isolating the cause of your problem. Also, contact Keithley if you have been unable to find out elsewhere whether you have the correct version of software. • If you are uncertain at this point that your application program is properly installed, then reinstall it now.
  • Page 123: Problem Isolation Scheme E: User Wiring

    KPCI-3101 — KPCI-3104 Series User’s Manual Systematic Problem Isolation C-13 Problem isolation Scheme E: user wiring In Scheme E, after having eliminated other problem causes, you physically check your external connections to see if they are the problem cause. NOTE This is not a stand-alone procedure.
  • Page 124: Specified Hardware I/O Tests

    Read the instructions in Section 6 “Technical sup- port,” and then contact Keithley for help in isolating the cause of your problem. Specified hardware I/O tests The tests in this section check whether the analog and digital I/O of the board work properly.
  • Page 125 KPCI-3101 — KPCI-3104 Series User’s Manual Systematic Problem Isolation C-15 Equipment for the analog input hardware test The following equipment is needed for the analog input test: • A voltage source supplying a known voltage at <5V. Refer to Table C-1 for more details.
  • Page 126 C-16 Systematic Problem Isolation KPCI-3101 — KPCI-3104 Series User’s Manual 7. Click on the AIO Panel entry. The Analog I/O Panel setup screen appears. NOTE If more than one type of board is installed in your computer under Driv- erLINX, the Analog I/O Panel, your board type and device number may not be displayed initially, and fewer tabs may be displayed at the top of the display.
  • Page 127: Analog Output Hardware Test

    KPCI-3101 — KPCI-3104 Series User’s Manual Systematic Problem Isolation C-17 Analog output hardware test This test applies only to a board having analog outputs.The analog output test checks whether the two digital-to-analog converters (DACs) of the board are working correctly. Zero voltages are set at the two analog outputs, using the on-screen level control utility that is supplied with DriverLINX.
  • Page 128 C-18 Systematic Problem Isolation KPCI-3101 — KPCI-3104 Series User’s Manual CAUTION The following test procedure involves changing DVM/DMM connec- tions while the computer and KPCI-3101–4 board are powered. Take care not to short analog outputs to the adjacent +10 V refer- ence terminal or nearby ground terminal.
  • Page 129 KPCI-3101 — KPCI-3104 Series User’s Manual Systematic Problem Isolation C-19 10. Measure and compare the analog output voltages as indicated in Table C-3: a. Measure the voltages at analog outputs 0 and 1 with your DVM/DMM. b. Compare the voltages you measured in step 10a with the voltages you set via the analog- output level control.
  • Page 130: General-Purpose Digital I/O Hardware Test

    C-20 Systematic Problem Isolation KPCI-3101 — KPCI-3104 Series User’s Manual NOTE If the analog outputs appear to work satisfactorily, but some measured analog output voltages are outside the accuracy limits specified in Appendix A, consider calibrating your board after concluding the sys- tematic problem isolation procedure.
  • Page 131 KPCI-3101 — KPCI-3104 Series User’s Manual Systematic Problem Isolation C-21 NOTE The analog input test is a software function test, not a calibration check, although readings from a properly calibrated board should correspond to a known test voltage within the accuracy specifications of the board. If you wish to check and adjust the accuracy, refer to Section “Calibration.”...
  • Page 132: Analog Output Software Test

    C-22 Systematic Problem Isolation KPCI-3101 — KPCI-3104 Series User’s Manual Procedure for the analog input software test Perform the analog input test as follows: 1. Turn off the host computer. 2. Wire a screw terminal accessory as described under “Equipment for the analog input soft- ware test.”...
  • Page 133 KPCI-3101 — KPCI-3104 Series User’s Manual Systematic Problem Isolation C-23 Equipment for the analog output software test The following equipment is required to perform the analog output test: • A Digital Voltmeter (DVM) or a Digital Multimeter (DMM) set to the 10V range. •...
  • Page 134 C-24 Systematic Problem Isolation KPCI-3101 — KPCI-3104 Series User’s Manual Procedure for the analog output software test 1. Turn off the host computer. 2. Connect the negative lead of the DVM/DMM to a ground terminal of the screw terminal accessory, as indicated in Table C-7.
  • Page 135: General-Purpose Digital I/O Software Test

    KPCI-3101 — KPCI-3104 Series User’s Manual Systematic Problem Isolation C-25 10. Based on the measured voltages in steps 7 and 9, take action as follows: • If the voltages measured with the DVM/DMM do not agree with the application software settings, then there could be a problem with the way your application software program interfaces with DriverLINX or the way it prepares the analog data being sent to the board.
  • Page 136 C-26 Systematic Problem Isolation KPCI-3101 — KPCI-3104 Series User’s Manual Perform the I/O hardware test as follows: 1. Turn off the host computer. 2. If a screw terminal accessory is attached to the J1 connector of the KPCI-3101–4 I/O board, remove it.
  • Page 137 Index specifications trigger acquisition modes 2-10 A/D converter trigger sources 2-10 calibrating Analog input hardware test C-14 A/D Over Sample error Analog input software test 2-15 C-20 A/D sample clock Analog inputs external hardware test C-14 internal software test C-20 A/D subsystem analog inputs specifications...
  • Page 138 differential analog inputs channel type 3-17 digital inputs and outputs differential channels 3-20 A-10 event counting applications single-ended 3-21, 3-22 A-10 externally cascaded counter/timers channel-gain list 3-22, 3-24 frequency measurement applications depth 3-23 A-10 pseudo-differential analog inputs random 3-16 A-10 pulse output applications sequential 3-23...
  • Page 139 connector J2 pin assignments, STA-300 screw terminal data encoding 2-14, 2-17 panel binary A-10 Connector Pin Assignments data flow modes continuous operations continuous about-trigger operations about-trigger continuous C/T operations continuously-paced scan mode continuous digital input operations 2-18, A-9 event counting continuous post-trigger operations 2-23 externally-retriggered scan mode...
  • Page 140 edge gate type gain high analog input 2-21 analog inputs 2-21 encoding data calibrating analog input analog output 2-14 2-16 analog output analog outputs 2-17 environmental specifications calibrating A-7, A-8 error handling number of A-10 errors, analog input gain list, analog input 2-15 event counting gap-free data...
  • Page 141 installing the board installing the KPCI-3101–4 Series Support Software internal clock number of A-11 A/D sample differential channels A-10 DMA channels 2-20 internal gate type extra clocks 2-21, A-11 A-11 internal retrigger extra triggers A-10 internal retrigger clock filters A-10 internally-retriggered scan mode gains A-10...
  • Page 142 retriggered scan mode externally PCI bus master internally 2-14 physical specifications rising-edge gate type A-7, A-8 2-21 pin assignments DT300 Series J1 connector STA-300 screw terminal panel J1 connector STA-300 screw terminal panel J2 connector Safety Precautions ports sample clock 2-17 post-trigger acquisition mode external A/D...
  • Page 143 TestPoint description installation, technical support software calibration Test panels A-11 software supported Analog I/O Panel (AIO Panel) software trigger digital voltmeter utility 2-10, A-10 specifications using, in Analog input hardware test C-15 analog input level control utility analog output using, in Analog output hardware test C-18 counter/timer using, in installation check/problem...
  • Page 144 triggers Visual C/C++ external DriverLINX driver for 2-10, A-10 number of extra voltage ranges A-10 software number of 2-10, A-10 A-10 Troubleshooting voltmeter systematic problem isolation in DriverLINX Analog I/O Panel specified hardware I/O tests C-14 specified software I/O tests C-20 tests, problem isolation scheme-specified analog input hardware test...
  • Page 145 This page intentionally left blank.
  • Page 146 Keithley Instruments, Inc. 28775 Aurora Road Cleveland, Ohio 44139 Printed in the U.S.A.

This manual is also suitable for:

Kpci-3104 seriesKpci-3103 seriesKpci-3102 series

Table of Contents