Data Translation DT9816 Instruction Manual

UM-21336-C
DT9816 User’s Manual
Third Edition March, 2006
Copyright © 2006 by Data Translation, Inc.
All rights reserved.
Information furnished by Data Translation, Inc. is believed to be accurate and reliable; however, no responsibility is assumed by Data Translation, Inc. for its use; nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent rights of Data Translation, Inc.
Use, duplication, or disclosure by the United States Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer software clause at 48 C.F.R, 252.227-7013, or in subparagraph (c)(2) of the Commercial computer Software ­Registered Rights clause at 48 C.F.R., 52-227-19 as applicable. Data Translation, Inc., 100 Locke Drive, Marlboro, MA 01752
Data Translation® is a registered trademark of Data Translation, Inc. DT-Open Layers DataAcq SDK
TM
Link
, and DTx-EZTM are trademarks of Data
TM
, DataAcq OMNI CDTM, DT-LV
TM
,
Translation, Inc.
Data Translation, Inc. 100 Locke Drive Marlboro, MA 01752-1192 (508) 481-3700 www.datatranslation.com
Fax: (508) 481-8620 E-mail: info@datx.com
All other brand and product names are trademarks or registered trademarks of their respective companies.
Radio and Television Interference
This equipment has been tested and found to comply with CISPR EN55022 Class A, and EN50082-1 (CE) requirements and also with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference, in which case the user will be required to correct the interference at his own expense.
Changes or modifications to this equipment not expressly approved by Data Translation could void your authority to operate the equipment under Part 15 of the FCC Rules.
Note: This product was verified to meet FCC requirements under test conditions that included use of shielded cables and connectors between system components. It is important that you use shielded cables and connectors to reduce the possibility of causing interference to radio, television, and other electronic devices.
Canadian Department of Communications Statement
This digital apparatus does not exceed the Class A limits for radio noise emissions from digital apparatus set out in the Radio Interference Regulations of the Canadian Department of Communications.
Le présent appareil numérique n’émet pas de bruits radioélectriques dépassant les limites applicables aux appareils numériques de la class A prescrites dans le Règlement sur le brouillage radioélectrique édicté par le Ministère des Communications du Canada.
Table of Contents
About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Intended Audience. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
How this Manual is Organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Conventions Used in this Manual . . . . . . . . . . . . . . . . . . . . . . . . . 11
Related Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Where To Get Help. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Chapter 1: Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Key Hardware Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Simultaneous Analog Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . 14
Counter/Timer Channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Clocks and Triggers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Supported Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Getting Started Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Part 1: Getting Started . . . . . . . . . . . . . . . . . . . . 19
Chapter 2: Preparing to Use a Module. . . . . . . . . . . . . . . . . 21
Unpacking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Checking the System Requirements . . . . . . . . . . . . . . . . . . . . . . . 23
Installing the Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Chapter 3: Setting Up and Installing
the Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Attaching Modules to the Computer . . . . . . . . . . . . . . . . . . . . . . 27
Connecting Directly to the USB Ports . . . . . . . . . . . . . . . . . . 28
Connecting to an Expansion Hub. . . . . . . . . . . . . . . . . . . . . . 29
Changing the Name of a Module (Optional) . . . . . . . . . . . . . . . . 31
5
Contents
Chapter 4: Wiring Signals to the Module. . . . . . . . . . . . . . . 33
Preparing to Wire Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Wiring Recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Wiring Locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Connecting Single-Ended Analog Input Signals . . . . . . . . . . . . . 37
Connecting Digital I/O Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Connecting Counter/Timer Signals . . . . . . . . . . . . . . . . . . . . . . . 39
Connecting Signals for Event Counting . . . . . . . . . . . . . . . . 39
Connecting Signals for Frequency Measurement . . . . . . . . 41
Connecting Signals for Rate Generation . . . . . . . . . . . . . . . . 42
Chapter 5: Verifying the Operation
of a Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Using the Oscilloscope Function . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Using the Chart Recorder Function . . . . . . . . . . . . . . . . . . . . . . . 48
Using the Voltmeter Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Using the File Viewer Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Using the Digital Input Function . . . . . . . . . . . . . . . . . . . . . . . . . 51
Using the Digital Output Function . . . . . . . . . . . . . . . . . . . . . . . . 52
Using the Counter Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Using the Rate Generator Function . . . . . . . . . . . . . . . . . . . . . . . 54
Part 2: Using Your Module . . . . . . . . . . . . . . . . . 55
Chapter 6: Principles of Operation . . . . . . . . . . . . . . . . . . . 57
Analog Input Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Input Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Analog Input Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Specifying a Single Analog Input Channel . . . . . . . . . 60
Specifying One or More Analog Input Channels . . . . 60
6
Input Ranges and Gains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Input Sample Clock Sources . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Analog Input Conversion Modes . . . . . . . . . . . . . . . . . . . . . 61
Single-Value Operations . . . . . . . . . . . . . . . . . . . . . . . . . 61
Continuous Scan Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Input Triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Data Format and Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Error Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Digital I/O Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Digital I/O Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Operation Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Counter/Timer Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
C/T Channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
C/T Clock Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Gate Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Pulse Duty Cycles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Counter/Timer Operation Modes . . . . . . . . . . . . . . . . . . . . . 69
Event Counting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Frequency Measurement . . . . . . . . . . . . . . . . . . . . . . . . . 70
Rate Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Contents
Chapter 7: Supported Device Driver Capabilities. . . . . . . . 73
Data Flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Buffering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
DMA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Triggered Scan Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Gain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Synchronous Digital I/O. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
7
Contents
Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Clocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Counter/Timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Chapter 8: Programming Flowcharts. . . . . . . . . . . . . . . . . . 87
Single-Value Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Continuous A/D Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Event Counting Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Frequency Measurement Operations . . . . . . . . . . . . . . . . . . . . . . 95
Pulse Output Operations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Chapter 9: Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . 107
General Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
If Your Module Needs Factory Service . . . . . . . . . . . . . . . . . . . . 112
Appendix A: Specifications . . . . . . . . . . . . . . . . . . . . . . . . 113
Appendix B: Screw Terminal Assignments . . . . . . . . . . . 119
Appendix C: Reading from or Writing to the Digital Registers
121
8
The first part of this manual describes how to install and set up your DT9816 module and software, and verify that your module is working properly.
The second part of this manual describes the features of the DT9816 module and device driver, and how to program these modules using the DT-Open Layers™ software. It also provides troubleshooting information. Unless otherwise specified, all references to the DT9816 module refer to both the DT9816 and DT9816-A model numbers.

Intended Audience

This document is intended for engineers, scientists, technicians, or others responsible for using and/or programming the DT9816 module for analog input, digital I/O, or counter/timer operations in the Microsoft® Windows® 2000 or Windows XP operating system. It is assumed that you have some familiarity with data acquisition principles and that you understand your application.

About this Manual

How this Manual is Organized

This manual is organized as follows:
Chapter 1, “Overview,” describes the major features of the DT9816 module, as well as the supported software and accessories for the module.
Chapter 2, “Preparing to Use a Module,” describes how to unpack the module, check the system requirements, and install the software.
Chapter 3, “Setting Up and Installing the Module,” describes how to install the module and how to configure the device driver.
9
About this Manual
Chapter 4, “Wiring Signals to the Module,” describes how to wire signals to the module.
Chapter 5, “Verifying the Operation of a Module,” describes how to verify the operation of the module with the GO! application.
Chapter 6, “Principles of Operation,” describes all of the features of the DT9816 module and how to use them in your application.
Chapter 7, “Supported Device Driver Capabilities,” lists the supported subsystems and the associated capabilities accessible using the device driver for the DT9816 module.
Chapter 8, “Programming Flowcharts,” describes the processes you must follow to program the subsystems of a DT9816 module using DT-Open Layers-compliant software.
Chapter 9, “Troubleshooting,” provides information that you can use to resolve problems with a DT9816 module, should they occur.
Appendix A, “Specifications,” lists the specifications of the DT9816 module.
10
Appendix B, “Screw Terminal Assignments,” shows the screw terminal assignments of the DT9816 module.
Appendix C, “Reading from or Writing to the Digital Registers,” describes how to access the module’s registers directly.
• An index completes this manual.

Conventions Used in 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 DT9816 module:
Benefits of the Universal Serial Bus for Data Acquisition. This white paper describes why USB is an attractive alternative for data acquisition. It is available on the Data Translation web site (www.datatranslation.com).
About this Manual
• DT Measure Foundry Getting Started Manual (UM-19298) and
online help. These documents describe how to use DT Measure Foundry™ to build drag-and-drop test and measurement applications for Data Translation® data acquisition devices without programming.
DataAcq SDK User’s Manual (UM-18326). For programmers who are developing their own application programs using the Microsoft C compiler, this manual describes how to use the DT-Open Layers DataAcq SDK™ to access the capabilities of Data Translation data acquisition devices.
DTx-EZ Getting Started Manual (UM-15428). This manual describes how to use the ActiveX controls provided in DTx-EZ to access the capabilities of Data Translation data acquisition devices in Microsoft Visual Basic® or Visual C++®.
11
About this Manual

Where To Get Help

DT-LV Link Getting Started Manual (UM-15790). This manual describes how to use DT-LV Link™ with the LabVIEW graphical programming language to access the capabilities of Data Translation data acquisition devices.
DAQ Adaptor for MATLAB (UM-22024). This document describes how to use Data Translation’s DAQ Adaptor to provide an interface between the MATLAB Data Acquisition subsystem from The MathWorks and Data Translation’s DT-Open Layers architecture.
• Microsoft Windows 2000 or Windows XP documentation.
• USB web site (http://www.usb.org).
Should you run into problems installing or using a DT9816 module, the Data Translation Technical Support Department is available to provide technical assistance. Refer to Chapter 9 for more information. If you are outside the United States or Canada, call your local distributor, whose number is listed on Data Translation’s web site (www.datatranslation.com).
12
1

Overview

Key Hardware Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Supported Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Getting Started Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
13
Chapter 1

Key Hardware Features

The DT9816 module is part of the ECONseries of economy, multifunction mini-instruments. Tab le 1 lists the key features of the module.
Table 1: Key Features of the DT9816 Module
Analog
Analog
Module
DT9816 6 SE 16-bit ±10 V
DT9816-A 6 SE 16-bit ±10 V
a. Actual maximum is 153.846 kHz. If you use the olDaSetClockFrequency function to set
150 kHz, the olDaGetClockFrequency function will not return the true value (153.846 kHz) until after you invoke the olDaConfig function.
Inputs
Input
Resolution
I/O
Range
or ± 5 V
or ± 5 V
Analog Input Sample Rate
50 kS/s per channel
150 kS/s per channel
a
Digital
I/O
8 in/ 8 out
8 in/ 8 out
The DT9816 is a low-power device (less than 100 mA draw).

Simultaneous Analog Inputs

The DT9816 module features six independent, 16-bit, successive-approximation A/D converters with track-and-hold circuitry. Each converter uses a common clock and trigger for simultaneous sampling of all six analog input signals at up to 50 kHz per channel (DT9816) or up to 150 kHz per channel (DT9816-A). All channels in the channel-gain list are read simultaneously on a single pulse of the internal clock.
C/T
1
1
14
The DT9816 module provides gains of 1 and 2, for effective full-scale input signal ranges of
±10 V and ±5 V.

Counter/Timer Channel

Overview
The DT9816 module supports one 16-bit counter/timer channel. This counter/timer allows you to perform event counting, frequency measurement, and continuous pulse output (rate generation) operations.

Clocks and Triggers

The DT9816 modules supports an internal trigger and clock or an external trigger and clock.
Use the internal trigger to start an analog input operation based on a software command, or use the external trigger to start an analog input operation based on an external event.
Use the external clock signal to pace an analog input operation at a rate not available with the internal clock or when you want to pace at uneven intervals.

Supported Software

The following software is available for use with the DT9816 module, and is provided on the ECON CD:
1
1
1
1
1
1
Device Driver – The DT9816 Device Driver allows you to use a DT9816 module with any of the supported software packages or utilities. Refer to Chapter 2 for more information on loading the device driver.
GO! application − The GO! application provides a quick way to measure and control data from a DT9816 module right out of the box. The following instrument views make acquiring data and controlling signals easy: oscilloscope, chart recorder, file viewer, digital voltmeter, digital input, digital output, frequency counter,
1
1
1
15
Chapter 1
and rate generator. Refer to Chapter 5 for more information on this application.
DT Measure Foundry – An evaluation version of this software is included or provided via a link on the ECON CD. DT Measure Foundry is drag-and-drop test and measurement application builder designed to give you top performance with ease-of-use development. Order the full development version of this software package to develop your own application using real hardware.
DataAcq SDK – Use the Data Acq SDK if you want to develop your own application software for the DT9816 module using the Microsoft C compiler; the DataAcq SDK complies with the DT-Open Layers standard.
DTx-EZ – Use this optional software package if you want to use ActiveX controls to access the capabilities of the DT9816 module using Microsoft Visual Basic or Visual C++; DTx-EZ complies with the DT-Open Layers
standard.
DAQ Adaptor for MATLAB – Data Translation’s DAQ Adaptor provides an interface between the MATLAB Data Acquisition (DAQ) subsystem from The MathWorks and Data Translation’s DT-Open Layers architecture.
16
DT-LV Link – Use this optional software package if you want to use the LabVIEW graphical programming language to access the capabilities of the DT9816 module.

Getting Started Procedure

The flow diagram shown in Figure 1 illustrates the steps needed to get started using the DT9816 module. This diagram is repeated in each chapter; the shaded area in the diagram shows you where you are in the getting started procedure.
Prepare to Use the Module
(see Chapter 2 starting on page 21)
Set Up and Install the Module
(see Chapter 3 starting on page 25)
Overview
1
1
1
Wire Signals to the Module
(see Chapter 4 starting on page 33)
Verify the Operation of the Module
(see Chapter 5 starting on page 43)
Figure 1: Getting Started Flow Diagram
1
1
1
1
1
1
17
Chapter 1
18

Part 1: Getting Started

2

Preparing to Use a Module

Unpacking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Checking the System Requirements . . . . . . . . . . . . . . . . . . . . . . . 23
Installing the Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
21
Chapter 2
Prepare to Use the Module
(this chapter)
Set Up and Install the Module
(see Chapter 3 starting on page 25)
Wire Signals to the Module
(see Chapter 4 starting on page 33)
Verify the Operation of the Module
(see Chapter 5 starting on page 43)

Unpacking

Open the shipping box and verify that the following items are present:
22
• DT9816 module
• ECON CD
•USB cable
If an item is missing or damaged, contact Data Translation. If you are in the United States, call the Customer Service Department at (508) 481-3700. An application engineer will guide you through the appropriate steps for replacing missing or damaged items. If you are located outside the United States, call your local distributor (see Data Translation’s web site (www.datatranslation.com) for contact information).
Once you have unpacked your module, check the system requirements, as described in the next section.
Preparing to Use a Module

Checking the System Requirements

For reliable operation, your DT9816 module requires the following:
• Windows 2000 or Windows XP (Professional Edition) operating system.
For USB Ver. 2.0 support, make sure that you install Service Pack 2 (for Windows XP) or Service Pack 4 (for Windows 2000). In addition, for some systems, you may have to disable standby mode. If you are not sure whether you are using USB Ver. 1.1 or Ver. 2.0, run the Open Layers Control Panel applet, described on
page 27.
• One or more USB ports (Ver. 2.0 or Ver. 1.1). USB Ver. 2.0 is recommended for optimal performance.
•One CD-ROM drive.
Once you have verified that your system meets the system requirements, install the software, as described in the next section.
2
2
2
2
2
2
2
2
2
23
Chapter 2

Installing the Software

To install the device driver, Data Acq SDK, DTx-EZ, and the GO! application, do the following:
1. Insert the ECON CD into your CD-ROM drive. If the software runs automatically (the default condition), continue with step 4.
2. If the software does not run automatically, click Start from the Task Bar, and then click Run. The Run dialog box 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 GO!
5. Click Install now!
The installation wizard appears.
6. Click Next.
The wizard prompts you for the destination location.
24
7. Either change the directory path and/or name using Browse or accept the default directory (C:\Program Files\Data Translation), and then click Next.
8. Click Next to copy the files.
9. Click Finish.
10. If you want to install DT-LV Link, click Install Additional Software, click Install now! under the LabVIEW Link section,
and follow the installation prompts.
11. When you have finished the installation process, click Quit Installer.
Continue with the instructions in Chapter 3 starting on page 25.
3
Setting Up and Installing
the Module
Attaching Modules to the Computer. . . . . . . . . . . . . . . . . . . . . . . 27
Changing the Name of a Module (Optional) . . . . . . . . . . . . . . . . 31
25
Chapter 3
Prepare to Use the Module
(see Chapter 2 starting on page 21)
Set Up and Install the Module
(this chapter)
Wire Signals to the Module
(see Chapter 4 starting on page 33)
Verify the Operation of the Module
(see Chapter 5 starting on page 43)
Note: The DT9816 module is factory-calibrated and requires no further adjustment.
26
Setting Up and Installing the Module

Attaching Modules to the Computer

This section describes how to attach a DT9816 module to the host computer.
Note: Most computers have several USB ports that allow direct connection to USB devices. If your application requires more DT9816 modules than you have USB ports for, you can expand the number of USB devices attached to a single USB port by using expansion hubs. For more information, refer to page 29.
You can unplug a module, and 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.
3
3
3
3
3
3
3
3
3
27
Chapter 3

Connecting Directly to the USB Ports

To connect DT9816 modules directly to the USB ports of your computer, do the following:
1. Attach one end of the USB cable to the USB port on the module.
2. Attach the other end of the USB cable to one of the USB ports on
the host computer, as shown in Figure 2.
The operating system automatically detects the USB module and starts the Found New Hardware wizard.
DT9816 Modules
USB Ports
Host Computer
28
USB Cable
Figure 2: Attaching the Module to the Host Computer
3. Click Next and/or Finish in the wizard. Once the firmware is loaded, the wizard restarts to initiate the firmware to accept commands. Click Next and/or Finish again.
If the power supply and module are attached correctly, the LED turns green.
4. Repeat the steps to attach another DT9816 module to the host computer, if desired.

Connecting to an Expansion Hub

Setting Up and Installing the Module
Expansion hubs are powered by their own external power supply. Theoretically, you can connect up to five expansion hubs to a USB port on the host computer. However, the practical number of DT9816 modules that you can connect to a single USB port depends on the throughput you want to achieve. Each of the hubs supports up to four modules.
To connect multiple DT9816 modules to an expansion hub, do the following:
1. Attach one end of the USB cable to the module and the other end of the USB cable to an expansion hub.
2. Connect the power supply for the expansion hub to an external power supply.
3. Connect the expansion hub to the USB port on the host computer using another USB cable.
The operating system automatically detects the USB module and starts the Found New Hardware wizard.
4. Click Next and/or Finish in the wizard. Once the firmware is loaded, the wizard restarts to initiate the firmware to accept commands. Click Next and/or Finish again.
If the power supply and module are attached correctly, the LED turns green.
3
3
3
3
3
3
5. Repeat these steps until you have attached the number of expansion hubs (up to five) and modules (up to four per hub) that you require. Refer to Figure 3.
The operating system automatically detects the USB devices as they are installed.
3
3
3
29
Chapter 3
Host Computer
DT9816 Module
USB Cables
USB Cable
Power Supply for Hub
DT9816 Module
USB Cables
DT9816 Module
USB Cable
Expansion Hubs
DT9816 Module
Figure 3: Attaching Multiple DT9816 Modules
Using Expansion Hubs
Power Supply for Hub
30
Loading...
+ 106 hidden pages