Page 1
KUSB-3160 Getting Started Manual KUSB3160-903-01 Rev. A / January 2005 G R E A T E R M E A S U R E C O N F I D E N C E...
Page 2
WARRANTY Keithley Instruments, Inc. warrants this product to be free from defects in material and workmanship for a period of 3 years from date of shipment. Keithley Instruments, Inc. warrants the following items for 90 days from the date of shipment: probes, cables, rechargeable batteries, diskettes, and documentation.
Page 4
Revision of the manual. Each new Revision includes a revised copy of this print history page. Revision A (Document Number KUSB3160-903-01A)..............January 2005 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
Keithley products are designed for use with electrical signals that The instrument and accessories must be used in accordance with its are rated Measurement Category I and Measurement Category II, as...
Page 6
Keithley Instru- symbol on an instrument indicates that the user should re- ments. Standard fuses, with applicable national safety approvals, fer to the operating instructions located in the manual.
About this Manual This manual describes how to install and set up your KUSB-3160 module and device driver, and verify that your module is working properly. Intended Audience This document is intended for engineers, scientists, technicians, or others responsible for installing and setting up a KUSB-3160 module to perform digital I/O operations.
• Chapter “Verifying the Operation of a Module,” describes how to verify the operation of a KUSB-3160 module with the Quick Data Acq application. • An index completes this manual. Conventions Used in this Manual The following conventions are used in this manual: •...
• Microsoft Windows 2000 or Windows XP documentation. • USB web site (http://www.usb.org). Where To Get Help Should you run into problems installing or using your KUSB-3160 module, please call the Keithley Technical Support Department.
Chapter 1 Key Hardware Features The KUSB-3160 module provides 64 shared digital I/O lines (grouped in banks of eight) and 32 dedicated digital input lines. Sixteen of the 32 dedicated digital input lines are capable of generating an interrupt to the host computer if the value of the line changes state.
Overview Software The software for the KUSB-3160 module, which is shipped on the CD with the module, includes the following components: • Device Driver − This software must be installed and loaded before you can use a KUSB-3160 module with any of the supported software packages or utilities.
KUSB-3160 module using the KUSB-CABDIO cable. This screw terminal panel allows you to connect all of the input and output connections that are supported by a KUSB-3160 module. LEDs on up to 64 of the outputs light when the outputs are low.
The flow diagram shown in Figure 1 illustrates the steps needed to get started using the KUSB-3160 module. This diagram is repeated in each chapter; the shaded area in the diagram shows you where you are in the getting started procedure.
Preparing to Use a Module Unpacking ..........Checking the System Requirements .
Page 20
Chapter 2 Prepare to Use a Module (this chapter) Install the Module and Configure the Device Driver (see Chapter 3 starting on page Wire Signals (see Chapter 4 starting on page Verify the Operation of the Module (see Chapter 5 starting on page...
Open the shipping box and verify that the following items are present: • KUSB-3160 module, • USB cable, and • Keithley CD. If an item is missing or damaged, contact Keithley Technical Support. Once you have unpacked your module, check the system requirements, as described in the next section.
Chapter 2 Checking the System Requirements For reliable operation, your KUSB-3160 module requires the minimum system requirement listed in Table Table 1: Minimum System Requirements Feature Minimum Requirements Operating System Windows 2000 or Windows XP Processor 80486, Pentium, or compatible...
To install the driver software, Data Acq SDK, DTx-EZ, and the Quick Data Acq software, perform the following steps: Insert the Keithley CD into your CD-ROM drive. Click Start from the Task Bar, then click Run. The Run dialog box appears.
Installing a Module and Configuring the Device Driver Overview ..........Connecting Directly to the Host Computer .
Page 26
Chapter 3 Prepare to Use a Module (see Chapter 2 starting on page Install the Module and Configure the Device Driver (this chapter) Wire Signals (see Chapter 4 starting on page Verify the Operation of the Module (see Chapter 5 starting on page...
Installing a Module and Configuring the Device Driver Overview You can attach a KUSB-3160 module to the host computer in one of two ways: • Connect directly to a USB port of the host computer, described on page 16. Use this method if one or two KUSB-3160 modules are sufficient for your application.
Connecting Directly to the Host Computer Generally, host computers have two USB ports. These ports are completely independent. To connect a KUSB-3160 module directly to a USB port of the computer, perform the following steps: Attach one end of the USB cable, which is shipped with the KUSB-3160 module, to the USB port on the module.
Page 29
Installing a Module and Configuring the Device Driver Repeat the steps 1 to 3 to attach another KUSB-3160 module to the host computer, if desired. Note: You can unplug a module, then plug it in again, if you wish, without causing damage. This process is called hot-swapping.
To connect a KUSB-3160 module to a self-powered USB hub, perform the following steps: Attach one end of the USB cable to the KUSB-3160 module and the other end of the USB cable to a self-powered USB hub. Connect the power supply for the self-powered USB hub to an external power supply.
Page 31
(up to five) and modules (up to four per hub) that you desire. Refer to Figure The operating system automatically detects the USB devices as they are installed. KUSB-3160 Module KUSB-3160 Module USB Cables Host Computer USB Cable USB Cable...
0 corresponds to digital input line 0 and bit 7 corresponds to digital input line 7. Refer to Chapter 2 of the KUSB-3160 User’s Manual for more information on interrupts. To generate a debounce delay of 5 ms for the digital inputs, click the Debounce Inputs checkbox.
Page 33
Installing a Module and Configuring the Device Driver Note: This name is used to identify the module in all subsequent applications. 10. When you are finished configuring the module, click Close. 11. Repeat steps 3 to 10 for the other modules that you want to configure.
Wiring Signals Attaching the Screw Terminal Panel ..... . . Preparing to Wire Signals ....... .
Page 36
Chapter 4 Prepare to Use a Module (see Chapter 2 starting on page Install the Module and Configure the Device Driver (see Chapter 3 starting on page Wire Signals (this chapter) Verify the Operation of the Module (see Chapter 5 starting on page...
KUSB-STP100 KUSB-3160 Screw Terminal Module KUSB-CABDIO Cable Panel Figure 4: Connecting a Module to the KUSB-STP100 Screw Terminal Panel Table 2 lists the pin assignments of the J1 connector on the KUSB-3160 module and on the KUSB-STP100 screw terminal panel.
Page 38
Chapter 4 Table 2: Pin Assignments for Connector J1 Number Signal Description Number Signal Description Bank 0, Bit 0 Bank 0, Bit 1 Bank 0, Bit 2 Bank 0, Bit 3 Bank 0, Bit 4 Bank 0, Bit 5 Bank 0, Bit 6 Bank 0, Bit 7 Bank 1, Bit 0 Bank 1, Bit 1...
Page 39
Wiring Signals Table 2: Pin Assignments for Connector J1 (cont.) Number Signal Description Number Signal Description Bank 5, Bit 4 Bank 5, Bit 5 Bank 5, Bit 6 Bank 5, Bit 7 Isolated +5 V Isolated Ground Bank 6, Bit 0 Bank 6, Bit 1 Bank 6, Bit 2 Bank 6, Bit 3...
Page 40
Bank 11, Bit 6 Bank 11, Bit 7 Isolated +5 V Isolated Ground a. Dedicated digital input only. The KUSB-3160 module can generate a PCI-bus interrupt when any of the digital input lines (bits) corresponding to banks 10 and 11 changes state.
Page 41
Wiring Signals Figure 5 shows the layout of the KUSB-STP100 screw terminal panel. TB10 Figure 5: KUSB-STP100 Screw Terminal Panel Table 3 lists the screw terminal assignments on the KUSB-STP100 screw terminal panel.
Page 42
Chapter 4 Table 3: Screw Terminal Assignments of the KUSB-STP100 Screw Terminal Panel Screw Terminal Terminal Block Number Signal Description Bank 0, Bit 0 Bank 0, Bit 1 Bank 0, Bit 2 Bank 0, Bit 3 Bank 0, Bit 4 Bank 0, Bit 5 Bank 0, Bit 6 Bank 0, Bit 7...
Page 43
Wiring Signals Table 3: Screw Terminal Assignments of the KUSB-STP100 Screw Terminal Panel (cont.) Screw Terminal Terminal Block Number Signal Description Bank 1, Bit 2 Bank 1, Bit 3 Bank 1, Bit 4 Bank 1, Bit 5 Bank 1, Bit 6 Bank 1, Bit 7 Bank 2, Bit 0 Bank 2, Bit 1...
Page 44
Chapter 4 Table 3: Screw Terminal Assignments of the KUSB-STP100 Screw Terminal Panel (cont.) Screw Terminal Terminal Block Number Signal Description Bank 2, Bit 4 Bank 2, Bit 5 Bank 2, Bit 6 Bank 2, Bit 7 Bank 3, Bit 0 Bank 3, Bit 1 Bank 3, Bit 2 Bank 3, Bit 3...
Page 45
Wiring Signals Table 3: Screw Terminal Assignments of the KUSB-STP100 Screw Terminal Panel (cont.) Screw Terminal Terminal Block Number Signal Description Bank 3, Bit 6 Bank 3, Bit 7 Bank 4, Bit 0 Bank 4, Bit 1 Bank 4, Bit 2 Bank 4, Bit 3 Bank 4, Bit 4 Bank 4, Bit 5...
Page 46
Chapter 4 Table 3: Screw Terminal Assignments of the KUSB-STP100 Screw Terminal Panel (cont.) Screw Terminal Terminal Block Number Signal Description Bank 5, Bit 0 Bank 5, Bit 1 Bank 5, Bit 2 Bank 5, Bit 3 Bank 5, Bit 4 Bank 5, Bit 5 Bank 5, Bit 6 Bank 5, Bit 7...
• Separate power and signal lines by using physically different wiring paths or conduits. • To avoid noise, do not locate the KUSB-3160 module and cabling next to sources that produce high electromagnetic fields, such as large electric motors, power lines, solenoids, and electric arcs, unless the signals are enclosed in a mumetal shield.
Chapter 4 Connecting Digital Input Signals Figure 6 shows how to connect digital input signals (lines 0 and 1 of bank 0, in this case) to the KUSB-STP100 screw terminal panel. KUSB-STP100 Digital Input Line 0 TB1, 0 TB1, 1 TTL Inputs Digital Input Line 1 Isolated Digital Ground...
Wiring Signals Connecting Digital Output Signals Figure 7 shows how to connect a digital output (line 0 of bank 1, in this case) to the KUSB-STP100 screw terminal panel. KUSB-STP100 0 Out = LED On TB1, 9 Ω Digital Output Line 0 Isolated Digital Ground TB10, 10 Figure 7: Connecting Digital Outputs (Shown for Line 0 of Bank 1)
Verifying the Operation of a Module Overview ..........Running the Quick Data Acq Application .
Page 52
Chapter 5 Prepare to Use a Module (see Chapter 2 starting on page Install the Module and Configure the Device Driver (see Chapter 3 starting on page Wire Signals (see Chapter 4 starting on page Verify the Operation of the Module (this chapter)
Verifying the Operation of a Module Overview The Quick Data Acq application allows you to perform the following operations with the KUSB-3160 module: • Acquire data from a single digital input port, and • Output data from a single digital output port.
To run the Quick Data Acq application, perform the following steps: If you have not already done so, power up your computer and any attached peripherals. Select Quick Data Acq from the Keithley Instruments\Quick Data Acq program group. Note: The Quick Data Acq application allows you to verify basic operations on the module;...
Click the Acquisition menu. Click Digital Input. Select the appropriate KUSB-3160 module from the Board list box. Select digital input port 0 by clicking Port A. Click Get. The value of each digital input line of bank 0 is displayed on the screen in both text and graphical form.
Page 56
Chapter 5 Click the appropriate bits to select the digital output lines to write to. If the bit is selected, a high-level signal is output to the digital output line; if the bit is not selected, a low-level signal is output to the digital output line.
Index accessories installing the software application wiring digital inputs digital outputs J1 connector J1 connector pin assignments cables KUSB-CABDIO KUSB-CABDIO cable connecting signals KUSB-STP100 screw terminal panel digital inputs digital outputs connecting to the host computer directly using a self-powered USB hub online help connector J1 pin assignments conventions used...
Page 58
Index related documents requirements running the Quick Data Acq application screw terminal assignments screw terminal panel STP100 screw terminal panel layout supported software system requirements unpacking wiring signals digital inputs digital outputs...
Page 59
M E A S U R E C O N F I D E N C E Keithley Instruments, Inc. Corporate Headquarters • 28775 Aurora Road • Cleveland, Ohio 44139 • 440-248-0400 • Fax: 440-248-6168 • 1-888-KEITHLEY (534-8453) • www.keithley.com 12/04...