Data Translation DT9835 User manual

DT9835 User’s
UM-18797-D
Manual

Fourth Edition
March, 2002
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
Copyright © 2002 by Data Translation, Inc.
All rights reserved. No part of this publication
may be reproduced, stored in a retrieval system,
or transmitted, in any form by any means,
electronic, mechanical, by photocopying,
recording, or otherwise, without the prior
written permission of Data Translation, Inc.
Information furnished by Data Translation, Inc.
is believed to be accurate and reliable; however,
no responsibility is assumedby 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 -
RegisteredRights 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 LayersTM,
DataAcq SDKTM, DT-LV LinkTM, DTx-EZTM, and
DT VPITM are trademarks of Data Translation,
Inc.
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.


v
Table of Contents
About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Intended Audience. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
What You Should Learn from this Manual. . . . . . . . . . . . . . . . . . vii
Conventions Used in this Manual . . . . . . . . . . . . . . . . . . . . . . . . viii
Related Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Where To Get Help. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
Chapter 1: Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Supported Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Chapter 2: Principles of Operation . . . . . . . . . . . . . . . . . . . . 7
Digital I/O Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Operation Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Chapter 3: Supported Device Driver Capabilities. . . . . . . . 17
Chapter 4: Programming Flowcharts. . . . . . . . . . . . . . . . . . 27
Single-Value Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Continuous Digital Input Operations . . . . . . . . . . . . . . . . . . . . . . 31

Contents
vi
Chapter 5: Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . 35
General Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Service and Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Telephone Technical Support. . . . . . . . . . . . . . . . . . . . . . . . . . 39
E-Mail and Fax Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
World-Wide Web . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
If Your Board Needs Factory Service. . . . . . . . . . . . . . . . . . . . . . . 43
Appendix A: Specifications . . . . . . . . . . . . . . . . . . . . . . . . . 45
Appendix B: Connector Pin Assignments . . . . . . . . . . . . . 51
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61

vii
About this Manual
This manual describes the features of the DT9835 function module,
the capabilities of the DT9835 Device Driver, and how to program the
DT9835 function module using DT-Open Layerssoftware.
Troubleshooting information is also provided.
Intended Audience
This document is intended for engineers, scientists, technicians, or
others responsible for using and/or programming the DT9835
function module for data acquisition operations in the Microsoft®
Windows®98, Windows Me (Millennium Edition), Windows 2000, or
Windows XP operating systems. It is assumed that you have some
familiarity with data acquisition principles and that you understand
your application.
What You Should Learn from this Manual
This manual provides detailed information about the features of the
DT9835 function module and the capabilities of the DT9835 Device
Driver.
Chapter 1, “Overview,”describes the major features of the modules,
as well as the supported software and accessories for the modules.
Chapter 2, “Principles of Operation,”describes all of the features of
the modules and how to use them in your application.
Chapter 3, “Supported Device Driver Capabilities,”lists the data
acquisition subsystems and the associated features accessible using
the DT9835 Device Driver.

About this Manual
viii
Chapter 4, “Programming Flowcharts,”describes the processes you
must follow to program the subsystems on the DT9835 module using
DT-Open Layers-compliant software.
Chapter 5, “Troubleshooting,”provides information that you can use
to resolve problems with the modules and the device driver, should
they occur.
Appendix A, “Specifications,”lists the specifications of the module.
Appendix B, “Connector Pin Assignments,”shows the pin
assignments for the connectors and the screw terminal assignments
for the module.
An index completes this manual.
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 inbold.
Related Information
Refer to the following documents for more information on using the
DT9835 function 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
ix
•DT9835 Getting Started Manual (UM-18798). This manual
describes the how to install the DT9835 function module and
related software.
• 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 SDKTM 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-EZTM
to access the capabilities of Data Translation data acquisition
devices in Microsoft Visual Basic®or Visual C++®.
•DT VPI User Manual (UM-16150). This manual describes how to
use DT VPITM and the Agilent®VEE™visual programming
language to access the capabilities of Data Translation data
acquisition devices.
•DT-LV Link Getting Started Manual (UM-15790). This manual
describes how to use DT-LV LinkTM with the LabVIEW®
graphical programming language to access the capabilities of
Data Translation data acquisition devices.
•TestPointTM documentation from CEC.
•Microsoft Windows 98, Windows Me, Windows 2000, or
Windows XP documentation.
•USB web site (http://www.usb.org).

About this Manual
x
Where To Get Help
Should you run into problems installing or using a DT9835 function
module, the Data Translation Technical Support Department is
available to provide technical assistance. Refer to Chapter 5 for more
information. If you are outside the United States or Canada, call your
local distributor, whose number is listed in your Data Translation
product handbook.

1
1
Overview
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Supported Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Chapter 1
2
Features
The DT9835 is a low-cost, high-power, digital I/O module for the
Universal Serial Bus (USB). USB is a standard for connecting PCs to
peripheral devices, such as printers, mice, and modems, and was
developed to make more low-cost ports available for the increasing
number of these devices.
Most new computers have two USB ports that allow direct
connection to USB devices.You can expand the number of USB
devices attached to a single USB port by using expansion hubs. The
DT9835 function module is part of the high-power, bus-powered USB
class; therefore, the module does not require external power, but the
expansion hubs do require external power.
The DT9835 function module resides outside of the PC and installs
with a single cable to ease installation. Modules can be “hot
swapped”or plugged and unplugged while the PC is on, making
them useful for many data acquisition applications.
The DT9835 function module provides the following major features:
•USB compatibility;
•64 configurable digital I/O lines (configurable in banks of eight)
and 32 dedicated digital input lines for nonclocked monitoring or
control.
•Interrupt-on-change on 16 dedicated digital input lines.
•External solid-state relay module support. Digital outputs can
drive sink 12 mA, source 100 kΩpullup.
•Isolated output common from the USB bus to 500 V peak.

Overview
3
1
1
1
1
1
1
1
1
1
Supported Software
The following software is available for use with the DT9835 modules:
•DT9835 Device Driver −This software is provided on the Data
Acquisition OMNI CD that is shipped with the module. The
device driver allows you to use a DT9835 function module with
any of the supported software packages or utilities. Refer to the
DT9835 Getting Started Manual (UM-18798) for more information
on configuring the device driver.
•Quick Data Acq application − This software is provided on the
Data Acquisition OMNI CD that is shipped with the module. The
Quick Data Acq application provides a quick way to get up and
running using a DT9835 function module. Using this application,
you can verify key features of the module and display data on the
screen. Refer to the DT9835 Getting Started Manualfor more
information on using the Quick Data Acq application.
•DT Measure Foundry − An evaluation version of this software is
included on the Data Acquisition OMNI 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 −This software is shipped on the Data Acquisition
OMNI CD. Use the Data Acq SDK if you want to useWindows
98, Windows Me, Windows NT 4.0, Windows 2000, or Windows
XP to develop your own application software for the DT9835
boards using the Microsoft C compiler; the DataAcq SDK
complies with the DT-Open Layers standard.
•DTx-EZ −Order this optional software package if you want to
use ActiveX controls to access the capabilities of the DT9835
boards using Microsoft Visual Basic or Visual C++; DTx-EZ
complies with the DT-Open Layersstandard.

Chapter 1
4
•DT VPI −Order this optional software package if you want to
use the Aglient VEE visual programming language to access the
capabilities of the DT9835 boards.
•DT-LV Link −Order this optional software package if you want
to use the LabVIEW graphical programming language to access
the capabilities of the DT9835 boards.
•Testpoint −Order this optional software package if you want use
a drag-and-drop software environment for designing test,
measurement, and data acquisition applications.
Refer to the Data Translation data acquisition catalog for information
about selecting the right software package for your needs.

Overview
5
1
1
1
1
1
1
1
1
1
Accessories
The following accessories are provided for the DT9835:
•EP310 −a 2-meter, USB cable that connects the USB connector of
the DT9835 function module to the USB connector on the host
computer. An EP310 cable is shipped with each DT9835 function
module. In addition, if you want to buy additional USB cables,
EP310 is available as an accessory product for the DT9835.
•EP316 −a 5-meter, USB cable that connects the USB connector of
the DT9835 function module to the USB connector on the host
computer.
•STP100 −a 100 mm x 160 mm screw terminal panel that connects
to the DT9835 function module either directly or by using the
EP331 cable. This screw terminal panel allows you to connect all
of the input and output connections that are supported by a
DT9835 module. LEDs on up to 64 of the outputs light when the
outputs are low. Note that the LEDs are not provided for the
dedicated digital input lines.
•EP331 −a 1-meter, 100-conductor cable that connects the STP100
screw terminal panel to the DT9835 function module.

Chapter 1
6

7
2
Principles of Operation
Digital I/O Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Operation Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

Chapter 2
8
Figure 1 shows a block diagram of the DT9835 function module. Note
that bold entries indicate signals you can access.
Figure 1: Block Diagram of the DT9835 Function Module
500 V Isolation Barrier
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 Protection
64 Digital I/O WIth 100 kΩ
ΩΩ
ΩPull-Ups to +5V_I
WIth Back EMF Protection
Pins 64 to 96
Lines 63 to 95
Pins 1 to 64
Lines 0 to 63
Isolated
Common
Pins 50 and 100
+5 V
In/Out
Pins 49 and 99

Chapter 2
10
Digital I/O Lines
The DT9835 board supports 64 shared digital I/O lines. These lines
are organized as eight digital banks (banks 0 to 7)), each containing
eight digital I/O lines (lines 0 to 7).
The DT9835 board also supports 32 dedicated digital input lines.
These lines are organized as four banks (banks 8 to 11), each
containing eight digital input lines (lines 0 to 7).
You access the digital inputs through the digital input (DIN)
subsystem and the digital outputs through the digital output (DOUT)
subsystem.
The inputs are pulled up to +5 V through a 100 kΩresistor. You can
choose to debounce the inputs using the Open Layers Control Panel.
When debounce is selected, a debounce delay of 5 ms occurs before a
change is passed through the digital filter on the module. When
debounce is not selected (the default configuration), a delay of less
than 1 ms occurs. Refer to the DT9835 Getting Started Manual for more
information.
Outputs are open collectors with a 100 kΩresistor connected to the
internal isolated +5V. All outputs are diode-protected for back EMF
voltages typically seen when driving relays. The output stage latches
are normally powered by the module. However, you can externally
power the +5 V output so that the digital outputs retain their current
values when the module is powered down.
Note: +5 V output is available only when one of the subsystems is
activated, which, in turn, activates power to the module.
The DT9835 provides enough current to drive only one LED per
output line on the STP100 screw terminal panel at a time. An LED
turns on when the output is low.
Other manuals for DT9835
1
Table of contents
Other Data Translation Computer Hardware manuals

Data Translation
Data Translation DT9835 Parts list manual

Data Translation
Data Translation DT3145 Parts list manual

Data Translation
Data Translation DT9820 Series User manual

Data Translation
Data Translation DT9820 Series Parts list manual

Data Translation
Data Translation DT340 Parts list manual

Data Translation
Data Translation DT351 User manual

Data Translation
Data Translation DT300 Series Parts list manual

Data Translation
Data Translation DT351 Parts list manual

Data Translation
Data Translation DT330 Series User manual

Data Translation
Data Translation DT330 Series Parts list manual