background image

Verifying the Operation of a Module

43

5

5

5

5

5

5

5

5

5

Performing a Single-Value Digital Input Operation

To verify that the module can read a single digital input value, 
perform the following steps:

1.

Connect a digital input to digital input line 0 of bank 0 on the 
KUSB-3160 module. Refer to 

page 43

 for more information on 

connecting digital inputs.

2.

Click the 

Acquisition

 menu.

3.

Click 

Digital Input

.

4.

Select the appropriate KUSB-3160 module from the Board list 
box.

5.

Select digital input port 0 by clicking 

Port A

.

6.

Click 

Get

The value of each digital input line of bank 0 is displayed on the screen 
in both text and graphical form.

Performing a Single-Value Digital Output Operation

To verify that the board can output a single digital output value, 
perform the following steps:

1.

Connect a digital output to digital output line 0 of bank 1 on the 
KUSB-3160 module. Refer to 

page 43

 for an example of how to 

connect a digital output.

2.

Click the 

Control

 menu.

3.

Click 

Digital Output

.

4.

Select the appropriate KUSB-3160 module from the Board list 
box.

5.

Select digital output bank 1 by clicking 

Port B

.

Содержание KUSB-3160

Страница 1: ...www keithley com 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 KUSB 3160 Getting Started Manual KUSB3160 903 01 Rev A January 2005 ...

Страница 2: ...ication 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 leak age 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 ...

Страница 3: ...KUSB 3160 Getting Started Manual 2005 Keithley Instruments Inc All rights reserved First Printing January 2005 Cleveland Ohio U S A Document Number KUSB3160 903 01A Rev A ...

Страница 4: ...orate 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 903 01A January 2005 All Keithley product names are trademarks or registered tr...

Страница 5: ... 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 pre vented access and or insulated from every connection po...

Страница 6: ...electric shock and fire replacement components in mains circuits including the power transformer test leads and input jacks must be purchased from Keithley Instru ments Standard fuses with applicable national safety approvals may be used if the rating and type are the same Other components that are not safety related may be purchased from other suppliers as long as they are equivalent to the origi...

Страница 7: ...ew 1 Key Hardware Features 2 Software 3 Accessories 4 Getting Started Procedure 5 Chapter 2 Preparing to Use a Module 7 Unpacking 9 Checking the System Requirements 10 Installing the Software 11 Chapter 3 Installing a Module and Configuring the Device Driver 13 Overview 15 Connecting Directly to the Host Computer 16 Connecting to a Self Powered USB Hub 18 Configuring the Device Driver 20 ...

Страница 8: ...ignals 35 Connecting Digital Input Signals 36 Connecting Digital Output Signals 37 Chapter 5 Verifying the Operation of a Module 39 Overview 41 Running the Quick Data Acq Application 42 Performing a Single Value Digital Input Operation 43 Performing a Single Value Digital Output Operation 43 Index 45 ...

Страница 9: ...he Microsoft Windows 2000 or Windows XP operating system How this Manual is Organized This manual is organized as follows Chapter 1 Overview describes the key features of the KUSB 3160 hardware and software and provides an overview of the getting started procedure Chapter 2 Preparing to Use a Module describes how to unpack the KUSB 3160 package check the system requirements and install the softwar...

Страница 10: ...Courier font is used to represent source code Related Information Refer to the following documents for more information on using the KUSB 3160 module KUSB 3160 User s Manual included on the Keithley CD provided with the KUSB 3160 module This manual describes the features of the KUSB 3160 module and the device driver in detail DataAcq SDK User s Manual For programmers who are developing their own a...

Страница 11: ...the LabVIEW graphical programming 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 ...

Страница 12: ...About this Manual xii ...

Страница 13: ...1 1 Overview Key Hardware Features 2 Software 3 Accessories 4 Getting Started Procedure 5 ...

Страница 14: ...t 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 The digital outputs are capable of driving external solid state relay modules sink 12 mA source 100 kΩpullup In addition the board provides isolated output common from the USB bus to 500 V peak ...

Страница 15: ... 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 ...

Страница 16: ...BDIO 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 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 ...

Страница 17: ...h chapter the shaded area in the diagram shows you where you are in the getting started procedure Figure 1 Getting Started Flow Diagram Install the Module and Configure the Device Driver see Chapter 3 starting on page 13 Wire Signals see Chapter 4 starting on page 23 Verify the Operation of the Module see Chapter 5 starting on page 39 Prepare to Use a Module see Chapter 2 starting on page 7 ...

Страница 18: ...Chapter 1 6 ...

Страница 19: ...7 2 Preparing to Use a Module Unpacking 9 Checking the System Requirements 10 Installing the Software 11 ...

Страница 20: ...se a Module this chapter Install the Module and Configure the Device Driver see Chapter 3 starting on page 13 Wire Signals see Chapter 4 starting on page 23 Verify the Operation of the Module see Chapter 5 starting on page 39 ...

Страница 21: ...hipping 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 ...

Страница 22: ...r system meets the system requirements install the software as described in the next section Table 1 Minimum System Requirements Feature Minimum Requirements Operating System Windows 2000 or Windows XP Processor 80486 Pentium or compatible USB Ports One or more RAM 16 MB or more CD ROM Drives One or more Monitor VGA or compatible display 640 x 480 or higher 256 colors recommended ...

Страница 23: ... appears 3 In the Command Line edit box enter D Setup Exe If your CD ROM is not in drive D enter the letter of the drive where your CD ROM is located The welcome screen appears 4 Click Install Drivers and SDK 5 Click Install now The installation wizard appears 6 Click Next You are prompted for the destination location 7 Either change the directory path and or name using Browse or accept the defaul...

Страница 24: ...Chapter 2 12 ...

Страница 25: ...13 3 Installing a Module and Configuring the Device Driver Overview 15 Connecting Directly to the Host Computer 16 Connecting to a Self Powered USB Hub 18 Configuring the Device Driver 20 ...

Страница 26: ... Module and Configure the Device Driver this chapter Wire Signals see Chapter 4 starting on page 23 Verify the Operation of the Module see Chapter 5 starting on page 39 Prepare to Use a Module see Chapter 2 starting on page 7 ...

Страница 27: ...computer described on page 16 Use this method if one or two KUSB 3160 modules are sufficient for your application Connect to one or more self powered USB hubs described on page 18 Use this method if your application requires more than two KUSB 3160 modules connected to the host computer Note The KUSB 3160 module is a high power device using 500 mA however it does not require an external power supp...

Страница 28: ... operating system automatically detects the USB device Figure 2 Attaching the Module Directly to the Host Computer 3 If the device driver has not been installed the New Hardware Found wizard appears Click Next to have the wizard search for the device driver then proceed to step 4 4 Click the option to search for the driver then click Next 5 Click the option to specify the location browse to the lo...

Страница 29: ...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 Your application may take a few seconds to recognize a module once it is plugged back in ...

Страница 30: ... supply for the self powered USB hub to an external power supply 3 Connect the hub to the USB port on the host computer using another USB cable The operating system automatically detects the USB device 4 If you previously installed the device driver ignore the remaining steps and repeat steps 1 to 3 until you have attached the number of hubs up to five and modules up to four per hub that you desir...

Страница 31: ... 3 The operating system automatically detects the USB devices as they are installed Figure 3 Attaching Modules to the Host Computer Using Self Powered USB Hubs Note You can unplug a module then plug it in again if you wish without causing damage This process is called hot swapping Your application may take a few seconds to recognize a module once it is plugged back in USB Cable Self Powered USB Hu...

Страница 32: ... for more information on interrupts 5 To generate a debounce delay of 5 ms for the digital inputs click the Debounce Inputs checkbox If this box is left unchecked a delay of less than 1 ms is used 6 To continuously power the digital outputs select the Power Always On checkbox The KUSB 3160 module will remain on even when you exit from the applications that use the module If you want to shut down p...

Страница 33: ...1 3 3 3 3 3 3 3 3 3 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 12 Close the Control Panel ...

Страница 34: ...Chapter 3 22 ...

Страница 35: ...23 4 Wiring Signals Attaching the Screw Terminal Panel 25 Preparing to Wire Signals 35 ...

Страница 36: ... Module and Configure the Device Driver see Chapter 3 starting on page 13 Wire Signals this chapter Verify the Operation of the Module see Chapter 5 starting on page 39 Prepare to Use a Module see Chapter 2 starting on page 7 ...

Страница 37: ...0 module Figure 4 illustrates how to attach the KUSB STP100 screw terminal panel to a KUSB 3160 module using the KUSB CABDIO cable 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 J1 J1 KUSB CABDIO Cable KUSB STP100 Screw Terminal Panel KUSB 3160 Module ...

Страница 38: ...k 1 Bit 4 14 Bank 1 Bit 5 15 Bank 1 Bit 6 16 Bank 1 Bit 7 17 Bank 2 Bit 0 18 Bank 2 Bit 1 19 Bank 2 Bit 2 20 Bank 2 Bit 3 21 Bank 2 Bit 4 22 Bank 2 Bit 5 23 Bank 2 Bit 6 24 Bank 2 Bit 7 25 Bank 3 Bit 0 26 Bank 3 Bit 1 27 Bank 3 Bit 2 28 Bank 3 Bit 3 29 Bank 3 Bit 4 30 Bank 3 Bit 5 31 Bank 3 Bit 6 32 Bank 3 Bit 7 33 Bank 4 Bit 0 34 Bank 4 Bit 1 35 Bank 4 Bit 2 36 Bank 4 Bit 3 37 Bank 4 Bit 4 38 Ban...

Страница 39: ...Bit 4 64 Bank 7 Bit 5 65 Bank 7 Bit 6 66 Bank 7 Bit 7 67 Bank 8 Bit 0a 68 Bank 8 Bit 1a 69 Bank 8 Bit 2a 70 Bank 8 Bit 3a 71 Bank 8 Bit 4a 72 Bank 8 Bit 5a 73 Bank 8 Bit 6a 74 Bank 8 Bit 7a 75 Bank 9 Bit 0a 76 Bank 9 Bit 1a 77 Bank 9 Bit 2a 78 Bank 9 Bit 3a 79 Bank 9 Bit 4a 80 Bank 9 Bit 5a 81 Bank 9 Bit 6a 82 Bank 9 Bit 7a 83 Bank 10 Bit 0a 84 Bank 10 Bit 1a 85 Bank 10 Bit 2a 86 Bank 10 Bit 3a 87...

Страница 40: ... 5a 97 Bank 11 Bit 6a 98 Bank 11 Bit 7a 99 Isolated 5 V 100 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 Table 2 Pin Assignments for Connector J1 cont Pin Number Signal Description Pin Number Signal Description ...

Страница 41: ...he KUSB STP100 screw terminal panel Figure 5 KUSB STP100 Screw Terminal Panel Table 3 lists the screw terminal assignments on the KUSB STP100 screw terminal panel J1 TB9 50 1 TB10 100 TB7 40 TB8 90 TB5 21 TB6 71 TB3 TB4 TB1 TB2 30 80 81 91 31 41 11 61 20 70 1 51 10 60 ...

Страница 42: ...l Description TB1 1 Bank 0 Bit 0 2 Bank 0 Bit 1 3 Bank 0 Bit 2 4 Bank 0 Bit 3 5 Bank 0 Bit 4 6 Bank 0 Bit 5 7 Bank 0 Bit 6 8 Bank 0 Bit 7 9 Bank 1 Bit 0 10 Bank 1 Bit 1 TB2 51 Bank 6 Bit 0 52 Bank 6 Bit 1 53 Bank 6 Bit 2 54 Bank 6 Bit 3 55 Bank 6 Bit 4 56 Bank 6 Bit 5 57 Bank 6 Bit 6 58 Bank 6 Bit 7 59 Bank 7 Bit 0 60 Bank 7 Bit 1 ...

Страница 43: ... 18 Bank 2 Bit 1 19 Bank 2 Bit 2 20 Bank 2 Bit 3 TB4 61 Bank 7 Bit 2 62 Bank 7 Bit 3 63 Bank 7 Bit 4 64 Bank 7 Bit 5 65 Bank 7 Bit 6 66 Bank 7 Bit 7 67 Bank 8 Bit 0a 68 Bank 8 Bit 1a 69 Bank 8 Bit 2a 70 Bank 8 Bit 3a Table 3 Screw Terminal Assignments of the KUSB STP100 Screw Terminal Panel cont Screw Terminal Block Terminal Number Signal Description ...

Страница 44: ... 3 29 Bank 3 Bit 4 30 Bank 3 Bit 5 TB6 71 Bank 8 Bit 4a 72 Bank 8 Bit 5a 73 Bank 8 Bit 6a 74 Bank 8 Bit 7a 75 Bank 9 Bit 0a 76 Bank 9 Bit 1a 77 Bank 9 Bit 2a 78 Bank 9 Bit 3a 79 Bank 9 Bit 4a 80 Bank 9 Bit 5a Table 3 Screw Terminal Assignments of the KUSB STP100 Screw Terminal Panel cont Screw Terminal Block Terminal Number Signal Description ...

Страница 45: ...k 4 Bit 5 39 Bank 4 Bit 6 40 Bank 4 Bit 7 TB8 81 Bank 9 Bit 6a 82 Bank 9 Bit 7a 83 Bank 10 Bit 0a 84 Bank 10 Bit 1a 85 Bank 10 Bit 2a 86 Bank 10 Bit 3a 87 Bank 10 Bit 4a 88 Bank 10 Bit 5a 89 Bank 10 Bit 6a 90 Bank 10 Bit 7a Table 3 Screw Terminal Assignments of the KUSB STP100 Screw Terminal Panel cont Screw Terminal Block Terminal Number Signal Description ...

Страница 46: ...solated Ground TB10 91 Bank 11 Bit 0a 92 Bank 11 Bit 1a 93 Bank 11 Bit 2a 94 Bank 11 Bit 3a 95 Bank 11 Bit 4a 96 Bank 11 Bit 5a 97 Bank 11 Bit 6a 98 Bank 11 Bit 7a 99 Isolated 5 V 100 Isolated Ground a Dedicated digital input only Table 3 Screw Terminal Assignments of the KUSB STP100 Screw Terminal Panel cont Screw Terminal Block Terminal Number Signal Description ...

Страница 47: ...noids and electric arcs unless the signals are enclosed in a mumetal shield Prevent electrostatic discharge to the I O while the KUSB 3160 module is operational When first installing the module try wiring the signals as follows Wire a digital input to digital input line 0 of bank 11 Wire a digital output to digital output line 0 of bank 5 Then run the Quick Data Acq application described in Chapte...

Страница 48: ... digital input signals lines 0 and 1 of bank 0 in this case to the KUSB STP100 screw terminal panel Figure 6 Connecting Digital Inputs Shown for Lines 0 and 1 of Bank 0 TB1 0 TB1 1 Digital Input Line 0 Digital Input Line 1 Isolated Digital Ground TTL Inputs KUSB STP100 TB10 10 ...

Страница 49: ...igure 7 shows how to connect a digital output line 0 of bank 1 in this case to the KUSB STP100 screw terminal panel Figure 7 Connecting Digital Outputs Shown for Line 0 of Bank 1 TB1 9 KUSB STP100 TB10 10 Digital Output Line 0 Isolated Digital Ground 500 Ω 5 V 0 Out LED On ...

Страница 50: ...Chapter 4 38 ...

Страница 51: ...39 5 Verifying the Operation of a Module Overview 41 Running the Quick Data Acq Application 42 ...

Страница 52: ... Module and Configure the Device Driver see Chapter 3 starting on page 13 Wire Signals see Chapter 4 starting on page 23 Verify the Operation of the Module this chapter Prepare to Use a Module see Chapter 2 starting on page 7 ...

Страница 53: ...cq 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 Quick Data Acq is installed automatically when you install the driver software described on page 11 ...

Страница 54: ... Instruments Quick Data Acq program group Note The Quick Data Acq application allows you to verify basic operations on the module however it may not support all of the module s features For information on each of the features provided use the online help for the Quick Data Acq application by pressing F1 from any view or selecting the Help menu For detailed information on the supported features of ...

Страница 55: ... the Board list box 5 Select digital input port 0 by clicking Port A 6 Click Get The value of each digital input line of bank 0 is displayed on the screen in both text and graphical form Performing a Single Value Digital Output Operation To verify that the board can output a single digital output value perform the following steps 1 Connect a digital output to digital output line 0 of bank 1 on the...

Страница 56: ...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 Optionally you can enter an output value in the Hex text box 7 Click Send The value of each digital output line of digital bank 1 is displayed on the screen in both text and graphical form ...

Страница 57: ...signments 26 30 conventions used x D DataAcq SDK 3 device driver 3 digital inputs 36 digital outputs 37 DT LV Link 3 DTx EZ 3 H help online 42 hot swapping 17 19 I installing the software 11 J J1 connector 25 J1 connector pin assignments 26 30 K KUSB CABDIO cable 4 KUSB STP100 screw terminal panel 4 25 O online help 42 P pin assignments 26 30 Q Quick Data Acq 3 running 42 single value digital inpu...

Страница 58: ...running the Quick Data Acq application 42 S screw terminal assignments 30 screw terminal panel 4 25 STP100 screw terminal panel layout 29 supported software 3 system requirements 10 U unpacking 9 W wiring signals digital inputs 36 digital outputs 37 ...

Страница 59: ...Keithley Instruments Inc All other trademarks and trade names are the property of their respective companies 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 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 ...

Отзывы: