Page 1
KUSB-3100 User’s Manual KUSB3100-900-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 KUSB3100-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.
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 the features of the KUSB-3100 module, the capabilities of the device driver, and how to program this 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-3100 module for data acquisition operations in Microsoft®...
About this Manual • Chapter “Programming Flowcharts,” describes the processes you must follow to program the subsystems on the KUSB-3100 module using DT-Open Layers-compliant software. • Chapter “Troubleshooting,” provides information that you can use to resolve problems with the module and the device driver, should they occur.
Encyclopedia®. This document, published by Omega Engineering, provides information on how to linearize voltage values into temperature readings for various thermocouple types. Where To Get Help Should you run into problems installing or using your KUSB-3100 module, please call the Keithley Technical Support Department. xiii...
Chapter 1 Features The KUSB-3100 module is an economy, multifunction mini-instrument. Table 1 lists the key features of the module. Table 1: Key Features of the KUSB-3100 Module Analog Analog Sample Digital Counter/ Inputs Outputs Resolution Range Rate Timer ±10 V...
The following software is provided with the KUSB-3100 module: • Device Driver – This software must be installed and loaded before you can use a KUSB-3100 module with any of the supported software packages or utilities. • The Quick Data Acq application – This application provides a quick way to get your module up and running.
Principles of Operation Analog Input Features ........Analog Output Features .
Page 20
Chapter 2 Figure 1 shows a block diagram of the KUSB-3100 module. Power +5 V Supply +2.5 V Reference C/T Out 0 From USB 32-Bit 8-Channel Multiplexer C/T Gate 0 Port Counter/Timer C/T In 0 A/D Ch7 A/D Ch6 External Clock...
• Error conditions, described on page Analog Input Channels The KUSB-3100 module provides eight single-ended analog input channels. The module can acquire data from a single analog input channel or from a group of analog input channels. The following subsections describe how to specify the channels.
25 kSamples/s for each channel. Likewise, if you specify 16 analog input channels in the channel-gain list, the maximum sampling rate is 3.125 kSamples/s for each channel. Input Resolution The KUSB-3100 module provides a resolution of 12-bits. Note that the resolution is fixed; it cannot be programmed in software.
±5 V ±2.5 V ±1.25 V For each channel on the KUSB-3100 module, choose the gain that has the smallest effective range that includes the signal you want to measure. For example, if your analog input signal ranges between –2.0 V and +2.0, specify a gain of 4 for the channel; the effective input range for this channel is then –2.5 V to +2.5 V, which provides the...
Chapter 2 Specifying the Gain for a Single Channel The simplest way to specify gain for a single channel is to specify the gain for a single-value analog input operation using software; refer to page 11 for more information about single-value operations. You can also specify the gain for a single channel using an analog input channel-gain list, described in the next section.
50 kHz. Connect an external clock to the Ext Clock In signal on the KUSB-3100 module. Conversions start on the rising edge of the external clock input signal. Using software, specify the clock source as external. The clock frequency is always equal to the frequency of the external sample clock input signal that you connect to the module.
Chapter 2 Continuous Scan Mode Use continuous scan mode if you want to accurately control the period between conversions of individual channels in a channel-gain list. When it receives a software trigger, the module cycles through the channel-gain list, acquiring and converting the data for each entry in the list (this process is defined as the scan).
14), or when you stop the operation. Note that when you stop the operation, the module completes the reading of the channel-gain list. The KUSB-3100 module supports the following trigger sources: • Software trigger – A software trigger event occurs when you start the analog input operation (the computer issues a write to the module to begin conversions).
This process continues indefinitely until you stop it. This mode does not guarantee gap-free data. Data Format The KUSB-3100 module uses twos complement encoding to represent bipolar input ranges. In software, the analog input value is returned as a code.
Principles of Operation Vin = Code * LSB + Offset Offset Binary where, • FSR is the full-scale range (20 V). • N is the input resolution (12 bits). • LSB is the least significant bit (0.0048828 V). • Vin is the analog voltage. •...
• Error conditions, described on page Analog Output Channels The KUSB-3100 module provides two analog output channels (DACs). The module can output data from a single analog output channel or from both analog output channels. The following subsections describe how to specify the channels.
Note that the resolution is fixed; it cannot be programmed in software. Output Ranges and Gains The KUSB-3100 module provides a fixed output range of ±10 V (the gain is ignored). Output Trigger A trigger is an event that occurs based on a specified set of conditions.
Note: The output clock frequency that you specify is the frequency at which both analog output channels are simultaneously updated. Output Conversion Modes The KUSB-3100 module supports the following output conversion modes: • Single-value output operations, described on this page.
Principles of Operation Continuous Output Mode Use continuously paced analog output mode if you want to accurately control the period between D/A conversions or write a waveform to one or more analog output channels. Use software to configure the output channel list, as described on page 16.
Chapter 2 To stop a continuously paced analog output operation, you can stop sending data to the module, letting the module stop when it runs out of data, or you can perform either an orderly stop or an abrupt stop using software.
Principles of Operation Data Format The KUSB-3100 module uses twos complement encoding for analog output values. In software, you need to supply a code that corresponds to the analog output value to output. To convert a voltage into a twos complement code, use the following...
Twos Complement Error Conditions The KUSB-3100 module can report an underrun error if the data for the analog output channels is not sent fast enough from the host computer. It is up to the host application to handle this error either by ignoring it or by stopping the output operation.
Note: You can also read or write to the digital I/O lines using direct register calls. Refer to Appendix C for more information on these calls. Resolution The resolution of the digital ports on the KUSB-3100 module is fixed at 8-bits.
Chapter 2 Operation Modes The KUSB-3100 module supports single-value digital I/O operations only. For a single-value operation, use software to specify digital input port A or digital output port A (the gain is ignored). Data is then read from or written to the digital lines associated with that port.
• C/T operation modes, described on page C/T Channels The KUSB-3100 module provides one 32-bit counter/timer (16 bits in rate generation mode). The counter accepts a C/T clock input signal (pulse input signal) and gate input signal, and outputs a pulse signal...
Connect an external clock with a maximum recommended frequency of 6 MHz to the Counter 0 In signal on the KUSB-3100 module. Using software, specify the C/T clock source as external, and specify a clock divider between 2 and 65536 to determine the actual frequency at which to pace the counter/timer operation.
The duty cycle (or pulse width) indicates the percentage of the total pulse output period that is active. In rate generation mode, the duty cycle is fixed at 50% for the KUSB-3100 module. Figure 4 illustrates a high-to-low going output pulse with a duty cycle of 50%.
C/T clock source as external, and the active gate type as software or high-level. Make sure that the signals are wired appropriately. Refer to the KUSB-3100 Getting Started Manual for an example of connecting an event counting application.
You can determine the frequency of the clock input signal using the following equation: Frequency Measurement = Number of Events Measurement Period Make sure that the signals are wired appropriately. Refer to the KUSB-3100 Getting Started Manual for an example of connecting a frequency measurement application.
Chapter 2 Edge-to-Edge Measurement Use edge-to-edge measurement mode if you want to measure the time interval between a specified start edge and a specified stop edge. The start edge can occur on the rising edge or the falling edge of the Counter 0 Gate signal, and the stop edge can occur on the rising edge or the falling edge of the Counter 0 Gate signal.
(2 to 65536), and the active gate type (high-level or software gate). Refer to page 26 for more information about gate types. Make sure that the signals are wired appropriately. Refer to the KUSB-3100 Getting Started Manual for an example of connecting a rate generation application.
Page 48
Chapter 3 The device driver for the KUSB-3100 module supports A/D, D/A, DIN, DOUT, and C/T subsystems. For information on how to configure the device driver, refer to the KUSB-3100 Getting Started Manual. Table 3 summarizes the features available for use with the DataAcq SDK and the KUSB-3100 module.
Page 49
Supported Device Driver Capabilities Table 3: KUSB-3100 Supported Options KUSB-3100 DIN DOUT SRL Total Subsystems on Module Single-Value Operation Support OLSSC_SUP_SINGLEVALUE Continuous Operation Support OLSSC_SUP_CONTINUOUS Continuous Operation until Trigger Event Support OLSSC_SUP_CONTINUOUS_PRETRIG Continuous Operation before and after Trigger Event OLSSC_SUP_CONTINUOUS_...
Page 50
Chapter 3 Table 3: KUSB-3100 Supported Options (cont.) KUSB-3100 DIN DOUT SRL Total Subsystems on Module Multiple Buffer Wrap Mode Support OLSSC_SUP_WRPMULTIPLE Inprocess Buffer Flush Support OLSSC_SUP_INPROCESSFLUSH Number of DMA Channels OLSSC_NUMDMACHANS Supports Gap Free Data with No DMA OLSSC_SUP_GAPFREE_NODMA...
Page 51
Supported Device Driver Capabilities Table 3: KUSB-3100 Supported Options (cont.) KUSB-3100 DIN DOUT SRL Total Subsystems on Module Maximum Retrigger Frequency OLSSCE_MAXRETRIGGER Minimum Retrigger Frequency OLSSCE_MINRETRIGGER Maximum Channel-Gain List Depth OLSSC_CGLDEPTH Sequential Channel-Gain List Support OLSSC_SUP_SEQUENTIAL_CGL Zero Start Sequential Channel-Gain List...
Page 52
Chapter 3 Table 3: KUSB-3100 Supported Options (cont.) KUSB-3100 DIN DOUT SRL Total Subsystems on Module Number of Channels OLSSC_NUMCHANNELS Channel Expansion Support OLSSC_SUP_EXP2896 Channel Expansion OLSSC_SUP_EXP727 SE Support OLSSC_SUP_SINGLEENDED SE Channels OLSSC_MAXSECHANS DI Support OLSSC_SUP_DIFFERENTIAL DI Channels OLSSC_MAXDICHANS Filter/Channel Support...
Page 53
Supported Device Driver Capabilities Table 3: KUSB-3100 Supported Options (cont.) KUSB-3100 DIN DOUT SRL Total Subsystems on Module Software Trigger Support OLSSC_SUP_SOFTTRIG External Trigger Support OLSSC_SUP_EXTERNTRIG Positive Threshold Trigger Support OLSSC_SUP_THRESHTRIGPOS Negative Threshold Trigger Support OLSSC_SUP_THRESHTRIGNEG Analog Event Trigger Support...
Page 55
Supported Device Driver Capabilities Table 3: KUSB-3100 Supported Options (cont.) KUSB-3100 DIN DOUT SRL Total Subsystems on Module 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...
Page 56
The DOUT subsystem contains eight digital output lines (0 to 7). c. The KUSB-3100 module has a full-scale input range of ±10 V and supports gains of 1, 2, 4, and 8 to provide many effective input ranges. Refer to...
Page 58
Chapter 4 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.
Programming Flowcharts Single-Value Operations Initialize the device driver and get the device handle with olDaInitialize. Get a handle to the subsystem with olDaGetDASS Set the data flow to OL_DF_SINGLEVALUE using olDaSetDataFlow. For the A/D and D/A subsystems, set the channel type to OLSSC_SUP_SINGLEENDED using olDaSetChannelType.
Page 60
Chapter 4 Single-Value Operations (cont.) Continued from previous page. Configure the subsystem using olDaConfig. For the A/D subsystem, read a single analog input value from channel 0 to 7 using the specified gain (1, 2, 4, or 8). Acquire a single value using Acquiring For the DIN subsystem, read olDaGetSingleValue.
Programming Flowcharts Continuous A/D Operations Initialize the device driver and get the device handle with olDaInitialize. Get a handle to the A/D subsystem with olDaGetDASS Set the data flow using Specify OL_DF_CONTINUOUS (the olDaSetDataFlow. default value). Set the channel type to OLSSC_SUP_SINGLEENDED using olDaSetChannelType.
Page 62
Chapter 4 Continuous A/D Operations (cont.) Continued from previous page. Set up the clocks and triggers (see page 62). Set up buffering (see page 63). Configure the subsystem using After you configure the subsystem, you can use olDaGetClockFrequency to return the actual olDaConfig.
Programming Flowcharts Continuous D/A Operations Initialize the device driver and get the device handle with olDaInitialize. Get a handle to D/A subsystem 0 with olDaGetDASS Specify OL_DF_CONTINUOUS with Continuous mode is the default setting. olDaSetDataFlow. Set the channel type to OLSSC_SUP_SINGLEENDED using olDaSetChannelType.
Page 64
Chapter 4 Continuous D/A Operations (cont.) Continued from previous page. Set up the clocks and triggers (see page 62). Set up buffering (see page 64). Configure the subsystem using olDaConfig. Start the operation with olDaStart. Deal with messages and buffers (see page 65).
Programming Flowcharts Event Counting Operations Initialize the device driver and get the device handle with olDaInitialize. Get a handle to the C/T subsystem with Specify C/T subsystem/element 0. olDaGetDASS. Attach an external C/T with a maximum Specify the clock source as recommended frequency of 6 MHz to OL_CLK_EXTERNAL using the Counter 0 In signal.
Page 66
Chapter 4 Event Counting Operations (cont.) Continued from previous page. Start the operation using olDaStart. Read the events counted using olDaReadEvents. Get update of events total? Stop the operation (see page 70). Release each subsystem with olDaReleaseDASS. Release the device driver and terminate the session with olDaTerminate.
Programming Flowcharts Frequency Measurement Operations The following flowchart shows the steps required to perform a frequency measurement operation using the Windows timer. If you need more accuracy the Windows timer provides, refer to page 23 this manual or to your DataAcq SDK User’s Manual for more information.
Page 68
Chapter 4 Frequency Measurement Operations (cont.) Continued from previous page. Configure the subsystem using olDaConfig. Start the frequency measurement operation using olDaMeasureFrequency. Message is in the form OLDA_WM_MEASURE_DONE. Measure done Use the LongtoFreq (IParam) message macro to get the measured returned? frequency value: float = Freq;...
Programming Flowcharts Edge-to-Edge Measurement Operations Initialize the device driver and get the device handle with olDaInitialize. Specify C/T subsystem/element 0. Get a handle to the C/T subsystem with olDaGetDASS. Specify the mode as OL_CTMODE_MEASURE using olDaSetCTMode. Specify the clock source as OL_CLK_INTERNAL using olDaSetClockSource.
Page 70
Chapter 4 Edge-to-Edge Measurement Operations (cont.) Continued from previous page. Start the operation using olDaStart. Message is in the form OLDA_WM_EVENT_DONE. Note that if you want to perform another edge-to-edge measurement, you can call olDaStart again or use the OLDA_WM_EVENT_DONE handler to call olDaStart again.
Programming Flowcharts Pulse Output Operations Initialize the device driver and get the device handle with olDaInitialize. Get a handle to the C/T subsystem with Specify C/T subsystem/element 0. olDaGetDASS. Using an Specify OL_CLK_INTERNAL Specify a frequency of internal clock? using olDaSetClockSource. 15 Hz to 12 MHz.
Page 72
Chapter 4 Pulse Output Operations (cont.) Continued from previous page. Specify OL_CTMODE_RATE for rate Specify the mode using generation mode. olDaSetCTMode. Specify the output pulse type using Must be a high-to-low pulse. The duty cycle is olDaSetPulseType. fixed at 50%. Configure the subsystem using olDaConfig.
Programming Flowcharts Simultaneous Operations See the previous flow diagrams in this Configure the A/D and D/A chapter; note that you cannot perform subsystem that you want to run single-value operations simultaneously. simultaneously. Allocate a simultaneous start list using olDaGetSSList. Put each subsystem to be simultaneously started on the start list using olDaPutDassToSSList.
Page 74
Chapter 4 Simultaneous Operations (cont.) Continued from previous page. Deal with messages (see page 65 analog input operations; see page 68 for analog output operations). Stop the operation (see page 70). Clean up the operation (see page 71).
Page 75
Programming Flowcharts Set Up Channel List and Channel Parameters Use to specify the size of the analog input channel-gain list (maximum of 16) or analog output channel list olDaSetChannelListSize (maximum of 2). The default value is 1. Specify the channels in the A/D or D/A channel list. For the A/D subsystem, channels 0 to 7 are available;...
Page 76
Chapter 4 Set Clocks and Triggers Using an Specify OL_CLK_INTERNAL (the internal olDaSetClockSource default) to select the internal clock. clock? Use to specify the frequency of the internal clock. For the A/D and D/A olDaSetClockFrequency subsystems, values range from 30 Hz to 50 kHz.
Page 77
Programming Flowcharts Set Up A/D Buffering Using main window to Use to specify the window in olDaSetWndHandle handle which to post messages. messages? Use to specify the buffer wrap mode (OL_WRP_NONE for guaranteed gap-free operation; olDaSetWrapMode OL_WRP_ MULTIPLE for not guaranteed gap-free operation).
Page 78
Chapter 4 Set Up D/A Buffering Using main window to Use to specify the window in olDaSetWndHandle handle which to post messages. messages? Use to specify the buffer wrap mode (OL_WRP_NONE if buffers are not reused or OL_WRP_ MULTIPLE if all buffers are continuously olDaSetWrapMode reused).
Page 79
Programming Flowcharts Deal with A/D Messages and Buffers The most likely error message is Error OLDA_WM_OVERRUN. Report the error. returned? Buffer reused The buffer reused message is Increment a counter, if message OLDA_WM_BUFFER_REUSED. desired. returned? The queue messages are OLDA_WM_QUEUE_DONE and Queue OLDA_WM_QUEUE_STOPPED.
Page 80
Chapter 4 Deal with A/D Messages and Buffers (cont.) Continued from previous page The buffer done message is OLDA_WM_BUFFER_DONE. Use olDaGetBuffer to retrieve the buffer from the done queue and get a pointer to the buffer. Buffer done Process message olDaGetBuffer data? returned?
Page 81
Programming Flowcharts Transfer Data from an Inprocess Buffer Use to determine the number of buffers on the olDaGetQueueSize inprocess queue (at least one must exist). olDmAllocBuffer Use to allocate a buffer of the specified number of olDmCallocBuffer samples. olDmMallocBuffer Use to copy the data from the inprocess buffer to olDaFlushFromBufferInprocess the allocated buffer for immediate processing.
Page 82
Chapter 4 Deal with D/A Messages and Buffers The most likely error messages include Error OLDA_WM_UNDERRUN and Report the error. returned? OLDA_WM_TRIGGER_ERROR. Buffer reused Increment a counter, if The buffer reused message is message OLDA_WM_BUFFER_REUSED. desired. returned? The queue done messages are Queue OLDA_WM_QUEUE_DONE and OLDA_WM_QUEUE_STOPPED.
Page 83
Programming Flowcharts Deal with D/A Messages and Buffers (cont.) Continued from previous page The buffer done message is OLDA_WM_BUFFER_ Buffer done DONE. Use olDaGetBuffer Use new olDaGetBuffer message to retrieve a buffer from the data? returned? done queue and get a pointer to the buffer.
Page 84
Chapter 4 Stop the Operation Waits until the last sample of the current buffer is filled, Stop in an then stops. The driver posts orderly olDaStop a Buffer Done and Queue way? Stopped message. Reinitialize? olDaReset Use olDaAbort and olDaReset to stop the operation on the subsystem immediately;...
Page 85
Programming Flowcharts Clean Up the Operation Use to flush all buffers on the ready and/or olDaFlushFromBufferInprocess inprocess queues to the done queue. Use to determine the number of buffers on olDaGetQueueSize the done queue. olDaGetBuffer Use to retrieve each buffer on the done queue.
Chapter 5 General Checklist Should you experience problems using a KUSB-3100 module, please follow these steps: 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.
Page 89
Intermittent Loose connections or Check your wiring and tighten any loose operation. vibrations exist. connections or cushion vibration sources; see the instructions in the KUSB-3100 Getting Started Manual. The module is Check environmental and ambient overheating. temperature; consult the module’s...
Page 90
KUSB-3100 Getting Started Manual. A transducer is not Check the transducer connections; see connected to the the instructions in the KUSB-3100 Getting channel being read. Started Manual. The module is set up Check your wiring and ensure that what...
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 If you have difficulty using the KUSB-3100 module, Keithley’s Technical Support Department is available to provide technical assistance.
Page 92
Chapter 5 Information Required for Technical Support Name:___________________________________________Phone__________________________ Contract Number: __________________________________________________________________ Address: _________________________________________________________________________ ________________________________________________________________________________ Hardware product(s): _______________________________________________________________ serial number: _________________________________________________________________ configuration: _________________________________________________________________ Device driver: ____________________________________ ________________________________ _______________________________________________ version: _________________________ Software: ________________________________________ ________________________________ serial number: ________________________________ version:__________________________ PC make/model: ___________________________________________________________________ operating system: _____________________________ version:__________________________ Windows version: ______________________________________________________________ processor: ___________________________________ speed:___________________________ RAM: _______________________________________ hard disk space: ____________________...
Calibration Using the KUSB-3100 Calibration Utility ....Calibrating the Analog Input Subsystem ....
Page 94
Chapter 6 The KUSB-3100 module is calibrated at the factory and should not require calibration for initial use. It is recommended that you check and, if necessary, readjust the calibration of the analog input and analog output circuitry on the KUSB-3100 modules every six months using the KUSB-3100 Calibration Utility.
Double-click KUSB-3100 Calibration.Exe in the program folder. The main menu appears. Select the module to calibrate, then click OK. Once the KUSB-3100 Calibration Utility is running, you can calibrate the analog input circuitry (either automatically or manually), described on page...
Chapter 6 Calibrating the Analog Input Subsystem This section describes how to use the KUSB-3100 Calibration Utility to calibrate the analog input subsystem of a KUSB-3100 module. Connecting a Precision Voltage Source To calibrate the analog input circuitry, you need to connect an external precision voltage source to Analog In 0 (AD Ch0) of the KUSB-3100 module.
Calibration Note: At any time, you can click Restore Factory Settings to reset the A/D calibration values to their original factory settings. This process will undo any auto or manual calibration settings. Using the Manual Calibration Procedure If you want to manually calibrate the analog input circuitry instead of auto-calibrating it, perform the following steps: Adjust the offset by performing the following steps: Verify that 0V is applied to AD Ch0, and that A/D Channel...
Page 98
Chapter 6 Note: At any time, you can click Restore Factory Settings to reset the A/D calibration values to their original factory settings. This process will undo any auto or manual calibration settings. Once you have finished this procedure, continue with “Calibrating the Analog Output Subsystem”...
Calibration Calibrating the Analog Output Subsystem This section describes how to use the KUSB-3100 Calibration Utility to calibrate the analog output subsystem of a KUSB-3100 module. To calibrate the analog output circuitry, you need to connect an external precision voltmeter to analog output channels 0 and 1 of the KUSB-3100 module.
Page 102
Appendix A Table 3 lists the specifications for the A/D subsystem of the KUSB-3100 module. Table 3: A/D Subsystem Specifications Feature KUSB-3100 Specifications Number of analog input 8 single-ended channels Number of gains 4 (1, 2, 4, 8) Resolution 12-bit...
Page 103
Specifications Table 3: A/D Subsystem Specifications (cont.) Feature KUSB-3100 Specifications Input bias current ±10 nA Maximum input voltage (without damage) Power on: ±35 V Power off: ±20 V μ A/D conversion time Channel acquisition time μ (±½ LSB) Sample-and-hold Aperture uncertainty:...
Page 104
Appendix A Table 3: A/D Subsystem Specifications (cont.) Feature KUSB-3100 Specifications Effective Number of Bits at 50 kHz with a 1 kHz 10.5 bits sine wave: – < 70 db @ 1 kHz Total Harmonic Distortion – 74 db @ 1 kHz...
Page 105
Specifications Table 4 lists the specifications for the D/A subsystem on the KUSB-3100 module. Table 4: D/A Subsystem Specifications Feature KUSB-3100 Specifications Number of waveform analog output channels 12-bit Resolution Twos Complement Data encoding 0.05% Nonlinearity ±1 LSB Differential nonlinearity...
Page 106
Appendix A Table 4: D/A Subsystem Specifications (cont.) Feature KUSB-3100 Specifications μ Settling time to 0.01% of FSR μ 2 V/ Slew rate μ V -sec Glitch energy ESD protection (per spec) 8 kV Arc: 4 kV Contact: Monotonicity Output Clock...
Page 107
Specifications Table 5 lists the specifications for the DIN/DOUT subsystems on the KUSB-3100 module. Table 5: DIN/DOUT Subsystem Specifications Feature KUSB-3100 Specifications Number of digital I/O lines 16 (8 in/8 out) Number of ports 2, 8-bit Input termination Logic family...
Page 108
Appendix A Table 6 lists the specifications for the C/T subsystem on the KUSB-3100 module. Table 6: C/T Subsystem Specifications Feature KUSB-3100 Specifications Number of counter/timers Counter/timer modes Event counting, frequency measurement, edge-to-edge measurement, rate generation Resolution 32-bit Minimum pulse width:...
Page 109
Specifications Table 6: C/T Subsystem Specifications (cont.) Feature KUSB-3100 Specifications Internal clock frequency 15 Hz to 12 MHz External clock divider 2 to 65536 a. The resolution is 16-bits for rate generation mode. Table 7 lists the specifications for the external A/D trigger on the KUSB-3100 module.
Page 110
Appendix A Table 8 lists the specifications for the external A/D clock on the KUSB-3100 module. Table 8: External Clock Specifications Feature KUSB-3100 Specifications Input type Rising-edge sensitive Logic family Inputs Input logic load: Level sensitive Input termination: 1 TTL Load High input voltage: 2.4 V min...
Page 111
Specifications Table 9 lists the power, physical, and environmental specifications for the KUSB-3100 module. Table 9: Power, Physical, and Environmental Specifications Feature KUSB-3100 Specifications Power <100 mA +5 V Enumeration Operation <250 mA Physical Dimensions (board): 100 mm (L) x 100 mm (W) x 15.5 mm (H)
Page 114
Appendix B Table 10 lists the screw terminal assignments for the KUSB-3100 module. Table 10: KUSB-3100 Screw Terminal Assignments Screw Screw Terminal Signal Terminal Signal USB +5 V Out Ext Trig In Ground Ext Clock In Counter 0 In Ground...
Reading from or Writing to the Digital Registers...
Page 116
Appendix C If you want to read the value of the digital input lines or write to the digital output lines quickly and do not want to use DT-Open Layers to do this, you can use the following API functions: •...
Page 117
Reading from or Writing to the Digital Registers olReadReg Syntax ECODE olReadReg ( HDEV hDev, ULNG Address, PULNG pData); Include File oldadefs.h oldaapi.h Reads data directly from the digital registers Description of the module. Parameters Name: hDev Description: A variable of type HDEV that specifies the handle to the device.
Page 118
If DIO_PORT_Data is specified for Address, the value of the variable pointed to by pData represents the state of the digital input lines. The KUSB-3100 module has 8 fixed digital Notes input lines and 8 fixed digital output lines. Possible return values are as follows:...
Page 119
Reading from or Writing to the Digital Registers olWriteReg Syntax ECODE olWriteReg ( HDEV hDev, ULNG Address, ULNG DataVal); Include File oldadefs.h oldaapi.h Writes values directly to the digital registers of Description the module. Parameters Name: hDev Description: A variable of type HDEV that specifies the handle to the device.
Page 120
DataVal is the value that is written to the configured digital output lines. Notes The KUSB-3100 module has 8 fixed digital input lines and 8 fixed digital output lines. Possible return values are as follows: Return Values OLBADRANGE The value is out of range for the device.
Index subsystem specifications trigger A/D subsystem specifications asynchronous operations aborting an operation aliasing analog input calibrating base clock frequency channel-gain list for analog input binary data encoding channels buffers channels cleaning up conversion modes dealing with for A/D operations data format dealing with for D/A operations data transfer inprocess flush...
Page 122
Index random conversion modes sequential continuous scan mode zero start digital I/O channels single-value analog input analog input single-value analog output analog output conversion rate counter/timer counter/timer digital I/O channels number of clock sources setting up parameters for edge-to-edge measurement mode cleaning up an operation event counting clock divider...
Page 123
Index data format external digital trigger analog input extra trigger analog output data processing data transfer falling-edge trigger analog input features analog output formatting data DataAcq SDK analog input device driver analog output differential channels frequency digital I/O base clock lines external A/D clock operation modes...
Page 124
Index high-edge gate type number of high-level gate type differential channels DMA channels extra clocks filters inprocess buffers gains input I/O channels channels resolutions ranges single-ended channels sample clock sources voltage ranges internal Nyquist Theorem clock gate type interrupts OLDA_WM_BUFFER_ DONE OLDA_WM_BUFFER_DONE OLDA_WM_BUFFER_REUSED LongtoFreq macro...
Page 125
Index olDaGetDASS olDaSetChannelListSize in continuous A/D operations olDaSetChannelType in continuous D/A operations in continuous A/D operations in event counting operations in continuous D/A operations in frequency measurement in single-value operations operations olDaSetClockFrequency in pulse output operations olDaSetClockSource in single-value operations olDaSetCTMode olDaGetQueueSize in event counting operations...
Page 126
Index olDaStart OLSSC_NUMRANGES in continuous A/D operations OLSSC_NUMRESOLUTIONS in continuous D/A operations OLSSC_SUP_2SCOMP in event counting operations OLSSC_SUP_BINARY in pulse output operations OLSSC_SUP_BUFFERING olDaStop OLSSC_SUP_CONTINUOUS olDaTerminate OLSSC_SUP_CTMODE_MEASURE in continuous A/D operations in continuous D/A operations OLSSC_SUP_CTMODE_RATE in event counting operations OLSSC_SUP_DIFFERENTIAL in frequency measurement OLSSC_SUP_EXTCLOCK...
Page 127
Index OLSSCE_MIN_THROUGHPUT OLSSCE_MINCLOCKDIVIDER random channel-gain list olWriteReg ranges operation modes analog input continuous scan analog output single-value analog input number of single-value analog output rate generation single-value digital I/O resetting an operation output resolution channel list analog input clock sources analog output pulses digital I/O...
Page 128
Index specifications analog input units, counter/timer analog output clocks counter/timer specifications digital I/O voltage ranges environmental number of physical power triggers stopping an operation Windows messages synchronous digital I/O, maximum wrap mode value analog input analog output technical support throughput zero start sequential channel-gain list maximum minimum...
Page 129
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...
Need help?
Do you have a question about the KUSB-3100 and is the answer not in the manual?
Questions and answers