background image

Chapter 4

26

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.

Summary of Contents for KUSB-3160

Page 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 User s Manual KUSB3160 900 01 Rev A January 2005...

Page 2: ...cation 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 proble...

Page 3: ...KUSB 3160 User s Manual 2005 Keithley Instruments Inc All rights reserved First Printing January 2005 Cleveland Ohio U S A Document Number KUSB3160 900 01A Rev A...

Page 4: ...rate 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...

Page 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...

Page 6: ...lectric 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 n...

Page 7: ...1 Overview 1 Key Features 2 Supported Software 3 Accessories 4 Chapter 2 Principles of Operation 5 Digital I O Lines 8 Resolution 10 Interrupts 13 Operation Modes 14 Chapter 3 Supported Device Driver...

Page 8: ...Contents viii Appendix A Specifications 39 Appendix B Connector Pin Assignments 43 Index 53...

Page 9: ...rstand 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 orga...

Page 10: ...pecial 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 equipme...

Page 11: ...ual C DT LV Link Getting Started Manual This manual describes how to use DT LV LinkTM with the LabVIEW graphical programming language to access the capabilities of your module Microsoft Windows 2000 o...

Page 12: ...About this Manual xii...

Page 13: ...1 1 Overview Key Features 2 Supported Software 3 Accessories 4...

Page 14: ...ures 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 di...

Page 15: ...ion 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 DataAc...

Page 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 l...

Page 17: ...5 2 Principles of Operation Digital I O Lines 8 Resolution 10 Interrupts 13 Operation Modes 14...

Page 18: ...Isolated Power Power Control DC to DC Microcontroller USB Interface 5 V D D GND High Speed Isolated Data Path Controller and Digital Filters 32 Digital Inputs WIth 100 k Pull Ups to 5V_I WIth Back EMF...

Page 19: ...2 2 2 2 2 2 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 Interrupts described on page 13 and Operat...

Page 20: ...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...

Page 21: ...in a single value digital I O operation Refer to page 14 for more information on digital I O operation modes Note Continuous digital input operations are supported by digital input banks 10 and 11 onl...

Page 22: ...de the resolution is always 16 bits Table 1 Resolution Digital I O Lines and Number of Subsystems Resolution Digital I O Lines DIN or DOUT Subsystem 8 Bank 0 lines 0 to 7 Element 0 Bank 1 lines 0 to 7...

Page 23: ...d 2 lines 0 to 23 combined Element 0 Banks 3 4 and 5 lines 0 to 23 combined Element 3 Banks 6 7 and 8 lines 0 to 23 combineda Element 6 Banks 9 10 and 11 lines 0 to 23 combineda Element 9 32 Banks 0 1...

Page 24: ...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...

Page 25: ...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...

Page 26: ...omatically 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 corr...

Page 27: ...25 4 Programming Flowcharts Single Value Operations 27 Continuous Digital Input Operations 29...

Page 28: ...ustration 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...

Page 29: ...ng olDaSetDataFlow Get a handle to the subsystem with olDaGetDASS Initialize the device driver and get the device handle with olDaInitialize Configure the subsystem using olDaConfig Go to the next pag...

Page 30: ...value using olDaGetSingleValue Output a single value using olDaPutSingleValue Acquire output another value No Release the subsystem using olDaReleaseDASS Release the driver and terminate the session u...

Page 31: ...DF_CONTINUOUS using olDaSetDataFlow Set the resolution with olDaSetResolution Set the resolution to 16 Go to the next page Set the trigger source to OL_TRG_SOFT using olDaSetTrigger olDaSetNotificatio...

Page 32: ...s returned in the wParam parameter this allows one window to handle messages from both subsystems The subsystem status is returned in the IParam parameter Table 3 Subsystem Status in IParam Bits Defin...

Page 33: ...ort and olDaReset stop the operation on the subsystem immediately olDaReset also reinitializes the subsystem to a known state Stop in an orderly way olDaStop olDaStop stops the operation on the subsys...

Page 34: ...Chapter 4 32 Clean up the Operation olDaReleaseDASS Release each subsystem olDaTerminate Release the device driver and terminate the session...

Page 35: ...15 3 Supported Device Driver Capabilities...

Page 36: ...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 S...

Page 37: ...and after Trigger Event OLSSC_SUP_CONTINUOUS_ ABOUTTRIG DT Connect Support OLSSC_SUP_DTCONNECT Continuous DT Connect Support OLSSC_SUP_DTCONNECT_ CONTINUOUS Burst DT Connect Support OLSSC_SUP_DTCONNE...

Page 38: ...Triggered Scan OLSSC_SUP_RETRIGGER_SCAN_ PER_TRIGGER Supports Internal Retriggered Triggered Scan OLSSC_SUP_RETRIGGER_INTERNAL Extra Retrigger Support OLSSC_SUP_RETRIGGER_EXTRA Maximum Retrigger Freq...

Page 39: ...S 1 1 AutoRanging Support OLSSC_SINGLEVALUE_AUTORANGE Synchronous Digital I O Synchronous Digital I O Support OLSSC_SUP_SYNCHRONOUS_ DIGITALIO Maximum Synchronous Digital I O Value OLSSC_MAX_DIGITALIO...

Page 40: ...Twos Complement Support OLSSC_SUP_2SCOMP Triggers Software Trigger Support OLSSC_SUP_SOFTTRIG Yes External Trigger Support OLSSC_SUP_EXTERNTRIG Positive Threshold Trigger Support OLSSC_SUP_THRESHTRIG...

Page 41: ...ughput OLSSCE_MAX_THROUGHPUT 0 0 Minimum Throughput OLSSCE_MIN_THROUGHPUT 0 0 Counter Timers Cascading Support OLSSC_SUP_CASCADING Event Count Mode Support OLSSC_SUP_CTMODE_COUNT Generate Rate Mode Su...

Page 42: ...GE Low Edge Gate Type Support OLSSC_SUP_GATE_LOW_EDGE Level Change Gate Type Support OLSSC_SUP_GATE_LEVEL High Level Gate Type with Input Debounce Support OLSSC_SUP_GATE_HIGH_LEVEL_ DEBOUNCE Low Level...

Page 43: ...evice 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 on...

Page 44: ...Chapter 3 24...

Page 45: ...33 5 Troubleshooting General Checklist 34 Service and Support 37...

Page 46: ...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 hardwar...

Page 47: ...onmental 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 Electrical noise exists...

Page 48: ...Check the transducer connections see the instructions in the KUSB 3160 Getting Started Manual Computer does not boot The power supply of the computer is too small to handle all the system resources Ch...

Page 49: ...eithley com 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 p...

Page 50: ...raphics adapter _____________________________ data bus _________________________ I have the following modules and applications installed in my system ___________________________ ______________________...

Page 51: ...39 A Specifications...

Page 52: ...n 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 digi...

Page 53: ...e digital output values will not change Current requirements are 50 mA plus load Table 7 Power Physical and Environmental Specifications Feature Specifications Power 5 V Standby 5 V Enumeration 5 V Po...

Page 54: ...nector 100 pin D Robinson Nugent a part P50E 100P1 SR1 TG a Because of different vendor number pinning schemes the Robinson Nugent connector has a mirror pinout from that described in Appendix B The K...

Page 55: ...43 B Connector Pin Assignments...

Page 56: ...building your own cable or screw terminal panel you must take this into account Table 9 Pin Assignments for Connector J1 Pin Number Signal Description Pin Number Signal Description 1 Bank 0 Bit 0 2 Ba...

Page 57: ...3 45 Bank 5 Bit 4 46 Bank 5 Bit 5 47 Bank 5 Bit 6 48 Bank 5 Bit 7 49 Isolated 5 V 50 Isolated Ground 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...

Page 58: ...Bank 10 Bit 5a 89 Bank 10 Bit 6a 90 Bank 10 Bit 7a 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 I...

Page 59: ...100 Screw Terminal Panel Screw Terminal Block Terminal Number Signal 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 B...

Page 60: ...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...

Page 61: ...2 28 Bank 3 Bit 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...

Page 62: ...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 Ban...

Page 63: ...solated 5 V 50 Isolated 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...

Page 64: ...Appendix B 52...

Page 65: ...data flow mode 17 DataAcq SDK 3 device driver 3 differential channels 19 digital I O features interrupts 13 lines 8 operation modes 14 resolution 10 specifications 40 digital input operations 29 DIN...

Page 66: ...n single value operations 27 olDaGetDASS in continuous digital input operations 29 in single value operations 27 olDaGetSingleValue 28 olDaGetSSCaps 16 olDaGetSSCapsEx 16 olDaInitialize in continuous...

Page 67: ...OUGHPUT 21 OLSSCE_MAXCLOCKDIVIDER 21 OLSSCE_MAXRETRIGGER 18 OLSSCE_MIN_THROUGHPUT 21 OLSSCE_MINCLOCKDIVIDER 21 OLSSCE_MINRETRIGGER 18 operation modes continuous digital input 14 single value digital I...

Page 68: ...Index 56 troubleshooting procedure 34 service and support procedure 37 troubleshooting table 35 V voltage ranges 20 W Windows messages 17...

Page 69: ...eithley 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 Hea...

Reviews: