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.
During the warranty period, we will, at our option, either repair or replace any product that proves to be defective.
To exercise this warranty, write or call your local Keithley representative, or contact Keithley headquarters in Cleveland, Ohio.
You will be given prompt assistance and return instructions. Send the product, transportation prepaid, to the indicated service facility. Repairs will be made and the product returned, transportation prepaid. Repaired or replaced products are warranted for the balance of the original warranty period, or at least 90 days.
LIMITATION OF WARRANTY
This warranty does not apply to defects resulting from product modification without Keithley’s express written consent, or misuse
of any product or part. This warranty also does not apply to fuses, software, non-rechargeable batteries, damage from battery leakage, or problems arising from normal wear or failure to follow instructions.
THIS WARRANTY IS IN LIEU OF ALL OTHER WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING ANY IMPLIED
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. THE REMEDIES PROVIDED HEREIN
ARE BUYER’S SOLE AND EXCLUSIVE REMEDIES.
NEITHER KEITHLEY INSTRUMENTS, INC. NOR ANY OF ITS EMPLOYEES SHALL BE LIABLE FOR ANY DIRECT,
INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF ITS INSTRUMENTS AND SOFTWARE EVEN IF KEITHLEY INSTRUMENTS, INC., HAS BEEN ADVISED IN ADVANCE OF THE
POSSIBILITY OF SUCH DAMAGES. SUCH EXCLUDED DAMAGES SHALL INCLUDE, BUT ARE NOT LIMITED TO:
COSTS OF REMOVAL AND INSTALLATION, LOSSES SUSTAINED AS THE RESULT OF INJURY TO ANY PERSON,
OR DAMAGE TO PROPERTY.
A G R E A T E R M E A S U R E O F C O N F I D E N C E
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 KUSB3160-900-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.
Safety Precautions
The following safety precautions should be observed before using
this product and any associated instrumentation. Although some instruments and accessories would normally be used with non-hazardous voltages, there are situations where hazardous conditions
may be present.
This product is intended for use by qualified personnel who recognize shock hazards and are familiar with the safety precautions required to avoid possible injury. Read and follow all installation,
operation, and maintenance information carefully before using the
product. Refer to the manual for complete product specifications.
If the product is used in a manner not specified, the protection provided by the product may be impaired.
The types of product users are:
Responsible body is the individual or group responsible for the use
and maintenance of equipment, for ensuring that the equipment is
operated within its specifications and operating limits, and for ensuring that operators are adequately trained.
Operators use the product for its intended function. They must be
trained in electrical safety procedures and proper use of the instrument. They must be protected from electric shock and contact with
hazardous live circuits.
Maintenance personnel perform routine procedures on the product to keep it operating properly, for example, setting the line voltage or replacing consumable materials. Maintenance procedures
are described in the manual. The procedures explicitly state if the
operator may perform them. Otherwise, they should be performed
only by service personnel.
Service personnel are trained to work on live circuits, and perform
safe installations and repairs of products. Only properly trained service personnel may perform installation and service procedures.
Keithley products are designed for use with electrical signals that
are rated Measurement Category I and Measurement Category II, as
described in the International Electrotechnical Commission (IEC)
Standard IEC 60664. Most measurement, control, and data I/O signals are Measurement Category I and must not be directly connected to mains voltage or to voltage sources with high transient overvoltages. Measurement Category II connections require protection
for high transient over-voltages often associated with local AC
mains connections. Assume all measurement, control, and data I/O
connections are for connection to Category I sources unless otherwise marked or described in the Manual.
Exercise extreme caution when a shock hazard is present. Lethal
voltage may be present on cable connector jacks or test fixtures.
The American National Standards Institute (ANSI) states that a
shock hazard exists when voltage levels greater than 30V RMS,
42.4V peak, or 60VDC are present. A good safety practice is to ex-
pect that hazardous voltage is present in any unknown circuit
before measuring.
Operators of this product must be protected from electric shock at
all times. The responsible body must ensure that operators are prevented access and/or insulated from every connection point. In
some cases, connections must be exposed to potential human contact. Product operators in these circumstances must be trained to
protect themselves from the risk of electric shock. If the circuit is
capable of operating at or above 1000 volts, no conductive part of
the circuit may be exposed.
Do not connect switching cards directly to unlimited power circuits.
They are intended to be used with impedance limited sources.
NEVER connect switching cards directly to AC mains. When connecting sources to switching cards, install protective devices to limit
fault current and voltage to the card.
Before operating an instrument, make sure the line cord is connected to a properly grounded power receptacle. Inspect the connecting
cables, test leads, and jumpers for possible wear, cracks, or breaks
before each use.
When installing equipment where access to the main power cord is
restricted, such as rack mounting, a separate main input power disconnect device must be provided, in close proximity to the equipment and within easy reach of the operator.
For maximum safety, do not touch the product, test cables, or any
other instruments while power is applied to the circuit under test.
ALWAYS remove power from the entire test system and discharge
any capacitors before: connecting or disconnecting cables or jumpers, installing or removing switching cards, or making internal
changes, such as installing or removing jumpers.
Do not touch any object that could provide a current path to the common side of the circuit under test or power line (earth) ground. Always
make measurements with dry hands while standing on a dry, insulated
surface capable of withstanding the voltage being measured.
The instrument and accessories must be used in accordance with its
specifications and operating instructions or the safety of the equipment may be impaired.
Do not exceed the maximum signal levels of the instruments and accessories, as defined in the specifications and operating information, and as shown on the instrument or test fixture panels, or
switching card.
When fuses are used in a product, replace with same type and rating
for continued protection against fire hazard.
Chassis connections must only be used as shield connections for
measuring circuits, NOT as safety earth ground connections.
If you are using a test fixture, keep the lid closed while power is applied to the device under test. Safe operation requires the use of a
lid interlock.
5/03
If a screw is present, connect it to safety earth ground using the
wire recommended in the user documentation.
!
The symbol on an instrument indicates that the user should refer to the operating instructions located in the manual.
The symbol on an instrument shows that it can source or measure 1000 volts or more, including the combined effect of normal
and common mode voltages. Use standard safety precautions to
avoid personal contact with these voltages.
The symbol indicates a connection terminal to the equipment
frame.
The WARNING heading in a manual explains dangers that might
result in personal injury or death. Always read the associated information very carefully before performing the indicated procedure.
The CAUTION heading in a manual explains hazards that could
damage the instrument. Such damage may invalidate the warranty.
Instrumentation and accessories shall not be connected to humans.
Before performing any maintenance, disconnect the line cord and
all test cables.
To maintain protection from electric shock and fire, replacement
components in mains circuits, including the power transformer, test
leads, and input jacks, must be purchased from Keithley Instruments. Standard fuses, with applicable national safety approvals,
may be used if the rating and type are the same. Other components
that are not safety related may be purchased from other suppliers as
long as they are equivalent to the original component. (Note that selected parts should be purchased only through Keithley Instruments
to maintain accuracy and functionality of the product.) If you are
unsure about the applicability of a replacement component, call a
Keithley Instruments office for information.
To clean an instrument, use a damp cloth or mild, water based
cleaner. Clean the exterior of the instrument only. Do not apply
cleaner directly to the instrument or allow liquids to enter or spill on
the instrument. Products that consist of a circuit board with no case
or chassis (e.g., data acquisition board for installation into a computer) should never require cleaning if handled according to instructions. If the board becomes contaminated and operation is affected,
the board should be returned to the factory for proper cleaning/servicing.
This manual describes the features of the KUSB-3160 module, the
capabilities of the device driver, and how to program the KUSB-3160
module using DT-Open Layers™ software. Troubleshooting
information is also provided.
Intended Audience
This document is intended for engineers, scientists, technicians, or
others responsible for using and/or programming the KUSB-3160
module for data acquisition operations in the Microsoft® Windows
2000 or Windows XP operating systems. It is assumed that you have
some familiarity with data acquisition principles and that you
understand your application.
What You Should Learn from this Manual
This manual provides detailed information about the features of the
KUSB-3160 module and the capabilities of the device driver. It is
organized as follows:
• Chapter 1, “Overview,” describes the major features of the
modules, as well as the supported software and accessories for
the modules.
• Chapter 2, “Principles of Operation,” describes all of the features
of the modules and how to use them in your application.
• Chapter 3, “Supported Device Driver Capabilities,” lists the data
acquisition subsystems and the associated features accessible
using the device driver.
• Chapter 4, “Programming Flowcharts,” describes the processes
you must follow to program the subsystems on the KUSB-3160
module using DT-Open Layers-compliant software.
ix
About this Manual
Conventions Used in this Manual
• Chapter 5, “Troubleshooting,” provides information that you can
use to resolve problems with the modules and the device driver,
should they occur.
• Appendix A, “Specifications,” lists the specifications of the
module.
• Appendix B, “Connector Pin Assignments,” shows the pin
assignments for the connectors and the screw terminal
assignments for the module.
• An index completes this manual.
The following conventions are used in this manual:
• Notes provide useful information or information that requires
special emphasis, cautions provide information to help you avoid
losing data or damaging your equipment, and warnings provide
information to help you avoid catastrophic damage to yourself or
your equipment.
• Items that you select or type are shown in bold.
Related Information
Refer to the following documents for more information on using the
KUSB-3160 module:
• KUSB-3160 Getting Started Manual. This manual describes the
how to install the KUSB-3160 module and related software.
• DataAcq SDK User’s Manual. For programmers who are
developing their own application programs using the Microsoft
C compiler, this manual describes how to use the DT-Open
TM
Layers
access the capabilities of your module.
x
DataAcq SDKTM in Windows 2000 or Windows XP to
• DTx-EZ Getting StartedManual. This manual describes how to use
the ActiveX controls provided in DTx-EZ
capabilities of your module in Microsoft Visual Basic® or Visual
C++®.
• DT-LV Link Getting Started Manual. This manual describes how to
use DT-LV Link
language to access the capabilities of your module.
• 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.
The KUSB-3160 is a low-cost, high-power, digital I/O module for the
Universal Serial Bus (USB). The KUSB-3160 module provides the
following major features:
• USB compatibility;
• 64 configurable digital I/O lines (configurable in banks of eight)
and 32 dedicated digital input lines for nonclocked monitoring or
control.
• Interrupt-on-change on 16 dedicated digital input lines.
• External solid-state relay module support. Digital outputs can
drive sink 12 mA, source 100 kΩ pullup.
• Isolated output common from the USB bus to 500 V peak.
2
Supported Software
The following software is available for use with the KUSB-3160
module:
• Device Driver − This software is provided on the CD shipped
with the module. The device driver allows you to use a
KUSB-3160 module with any of the supported software packages
or utilities. Refer to the KUSB-3160 Getting Started Manual for
more information on loading and configuring the device driver.
• Quick Data Acq application − This application provides a quick
way to get a KUSB-3160 module up and running. Using the
Quick Data Acq application, you can verify the features of the
module, display data on the screen, and save data to disk.
• DataAcq SDK − This DT-Open Layers Software Develop Kit
(SDK) allows programmers to develop application programs for
the KUSB-3160 using the Microsoft C compiler in Windows 2000
or Windows XP.
• DTx-EZ− This software package contains ActiveX controls that
allow Microsoft Visual Basic® or Visual C++® programmers to
access the capabilities of the KUSB-3160 module.
• DT-LV Link − This software package allows LabVIEW®
programmers to access the capabilities of the KUSB-3160 module.
Overview
1
1
1
1
1
1
1
1
1
3
Chapter 1
Accessories
The following accessories are provided for the KUSB-3160 module:
• KUSB-STP100− a 100 mm x 160 mm screw terminal panel that
connects to the 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. Note that the LEDs are not provided for the dedicated
digital input lines.
• KUSB-CABDIO− a 1-meter, 100-conductor cable that connects
the KUSB-STP100 screw terminal panel to the KUSB-3160
module.
Figure 1 shows a block diagram of the KUSB-3160 module. Note that
bold entries indicate signals you can access.
Pins 1 to 64
Lines 0 to 63
Pins 49 and 99
Isolated
Common
+5 V
In/Out
Controller and
Digital Filters
Pins 64 to 96
Lines 63 to 95
High-Speed
Isolated Data Path
Microcontroller
64 Digital I/O WIth 100 kΩ Pull-Ups to +5V_I
WIth Back EMF Protection
32 Digital Inputs WIth 100 kΩ Pull-Ups to +5V_I
WIth Back EMF Protection
Isolated Power
500 V Isolation Barrier
Power Control
DC to DC
USB Interface
+5 V D + D - GND
Figure 1: Block Diagram of the KUSB-3160 Module
6
Principles of Operation
This chapter describes the following features of the digital I/O
subsystem:
• Digital I/O lines, described on page 8;
• Resolution, described on page 10;
2
• Interrupts, described on page 13, and
• Operation modes, described on page 14.
2
2
2
2
2
2
2
2
7
Chapter 2
Digital I/O Lines
The KUSB-3160 module supports 64 shared digital I/O lines. These
lines are organized as eight digital banks (banks 0 to 7)), each
containing eight digital I/O lines (lines 0 to 7).
The KUSB-3160 module also supports 32 dedicated digital input
lines. These lines are organized as four banks (banks 8 to 11), each
containing eight digital input lines (lines 0 to 7).
You access the digital inputs through the digital input (DIN)
subsystem and the digital outputs through the digital output (DOUT)
subsystem.
The inputs are pulled up to +5 V through a 100 kΩ resistor. You can
choose to debounce the inputs using the Open Layers Control Panel.
When debounce is selected, a debounce delay of 5 ms occurs before a
change is passed through the digital filter on the module. When
debounce is not selected (the default configuration), a delay of less
than 1 ms occurs. Refer to the KUSB-3160 Getting Started Manual for
more information.
Outputs are open collectors with a 100 kΩ resistor connected to the
internal isolated +5 V. All outputs are diode-protected for back EMF
voltages typically seen when driving relays. The output stage latches
are normally powered by the module. However, you can externally
power the +5 V output so that the digital outputs retain their current
values when the module is powered down.
Note: +5 V output is available only when one of the subsystems is
activated, which, in turn, activates power to the module.
The KUSB-3160 provides enough current to drive only one LED per
output line on the KUSB-STP100 screw terminal panel at a time. An
LED turns on when the output is low.
8
Principles of Operation
You can specify the digital input lines to read in a single-value digital
I/O or continuous operation. You can specify the digital output lines
to write to in a single-value digital I/O operation. Refer to page 14 for
more information on digital I/O operation modes.
2
Note: Continuous digital input operations are supported by digital
input banks 10 and 11 only. Therefore, in continuous mode, the
resolution is always 16 bits.
The number of digital I/O lines that are read or written to depend on
the resolution that is specified, as described in the next section.
2
2
2
2
2
2
2
2
9
Chapter 2
Resolution
Using software, specify the number of digital I/O lines to read or
write at once by specifying the resolution as 8, 16, 24, or 32. Tab le 1
shows the effect of resolution on the number of DIN and DOUT
subsystems available for a bank.
Note: If you are using digital input banks 10 and 11 in continuous
mode, the resolution is always 16 bits.
Table 1: Resolution, Digital I/O Lines, and
ResolutionDigital I/O Lines
8Bank 0, lines 0 to 7Element 0
Number of Subsystems
DIN or DOUT
Subsystem
10
Bank 1, lines 0 to 7Element 1
Bank 2, lines 0 to 7Element 2
Bank 3, lines 0 to 7Element 3
Bank 4, lines 0 to 7Element 4
Bank 5, lines 0 to 7Element 5
Bank 6, lines 0 to 7Element 6
Bank 7, lines 0 to 7Element 7
Bank 8, lines 0 to 7
Bank 9, lines 0 to 7
Bank 10, lines 0 to 7
Bank 11, lines 0 to 7
a
a
a
a
Element 8
Element 9
Element 10
Element 11
Table 1: Resolution, Digital I/O Lines, and
Number of Subsystems (cont.)
ResolutionDigital I/O Lines
Principles of Operation
2
DIN or DOUT
Subsystem
16Banks 0 and 1, lines 0
and 15 combined
Banks 2 and 3, lines 0
and 15 combined
Banks 4 and 5, lines 0
and 15 combined
Banks 6 and 7, lines 0
and 15 combined
Banks 8 and 9, lines 0
and 15 combined
Banks 10 and 11, lines
0 and 15 combined
24Banks 0, 1, and 2, lines
0 to 23 combined
Banks 3, 4, and 5, lines
0 to 23 combined
Banks 6, 7, and 8, lines
0 to 23 combined
Banks 9, 10, and 11,
lines 0 to 23 combined
a
a
a
Element 0
Element 2
Element 4
Element 6
Element 8
Element 10
Element 0
Element 3
Element 6
Element 9
a
2
2
2
2
2
2
32Banks 0, 1, 2, and 3,
lines 0 to 31
Banks 4, 5, 6, and 7,
lines 0 to 31
Banks 8, 9, 10, and 11,
lines 0 to 31
a. Banks 8 to 11 are dedicated digital input lines. All other banks
can be used as digital input or digital output lines.
a
Element 0
Element 4
Element 8
2
2
11
Chapter 2
For example, if you specify a resolution of 8, you can read or write to
each digital bank separately by specifying element number 0 to 11. If
you specify a resolution of 16, you can read or write to two banks at
once by specifying element 0, 2, 4, 6, 8, or 10. If you specify a
resolution of 24, you can read or write to three banks at once by
specifying element 0, 3, 6, or 9. Lastly, if you specify a resolution of 32,
you can read or write to four banks at once by specifying element 0, 4,
or 8.
The data is encoded in binary format.
12
Interrupts
The KUSB-3160 module can generate a PCI-bus interrupt when any
of the digital input lines corresponding to banks 10 and 11 changes
state. This feature is useful when you want to monitor critical signals
or when you want to signal the host computer to transfer data to or
from the module. You enable the interrupts on a bit-by-bit basis using
the Open Layers Control Panel. Refer to the KUSB-3160 Getting
Started Manual for more information.
Principles of Operation
2
2
Use software to determine which digital input line changed state.
2
2
2
2
2
2
2
13
Chapter 2
Operation Modes
KUSB-3160 modules support the following digital I/O operation
modes:
• Single-value operations are the simplest to use but do not allow
you to check the interrupt status. Use software to specify the DIN
or DOUT subsystem, the resolution, and a gain of 1 (the gain is
ignored). Data is then read from or written to the appropriate
digital I/O lines.
Single-value operations stop automatically when finished; you
cannot stop a single-value operation.
• Continuous digital input allows you to read digital input values
as well as check the interrupt status of the digital input lines
corresponding to banks 10 and 11. Use software to specify the
DIN subsystem element, continuous mode, the resolution, the
trigger source as software, and the window or procedure to
handle the messages. Once the operation is configured and
started, an event done message is generated when the interrupt
occurs. You can then read the value and determine which digital
I/O line changed state to cause the interrupt.
The following flowcharts show the steps required to perform data
acquisition operations using DT-Open Layers. For illustration
purposes, the DataAcq SDK functions are shown; however, the
concepts apply to all DT-Open Layers software.
Note that many steps represent several substeps; if you are
unfamiliar with the detailed operations involved with any one step,
refer to the indicated page for detailed information. Optional steps
appear in shaded boxes.
26
Single-Value Operations
.
Initialize the device driver and get the
device handle with olDaInitialize.
Programming Flowcharts
4
4
Get a handle to the subsystem with
olDaGetDASS.
Set the data flow to
OL_DF_SINGLEVALUE using
olDaSetDataFlow.
Set the resolution with
olDaSetResolution.
Configure the subsystem using
olDaConfig.
Go to the next page.
Specify DIN for a digital input subsystem or
DOUT for a digital output subsystem.
4
4
Set the resolution to 8, 16, 24, or 32. See page
10 for more information.
4
4
4
4
4
27
Chapter 4
Continued from previous page.
Acquiring
Ye s
data?
No
Output a single value using
olDaPutSingleValue.
Acquire a single value using
olDaGetSingleValue.
Acquire/
output
Ye s
another
value?
No
Release the subsystem using
olDaReleaseDASS.
Release the driver and terminate the
session using olDaTerminate.
28
Programming Flowcharts
Continuous Digital Input Operations
Initialize the device driver and get the
device handle with olDaInitialize.
4
4
Get a handle to the DIN subsystem with
olDaGetDASS.
Set the data flow to
OL_DF_CONTINUOUS using
olDaSetDataFlow.
Set the resolution with
olDaSetResolution.
Set the trigger source to
OL_TRG_SOFT using olDaSetTrigger.
Using main
window to
handle
messages?
No
olDaSetNotificationProcedure
Ye s
Only banks 10 and 11 support continuous
digital input operations.
Set the resolution to 16.
olDaSetWndHandle
Specify the procedure to handle Windows
messages.
Specify the window in
which to post messages.
4
4
4
4
4
4
Go to the next page.
4
29
Chapter 4
Continued from previous page.
Configure the subsystem using
olDaConfig.
Start the operation with olDaStart.
The event done message is OLDA_WM_EVENT_DONE. In
olDaSetWndHandle or olDaSetNotificationProcedure, the
subsystem handle, HDASS, is returned in the wParam
parameter; this allows one window to handle messages from both
subsystems. The subsystem status is returned in the IParam
Get event
No
parameter.
done
message?
BitsDefinition
Table 3: Subsystem Status in IParam
30
Ye s
Process data.
Stop the operation
(see page 31).
Clean up the operation
(see page 32).
High
Word
Low
Word
State of the subsystem.
The resolution reflects the number of
significant bits and represents actual line
states read from the board.
DIO lines (bits) which caused the event.
Bit 0 corresponds to subsystem’s bit 0.
Bit 1 corresponds to subsystem’s bit 1,
and so on.
Resolution reflects the # of significant bits.
Stop the Operation
Programming Flowcharts
4
Stop in an
orderly
way?
No
Reinitialize?
No
olDaAbort
Ye s
Ye s
olDaStop
olDaReset
olDaStop stops the operation on
the subsystem in an orderly way.
olDaAbort and olDaReset stop the
operation on the subsystem
immediately. olDaReset also
reinitializes the subsystem to a
known state.
4
4
4
4
4
4
4
4
31
Chapter 4
Clean up the Operation
olDaReleaseDASS
olDaTerminate
Release each subsystem.
Release the device driver and terminate the
session.
32
3
Supported Device Driver
Capabilities
15
Chapter 3
The KUSB-3160 Device Driver provides support for DIN and DOUT
subsystems. For information on how to configure the device driver,
refer to the KUSB-3160 Getting Started Manual.
Table 2 summarizes the features available for use with the DataAcq
SDK and the KUSB-3160 modules. The DataAcq SDK provides
functions that return support information for specified subsystem
capabilities at run-time.
The first row in the table lists the subsystem types. The first column
in the table lists all possible subsystem capabilities. A description of
each capability is followed by the parameter used to describe that
capability in the DataAcq SDK.
Note: Blank fields represent unsupported options.
The DataAcq SDK uses the functions olDaGetSSCaps (for those
queries starting with OLSSC) and olDaGetSSCapsEx (for those
queries starting with OLSSCE) to return the supported subsystem
capabilities for a device.
16
For more information, refer to the description of these functions in
the DataAcq SDK online help. See the DataAcq Getting Started Manual
for information on launching this help file.
Supported Device Driver Capabilities
Table 2: KUSB-3160 Supported Options
KUSB-3160A/DD/ADINDOUT SRL C/T
Total Subsystems on Board0012
Single-Value Operation Support
OLSSC_SUP_SINGLEVALUEYesYes
Continuous Operation Support
OLSSC_SUP_CONTINUOUSYes
Continuous Operation until Trigger Event
Support
OLSSC_SUP_CONTINUOUS_PRETRIG
Continuous Operation before and after
Trigger Event
OLSSC_SUP_CONTINUOUS_
ABOUTTRIG
Data Flow Mode
DT-Connect Support
OLSSC_SUP_DTCONNECT
Continuous DT-Connect Support
OLSSC_SUP_DTCONNECT_
CONTINUOUS
Burst DT-Connect Support
OLSSC_SUP_DTCONNECT_BURST
Simultaneous Start List Support
OLSSC_SUP_SIMULTANEOUS_START
Sim.
Oper.
Pause Operation Support
OLSSC_SUP_PAUSE
Oper.
Pause
Asynchronous Operation Support
OLSSC_SUP_POSTMESSAGEYes
Wind.
Mess.
Buffer Support
OLSSC_SUP_BUFFERING
Single Buffer Wrap Mode Support
OLSSC_SUP_WRPSINGLE
Multiple Buffer Wrap Mode Support
Buffering
OLSSC_SUP_WRPMULTIPLE
Inprocess Buffer Flush Support
OLSSC_SUP_INPROCESSFLUSH
3
a
a
8
00
3
b
3
3
3
3
3
3
3
17
Chapter 3
Table 2: KUSB-3160 Supported Options (cont.)
KUSB-3160A/DD/ADINDOUT SRL C/T
Total Subsystems on Board0012
Number of DMA Channels
OLSSC_NUMDMACHANS00
Supports Gap Free Data with No DMA
OLSSC_SUP_GAPFREE_NODMA
DMA
Supports Gap Free Data with Single DMA
OLSSC_SUP_GAPFREE_SINGLEDMA
Supports Gap Free Data with Dual DMA
OLSSC_SUP_GAPFREE_DUALDMA
Triggered Scan Support
OLSSC_SUP_TRIGSCAN
Maximum Number of CGL Scans per
Trigger
OLSSC_MAXMULTISCAN00
Supports Scan per Trigger Event
Triggered Scan
OLSSC_SUP_RETRIGGER_SCAN_
PER_TRIGGER
Repeatable One-Shot Mode Support
OLSSC_SUP_CTMODE_ONESHOT_
Counter/Timers
RPT
Up/Down Counting Mode Support
OLSSC_SUP_CTMODE_UP_DOWN
Edge-to-Edge Measurement Mode
Support
OLSSC_SUP_CTMODE_MEASURE
3
a
a
8
00
3
3
3
3
3
3
3
3
21
Chapter 3
Table 2: KUSB-3160 Supported Options (cont.)
KUSB-3160A/DD/ADINDOUT SRL C/T
Total Subsystems on Board0012
High to Low Output Pulse Support
OLSSC_SUP_PLS_HIGH2LOW
Low to High Output Pulse Support
OLSSC_SUP_PLS_LOW2HIGH
None (internal) Gate Type Support
OLSSC_SUP_GATE_NONE
High Level Gate Type Support
OLSSC_SUP_GATE_HIGH_LEVEL
Low Level Gate Type Support
OLSSC_SUP_GATE_LOW_LEVEL
High Edge Gate Type Support
OLSSC_SUP_GATE_HIGH_EDGE
Low Edge Gate Type Support
OLSSC_SUP_GATE_LOW_EDGE
Level Change Gate Type Suppor t
OLSSC_SUP_GATE_LEVEL
High Level Gate Type with Input
Debounce Support
Counter/Timers (cont.)
OLSSC_SUP_GATE_HIGH_LEVEL_
DEBOUNCE
Low Level Gate Type with Input
Debounce Support
OLSSC_SUP_GATE_LOW_LEVEL_
DEBOUNCE
High Edge Gate Type with Input
Debounce Support
OLSSC_SUP_GATE_HIGH_EDGE_
DEBOUNCE
Low Edge Gate Type with Input
Debounce Support
OLSSC_SUP_GATE_LOW_EDGE_
DEBOUNCE
a
a
8
00
22
Supported Device Driver Capabilities
Table 2: KUSB-3160 Supported Options (cont.)
KUSB-3160A/DD/ADINDOUT SRL C/T
Total Subsystems on Board0012
Level Change Gate Type with Input
Debounce Support
OLSSC_SUP_GATE_LEVEL_
Counter/
DEBOUNCE
Timers (cont.)
Interrupt Support
OLSSC_SUP_INTERRUPTYes
Interrupt
FIFO in Data Path Support
OLSSC_SUP_FIFO
Output FIFO Size
FIFOs
OLSSC_FIFO_SIZE_IN_K
Data Processing Capability
OLSSC_SUP_PROCESSOR
Processor
Software Calibration Support
OLSSC_SUP_SWCAL
Software
Calibration
a. A total of eight banks of eight digital I/O lines and four banks of eight dedicated digital input
lines exist on the board. You can configure the nondedicated banks for either digital input or
digital output when you configure the device driver. Refer to the KUSB-3160 Getting Started Manual for more information on configuring the device driver.
b. Continuous digital input operations are supported by digital input banks 10 and 11 only.
c. The number of subsystem elements depends on the bank size or resolution established in the
driver configuration dialog. Values for resolution are 8, 16, 24, or 32. If you are using digital
input banks 10 and 11 in continuous mode, the resolution is always 16 bits. Refer to page 10
for more information on resolution.
d. Digital banks 10 and 11 can generate an interrupt on a bit-by-bit basis. You configure the
digital lines to interrupt using the Open Layers Control Panel. Refer to the KUSB-3160Started Manual for more information.
Should you experience problems using the KUSB-3160 module,
please follow these steps:
1.Read all the documentation provided for your product. Make
sure that you have added any “Read This First” information to
your manual and that you have used this information.
2.Check the Keithley CD for any README files and ensure that
you have used the latest installation and configuration
information available.
3.Check that your system meets the requirements stated in the
KUSB-3160 Getting Started Manual.
4.Check that you have installed your hardware properly using the
instructions in the KUSB-3160 Getting Started Manual.
5.Check that you have installed and configured the device driver
properly using the instructions in the KUSB-3160Getting Started Manual.
34
If you still experience problems, try using the information in Table 4
to isolate and solve the problem. If you cannot identify the problem,
refer to page 37.
Table 4: Troubleshooting Problems
SymptomPossible CausePossible Solution
Troubleshooting
5
Module does not
respond.
Intermittent
operation.
Device failure
error reported.
The module
configuration is
incorrect.
The module is
damaged.
Loose connections or
vibrations exist.
The module is
overheating.
Electrical noise exists.Check your wiring and either provide
The KUSB-3160
module cannot
communicate with the
Microsoft bus driver
or a problem with the
bus driver exists.
Check the configuration of your device
driver; see the instructions in the
KUSB-3160 Getting Started Manual.
Contact Keithley for technical support;
refer to page 37.
Check your wiring and tighten any loose
connections or cushion vibration sources;
see the instructions in the KUSB-3160 Getting Started Manual.
Check environmental and ambient
temperature; consult the module’s
specifications on page 41 of this manual
and the documentation provided by your
computer manufacturer for more
information.
better shielding or reroute unshielded
wiring; see the instructions in the
KUSB-3160 Getting Started Manual.
Check your cabling and wiring and tighten
any loose connections; see the
instructions in the KUSB-3160 Getting Started Manual.
5
5
5
5
5
5
The KUSB-3160
module was removed
while an operation
was being performed.
Ensure that your KUSB-3160 module is
properly connected; see the instructions in
the KUSB-3160 Getting Started Manual.
5
5
35
Chapter 5
Table 4: Troubleshooting Problems (cont.)
SymptomPossible CausePossible Solution
Data appears to
be invalid.
Computer does
not boot.
An open connection
exists.
A signal source is not
connected to the
channel being read.
The power supply of
the computer is too
small to handle all the
system resources.
Check your wiring and fix any open
connections; see the instructions in the
KUSB-3160 Getting Started Manual.
Check the transducer connections; see
the instructions in the KUSB-3160 Getting Started Manual.
Check the power requirements of your
system resources and, if needed, get a
larger power supply; consult the module’s
specifications on page 41 of this manual.
36
Service and Support
For the latest tips, software fixes, and other product information, you
can always access our World-Wide Web site at the following address:
http://www.keithley.com
Troubleshooting
5
If you have difficulty using a KUSB-3160 module, the Keithley
Technical Support Department is available to provide technical
assistance.
For the most efficient service, complete the form on page 38 and be at
your computer when you call for technical support. This information
helps to identify specific system and configuration-related problems
and to replicate the problem in house, if necessary.
a. The KUSB-3160 module can generate a PCI-bus interrupt when any of the digital
input lines corresponding to banks 10 and 11 changes state.
b. You can drive the +5V_I isolated output pin from an external power supply. This
will allow the last digital output value to be latched to the input stage; therefore, if
the power is reduced by the host, the digital output values will not change. Current
requirements are 50 mA plus load.
Table 6 lists the specifications for the digital output subsystem.
40
Table 6: DOUT Subsystem Specifications
FeatureSpecifications
Number of lines64 shared digital I/O lines
Termination22 Ω series resistor
Output driverOpen collector (5 V)
Table 6: DOUT Subsystem Specifications (cont.)
Specifications
FeatureSpecifications
Output driver high voltage100 kΩ Pullup to +5V_I
Output driver low voltage0.6 V maximum (IOL = 12 mA)
Back EMF diodesYe s
a. You can drive the +5V_I isolated output pin from an external power supply. This will
allow the last digital output value to be latched to the input stage; therefore, if the
power is reduced by the host, the digital output values will not change. Current
requirements are 50 mA plus load.
Table 7 lists the power, physical, and environmental specifications for
the KUSB-3160 module.
Table 7: Power, Physical, and Environmental Specifications
FeatureSpecifications
Power
+5 V Standby:
+5 V Enumeration:
+5 V Power ON:
+5 V Isolated Power Out:
500 µA maximum
100 mA maximum
500 mA maximum
2.5 mA maximum
a
a
A
A
A
A
A
A
Physical
Dimensions:
Weight:
Environmental
Operating temperature range:
Storage temperature range:
Relative humidity:
a. Typical power supply current is 200 mA on startup.
6.6 inches x 4.5 inches x 1.4 inches
160 mm x 100 mm mounting
16 ounces (448 grams)
0° C to 55° C
−25° C to 85° C
To 95%, noncondensing
A
A
A
41
Appendix A
Table 8 lists the cable and connector specifications for the KUSB-3160
module.
Table 8: KUSB-3160 Cable and Connector Specifications
FeatureSpecifications
USB cable2-meter, Type A-B, USB cable
AMP part# 974327-1
J1 Connector100-pin D, Robinson Nugent
part# P50E-100P1-SR1-TG
J1 Mating Connector100-pin D, Robinson Nugent
part# P50E-100S-TG
a. Because of different vendor number pinning schemes, the Robinson Nugent
connector has a mirror pinout from that described in Appendix B. The KUSB-STP100
and KUSB-CABDIO cable already account for the mirroring; however, if you are
building your own cable or screw terminal panel, you must take this into account.
a
42
B
Connector Pin Assignments
43
Appendix B
Table 9 lists the pin assignments of connector J1 on the KUSB-3160
module and on the KUSB-STP100 screw terminal panel.
Note: Because of different vendor number pinning schemes, the
Robinson Nugent connector specified on page 42 has a mirror pinout
from that described in this appendix. The KUSB-STP100 and
KUSB-CABDIO cable already account for the mirroring; however, if
you are building your own cable or screw terminal panel, you must
take this into account.
Table 9: Pin Assignments for Connector J1
Pin
Number
1Bank 0, Bit 02Bank 0, Bit 1
3Bank 0, Bit 24Bank 0, Bit 3
5Bank 0, Bit 46Bank 0, Bit 5
7Bank 0, Bit 68Bank 0, Bit 7
9Bank 1, Bit 010Bank 1, Bit 1
11Bank 1, Bit 212Bank 1, Bit 3
13Bank 1, Bit 414Bank 1, Bit 5
15Bank 1, Bit 616Bank 1, Bit 7
17Bank 2, Bit 018Bank 2, Bit 1
19Bank 2, Bit 220Bank 2, Bit 3
21Bank 2, Bit 422Bank 2, Bit 5
23Bank 2, Bit 624Bank 2, Bit 7
25Bank 3, Bit 026Bank 3, Bit 1
Signal Description
Pin
Number
Signal Description
44
Connector Pin Assignments
Table 9: Pin Assignments for Connector J1 (cont.)
Pin
Number
27Bank 3, Bit 228Bank 3, Bit 3
29Bank 3, Bit 430Bank 3, Bit 5
31Bank 3, Bit 632Bank 3, Bit 7
33Bank 4, Bit 034Bank 4, Bit 1
35Bank 4, Bit 236Bank 4, Bit 3
37Bank 4, Bit 438Bank 4, Bit 5
39Bank 4, Bit 640Bank 4, Bit 7
41Bank 5, Bit 042Bank 5, Bit 1
43Bank 5, Bit 244Bank 5, Bit 3
45Bank 5, Bit 446Bank 5, Bit 5
47Bank 5, Bit 648Bank 5, Bit 7
49Isolated +5 V50Isolated Ground
51Bank 6, Bit 052Bank 6, Bit 1
53Bank 6, Bit 254Bank 6, Bit 3
Signal Description
Pin
Number
Signal Description
B
B
B
B
B
B
55Bank 6, Bit 456Bank 6, Bit 5
57Bank 6, Bit 658Bank 6, Bit 7
59Bank 7, Bit 060Bank 7, Bit 1
61Bank 7, Bit 262Bank 7, Bit 3
63Bank 7, Bit 464Bank 7, Bit 5
65Bank 7, Bit 666Bank 7, Bit 7
67Bank 8, Bit 0
69Bank 8, Bit 2
a
a
68Bank 8, Bit 1
70Bank 8, Bit 3
B
B
a
a
B
45
Appendix B
Table 9: Pin Assignments for Connector J1 (cont.)
Pin
Number
Signal Description
71Bank 8, Bit 4
73Bank 8, Bit 6
75Bank 9, Bit 0
77Bank 9, Bit 2
79Bank 9, Bit 4
81Bank 9, Bit 6
83Bank 10, Bit 0
85Bank 10, Bit 2
87Bank 10, Bit 4
89Bank 10, Bit 6
91Bank 11, Bit 0
93Bank 11, Bit 2
95Bank 11, Bit 4
97Bank 11, Bit 6
Pin
Number
a
a
a
a
a
a
a
a
a
a
a
a
a
a
72Bank 8, Bit 5
74Bank 8, Bit 7
76Bank 9, Bit 1
78Bank 9, Bit 3
80Bank 9, Bit 5
82Bank 9, Bit 7
84Bank 10, Bit 1
86Bank 10, Bit 3
88Bank 10, Bit 5
90Bank 10, Bit 7
92Bank 11, Bit 1
94Bank 11, Bit 3
96Bank 11, Bit 5
98Bank 11, Bit 7
Signal Description
a
a
a
a
a
a
a
a
a
a
a
a
a
a
46
99Isolated +5 V100Isolated Ground
a. Dedicated digital input line. 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.
Connector Pin Assignments
Table 1 0 lists the screw terminal assignments of the KUSB-STP100
screw terminal panel.
Table 10: Screw Terminal Assignments of the
KUSB-STP100 Screw Terminal Panel
Screw Terminal
Block
TB11Bank 0, Bit 0
Terminal
Number
2Bank 0, Bit 1
3Bank 0, Bit 2
Signal Description
B
B
B
4Bank 0, Bit 3
5Bank 0, Bit 4
6Bank 0, Bit 5
7Bank 0, Bit 6
8Bank 0, Bit 7
9Bank 1, Bit 0
10Bank 1, Bit 1
TB251Bank 6, Bit 0
52Bank 6, Bit 1
53Bank 6, Bit 2
54Bank 6, Bit 3
55Bank 6, Bit 4
56Bank 6, Bit 5
57Bank 6, Bit 6
58Bank 6, Bit 7
59Bank 7, Bit 0
B
B
B
B
B
B
47
Appendix B
Table 10: Screw Terminal Assignments of the
KUSB-STP100 Screw Terminal Panel (cont.)
Screw Terminal
Block
Terminal
Number
Signal Description
TB2 (cont.)60Bank 7, Bit 1
TB311Bank 1, Bit 2
12Bank 1, Bit 3
13Bank 1, Bit 4
14Bank 1, Bit 5
15Bank 1, Bit 6
16Bank 1, Bit 7
17Bank 2, Bit 0
18Bank 2, Bit 1
19Bank 2, Bit 2
20Bank 2, Bit 3
TB461Bank 7, Bit 2
62Bank 7, Bit 3
63Bank 7, Bit 4
48
64Bank 7, Bit 5
65Bank 7, Bit 6
66Bank 7, Bit 7
67Bank 8, Bit 0
68Bank 8, Bit 1
69Bank 8, Bit 2
70Bank 8, Bit 3
a
a
a
a
Table 10: Screw Terminal Assignments of the
KUSB-STP100 Screw Terminal Panel (cont.)
Screw Terminal
Block
Terminal
Number
Signal Description
Connector Pin Assignments
B
TB521Bank 2, Bit 4
22Bank 2, Bit 5
23Bank 2, Bit 6
24Bank 2, Bit 7
25Bank 3, Bit 0
26Bank 3, Bit 1
27Bank 3, Bit 2
28Bank 3, Bit 3
29Bank 3, Bit 4
30Bank 3, Bit 5
TB671Bank 8, Bit 4
72Bank 8, Bit 5
73Bank 8, Bit 6
74Bank 8, Bit 7
75Bank 9, Bit 0
76Bank 9, Bit 1
77Bank 9, Bit 2
78Bank 9, Bit 3
79Bank 9, Bit 4
80Bank 9, Bit 5
B
B
B
B
a
a
a
a
a
a
a
a
B
B
B
a
a
B
49
Appendix B
Table 10: Screw Terminal Assignments of the
KUSB-STP100 Screw Terminal Panel (cont.)
Screw Terminal
Block
Terminal
Number
Signal Description
TB731Bank 3, Bit 6
32Bank 3, Bit 7
33Bank 4, Bit 0
34Bank 4, Bit 1
35Bank 4, Bit 2
36Bank 4, Bit 3
37Bank 4, Bit 4
38Bank 4, Bit 5
39Bank 4, Bit 6
40Bank 4, Bit 7
TB881Bank 9, Bit 6
82Bank 9, Bit 7
83Bank 10, Bit 0
84Bank 10, Bit 1
85Bank 10, Bit 2
86Bank 10, Bit 3
87Bank 10, Bit 4
88Bank 10, Bit 5
89Bank 10, Bit 6
90Bank 10, Bit 7
a
a
a
a
a
a
a
a
a
a
50
Table 10: Screw Terminal Assignments of the
KUSB-STP100 Screw Terminal Panel (cont.)
Screw Terminal
Block
Terminal
Number
Signal Description
Connector Pin Assignments
B
TB941Bank 5, Bit 0
42Bank 5, Bit 1
43Bank 5, Bit 2
44Bank 5, Bit 3
45Bank 5, Bit 4
46Bank 5, Bit 5
47Bank 5, Bit 6
48Bank 5, Bit 7
49Isolated +5 V
50Isolated Ground
TB1091Bank 11, Bit 0
92Bank 11, Bit 1
93Bank 11, Bit 2
94Bank 11, Bit 3
95Bank 11, Bit 4
96Bank 11, Bit 5
97Bank 11, Bit 6
98Bank 11, Bit 7
99Isolated +5 V
B
B
B
B
a
a
a
a
a
a
a
a
B
B
B
100Isolated Ground
a. Dedicated digital input line.
B
51
Appendix B
52
Index
Symbols
+5 V power 8
A
accessories 4
B
banks 8
base clock frequency
binary data encoding
21
12, 20
C
cables
KUSB-CABDIO
channels
clock divider
clock frequency
clock throughput
connector J1 pin assignments
continuous digital input operations
8, 19
29
4
21
21
21
44, 47
D
data encoding 12, 20
data flow mode
DataAcq SDK
device driver
differential channels
17
3
3
19
17,
digital I/O features
interrupts
lines
operation modes
resolution
specifications
digital input operations
DIN subsystem specifications
DMA
DOUT subsystem specifications
DT-LV Link
DTx-EZ
13
8
14
10
40
29
40
18
40
3
3
E
environmental specifications 41, 42
external +5 V power
external clock divider