Data Translation DT9834 Instruction Manual

UM-19985-E
DT9834 Series User’s Manual
Fifth Edition March, 2006
Copyright © 2004-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, Inc. 100 Locke Drive Marlboro, MA 01752-1192 (508) 481-3700 www.datatranslation.com Fax: (508) 481-8620 E-mail: info@datx.com
Data Translation® is a registered trademark of Data Translation, Inc. DT-Open Layers DataAcq SDK
TM
Link
, DTx-EZTM, and DT VPITM are trademarks
TM
, DataAcq OMNI CDTM, DT-LV
TM
,
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.
Table of Contents
About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Intended Audience. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
How this Manual is Organized . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Conventions Used in this Manual . . . . . . . . . . . . . . . . . . . . . . . . . 13
Related Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Where To Get Help. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Chapter 1: Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
DT9834 Hardware Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Supported Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Chapter 2: Principles of Operation . . . . . . . . . . . . . . . . . . . 23
Analog Input Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Input Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Analog Input Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Specifying a Single Analog Input Channel . . . . . . . . . . 27
Specifying One or More Analog Input Channels . . . . . 27
Specifying the Digital Input Port in the Analog Input
Channel-Gain List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Specifying Counter/Timers in the Analog Input
Channel-Gain List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Performing Dynamic Digital Output Operations . . . . 32
Input Ranges and Gains. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Specifying the Gain for a Single Channel . . . . . . . . . . . 34
Specifying the Gain for One or More Channels . . . . . . 34
Input Sample Clock Sources . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Analog Input Conversion Modes . . . . . . . . . . . . . . . . . . . . . . 35
5
Contents
Continuous Scan Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Triggered Scan Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Internally Retriggered Scan Mode . . . . . . . . . . . . . . 38
Externally Retriggered Scan Mode. . . . . . . . . . . . . . 39
Input Triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Data Format and Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Error Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Analog Output Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Output Resolution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Analog Output Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Specifying a Single Analog Output Channel . . . . . . . . 45
Specifying Multiple Analog Output Channels and/or the
Digital Output Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Output Ranges and Gains . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Output Triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Output Clocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Output Conversion Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Continuously Paced Analog Output . . . . . . . . . . . . . . . 48
Waveform Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Data Format and Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Error Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Digital I/O Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Digital I/O Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Operation Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Counter/Timer Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
C/T Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
C/T Clock Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Gate Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Pulse Output Types and Duty Cycles . . . . . . . . . . . . . . . . . . 59
Counter/Timer Operation Modes . . . . . . . . . . . . . . . . . . . . . 60
6
Event Counting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Up/Down Counting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Frequency Measurement . . . . . . . . . . . . . . . . . . . . . . . . . 61
Edge-to-Edge Measurement . . . . . . . . . . . . . . . . . . . . . . 63
Rate Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
One-Shot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Repetitive One-Shot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Chapter 3: Supported Device Driver Capabilities. . . . . . . . 69
Data Flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Buffering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
DMA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Triggered Scan Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Gain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Synchronous Digital I/O. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Clocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Counter/Timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Contents
Chapter 4: Programming Flowcharts. . . . . . . . . . . . . . . . . . 83
Single-Value Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Continuous A/D Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Continuous D/A Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Continuous Digital Input Operations . . . . . . . . . . . . . . . . . . . . . . 91
Continuous Digital Output Operations . . . . . . . . . . . . . . . . . . . . 92
Event Counting Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
7
Contents
Up/Down Counting Operations . . . . . . . . . . . . . . . . . . . . . . . . . 95
Frequency Measurement Operations . . . . . . . . . . . . . . . . . . . . . . 97
Edge-to-Edge Measurement Operations . . . . . . . . . . . . . . . . . . . 99
Pulse Output Operations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Simultaneous Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Chapter 5: Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . 117
General Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
If Your Module Needs Factory Service . . . . . . . . . . . . . . . . . . . . 123
Chapter 6: Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Using the Calibration Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Calibrating the Analog Input Subsystem . . . . . . . . . . . . . . . . . . 128
Connecting a Precision Voltage Source . . . . . . . . . . . . . . . . 128
Using the Auto-Calibration Procedure . . . . . . . . . . . . . . . . 128
Using the Manual Calibration Procedure . . . . . . . . . . . . . . 129
Calibrating the Analog Output Subsystem . . . . . . . . . . . . . . . . 131
Appendix A: Specifications . . . . . . . . . . . . . . . . . . . . . . . . 133
Appendix B: Connector Pin Assignments . . . . . . . . . . . . 145
OEM Version Connector Pin Assignments. . . . . . . . . . . . . . . . . 146
BNC Connection Box Connector Pin Assignments. . . . . . . . . . 152
Analog Input Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Digital I/O Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Analog Output, Counter/Timer, Clock, and Trigger
Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
STP Connection Box Pin Assignments . . . . . . . . . . . . . . . . . . . . 159
Screw Terminal Block TB1 . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Screw Terminal Block TB2 . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
Screw Terminal Block TB3 . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
8
Screw Terminal Block TB4 . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Screw Terminal Block TB5 . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Screw Terminal Block TB6 . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Screw Terminal Block TB7 . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
EP353 Accessory Panel Connector Pin Assignments . . . . . . . . 168
Connector J1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Connector J2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
EP356 Accessory Panel Connector Pin Assignments . . . . . . . . 172
Connector J1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Connector J2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
EP355 Screw Terminal Assignments . . . . . . . . . . . . . . . . . . . . . . 175
Attached to Connector J2 on the OEM Module . . . . . . . . . 175
Attached to Connector J3 on the OEM Module . . . . . . . . . 175
Contents
9
Contents
10
This manual describes the features of the DT9834 Series modules, the capabilities of the DT9834 Series Device Driver, and how to program the DT9834 Series modules using DT-Open Layers™ software. Troubleshooting information is also provided.
Note: The DT9834 Series module is available either installed in a metal BNC connection box, an STP (screw terminal panel) connection box (for the 32-analog input channel version only), or as a board-level OEM version that you can install in your own custom application. If the information in this manual applies to all versions of the DT9834 Series module, the manual uses the product name "DT9834 Series module." Otherwise, the specific product name is mentioned.

Intended Audience

This document is intended for engineers, scientists, technicians, or others responsible for using and/or programming the DT9834 Series modules for data acquisition 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

11
About this Manual

How this Manual is Organized

This manual is organized as follows:
Chapter 1, “Overview,” describes the major features of the DT9834 Series module, as well as the supported software and accessories for the modules.
Chapter 2, “Principles of Operation,” describes all of the features of the DT9834 Series module 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 DT9834 Series Device Driver.
Chapter 4, “Programming Flowcharts,” describes the processes you must follow to program the subsystems of the DT9834 Series module using DT-Open Layers-compliant software.
Chapter 5, “Troubleshooting,” provides information that you can use to resolve problems with the DT9834 Series module and device driver, should they occur.
12
Chapter 6, “Calibration,” describes how to calibrate the analog I/O circuitry of the DT9834 Series modules.
Appendix A, “Specifications,” lists the specifications of the DT9834 Series module.
Appendix B, “Connector Pin Assignments,” shows the pin assignments for the connectors and the screw terminal assignments for the screw terminals on the DT9834 Series 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 in bold.

Related Information

Refer to the following documents for more information on using the DT9834 Series modules:
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
DT9834 Series Getting Started Manual (UM-19983). This manual, included on the Data Acquisition OMNI CD™, describes the how to install the DT9834 Series modules 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 SDK™ to access the capabilities of Data Translation data acquisition devices.
13
About this Manual

Where To Get Help

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++®.
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).
14
Should you run into problems installing or using a DT9834 Series 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 on our web site (www.datatranslation.com).
1

Overview

DT9834 Hardware Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Supported Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
15
Chapter 1

DT9834 Hardware Features

The DT9834 Series is a family of high-performance, multifunction data acquisition modules for the USB (Ver. 2.0 or Ver. 1.1) bus. The key hardware features of the DT9834 Series modules are as follows:
• Available either installed in a metal BNC connection box, STP connection box (for the 32-analog input channel version only) or as a board-level OEM version that you can install in your own custom application.
• Simultaneous operation of analog input, analog output, digital I/O, and counter/timer subsystems.
• Analog input subsystem:
12-bit or 16-bit A/D converter. The resolution depends on the
model you purchase.
Throughput rate up to 500 kSamples/s.
Up to 32 single-ended or 16 differential analog input channels.
The channel type and the number of channels provided depend on the model you purchase. If you do not intend to perform analog input operations, you can also purchase a DT9834 Series module that contains no analog input channels.
16
Programmable gain of 1, 2, 4, or 8 provides input ranges of
±10, ±5, ±2.5, and ±1.25 V.
1024-location channel-gain list. You can cycle through the
channel-gain list using continuous scan mode or triggered scan mode. The maximum sampling rate when using the channel-gain list is 500 kSamples/s.
• Analog output subsystem:
Four 12-bit or 16-bit D/A converters. The resolution depends
on the model you purchase. If you do not intend to perform analog output operations, you can also purchase a DT9834 Series module that contains no D/A converters.
Output rate up to 500 kSamples/s.
Output range of ±10 V.
Overview
The DACs are deglitched to prevent noise from interfering
with the output signal.
Output channel list. You can cycle through the output channel
list using continuous output mode or waveform generation mode. For waveform generation mode, you can simultaneously update all four DACs at 500 kS/s per channel; for continuous output mode, you can simultaneously update all four DACs at 250 kS/s per channel.
• Digital I/O subsystem:
One digital input port, consisting of 16 digital input lines. You
can program any of the first eight digital input lines to perform interrupt-on-change operations. You can read the value of the digital input port using the analog input channel-gain list.
One digital output port, consisting of 16 digital output lines.
You can output the value of the digital output port using the output channel list.
An additional dynamic digital output line that changes state
whenever an analog input channel is read.
• Five 32-bit counter/timer (C/T) channels that perform event counting, up/down counting, frequency measurement, edge-to-edge measurement, continuous pulse output, one-shot, and repetitive one-shot operations. You can read the value of one or more of the C/T channels using the analog input channel-gain list.
1
1
1
1
1
1
1
• External or internal clock source.
• Trigger operations using a software command, an analog threshold value, or an external digital trigger.
• 500 V galvanic isolation barrier that prevents ground loops to maximize analog signal integrity and protect your computer.
1
1
17
Chapter 1
The key differences among the DT9834 Series modules are summarized in Tabl e 1. Note that all modules provide 16 digital input lines, 16 digital output lines, five counter/timers, and a throughput rate of up to 500 kSamples/s.
OEM packaging refers to the board-level version; the power supply is not included.
Table 1: Summary of DT9834 Series Modules
Analog
Module Analog Inputs
DT9834-00-4-12-OEM None 4 12 bits OEM
DT9834-00-4-12-BNC None 4 12 bits BNCa
DT9834-00-4-16-OEM None 4 16 bits OEM
DT9834-00-4-16-BNC None 4 16 bits BNC
Outputs
Resolution Packaging
a
18
DT9834-16-0-12-OEM 16 single-ended
or 8 differential
DT9834-16-0-12-BNC 16 single-ended
b
c
0 12 bits OEM
0 12 bits BNCd
DT9834-08-0-12-BNC 8 differential 0 12 bits BNC
DT9834-16-0-16-OEM 16 SE or 8 DI
DT9834-16-0-16-BNC 16 single-ended
b
0 16 bits OEM
c
0 16 bits BNCd
DT9834-08-0-16-BNC 8 differential 0 16 bits BNC
DT9834-16-4-12-OEM 16 SE or 8 DI
DT9834-16-4-12-BNC 16 single-ended
b
4 12 bits OEM
c
4 12 bits BNCf
DT9834-08-4-12-BNC 8 differential 4 12 bits BNC
DT9834-16-4-16-OEM 16 SE or 8 DI
b
4 16 bits OEM
e
e
g
Table 1: Summary of DT9834 Series Modules (cont.)
Overview
Analog
Module Analog Inputs
DT9834-16-4-16-BNC 16 single-endedc 4 16 bits BNCf
DT9834-08-4-16-BNC 8 differential 4 16 bits BNC
DT9834-32-0-16-STP 32 SE or 16 DI
DT9834-32-0-16-OEM 32 SE or 16 DI
a. A BNC connection box with no BNCs for analog inputs, 4 BNCs for analog outputs, 1 BNC for
an external DAC clock, and 1 BNC for an external DAC trigger. b. Software-selectable. c. For single-ended-only BNC modules, you must specify the 16 single-ended channels through
software; eight differential channels is the default software configuration. d. A BNC connection box with 16 BNCs for single-ended analog inputs, no BNCs for analog
outputs, 1 BNC for an external A/D clock, and 1 BNC for an external A/D trigger. e. A BNC connection box with 8 BNCs for differential analog inputs, no BNCs for analog
outputs, 1 BNC for an external A/D clock, and 1 BNC for an external A/D trigger. f. A BNC connection box with 16 BNCs for single-ended analog inputs, 4 BNCs for analog
outputs, 1 BNC for an external A/D clock, 1 BNC for an external DAC clock, 1 BNC for an
external A/D trigger, and 1 BNC for an external DAC trigger. g. A BNC connection box with 8 BNCs for differential analog inputs, 4 BNCs for analog outputs,
1 BNC for an external A/D clock, 1 BNC for an external DAC clock, 1 BNC for an external
A/D trigger, and 1 BNC for an external DAC trigger. h. You access single-ended channels 16 through 31 through the Analog Input connector on the
BNC connection box. i. An STP connection box with screw terminals for connecting up to 32 single-ended or 16
differential analog inputs, 16 digital inputs, 16 digital outputs, 5 counter/timers, an external
A/D clock, and an external A/D trigger.
Outputs
h
0 16 bits STPi
b
0 16 bits OEM
Resolution Packaging
g
1
1
1
1
1
1
1
1
1
19
Chapter 1

Supported Software

The following software is available for use with the DT9834 Series modules and is on the Data Acquisition OMNI CD:
DT9834 Series Device Driver – The device driver allows you to use a DT9834 Series module with any of the supported software packages or utilities. Refer to the DT9834 Series Getting Started Manual (UM-19983) for more information on loading and configuring the device driver.
Quick Data Acq application – The Quick Data Acq application provides a quick way to get up and running using a DT9834 Series module. Using this application, you can verify key features of the modules, display data on the screen, and save data to disk. Refer to the DT9834 Series Getting Started Manual (UM-19983) for more information on using the Quick Data Acq application.
DT Measure Foundry – An evaluation version of this software is included or provided via a link on the Data Acquisition OMNI CD. DT Measure Foundry is a 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.
20
DataAcq SDK – Use the DataAcq SDK if you want to develop your own application software for the DT9834 Series modules using the Microsoft C compiler; the DataAcq SDK complies with the DT-Open Layers standard.
DTx-EZ – DTx-EZ provides ActiveX controls, which allow you to access the capabilities of the DT9834 Series modules using Microsoft Visual Basic or Visual C++; DTx-EZ complies with the DT-Open Layers
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.
standard.
DT-LV Link – Use DT-LV Link if you want to use the LabVIEW graphical programming language to access the capabilities of the DT9834 Series modules.
Refer to the Data Translation web site (www.datatranslation.com) for information about selecting the right software package for your needs.
Overview
1
1

Accessories

You can purchase the following optional items from Data Translation for use with the OEM version of the DT9834 Series module:
EP361 – +5V power supply and cable.
EP353 – Accessory panel that provides one 37-pin, D-sub connector for attaching analog input signals and one 26-pin connector for attaching a 5B Series signal conditioning backplane.
EP355 – Screw terminal panel that provides 14-position screw terminal blocks for attaching analog input, analog output, counter/timer, digital I/O, trigger, and clock signals.
EP356 – Accessory panel that provides two 37-pin, D-sub connectors for attaching digital I/O, analog output, counter/timer, trigger, and clock signals.
EP333 – 2-meter shielded cable with two 37-pin connectors that connect an EP356 accessory panel to an STP37 screw terminal panel.
EP360 – 2-meter shielded cable with two 37-pin connectors that connect either the Analog Input connector on the BNC connection box or an EP353 accessory panel to an STP37 screw terminal panel.
1
1
1
1
1
1
STP37 – Screw terminal panel that provides 37 screw terminal blocks for attaching analog output, counter/timer, digital I/O, trigger, and clock signals.
1
21
Chapter 1
5B01 – 16-channel backplane that accepts 5B Series signal conditioning modules.
5B08 – 8-channel backplane that accepts 5B Series signal conditioning modules.
AC1315 – 2-foot, 26-pin female to 26-pin female cable that connects a 5B Series backplane to the DT9834 Series module.
22
2

Principles of Operation

Analog Input Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Analog Output Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Digital I/O Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Counter/Timer Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
23
Chapter 2
Analog
Input
Channels
Figure 1 shows a block diagram of the DT9834 Series modules.
Input MUX
Programmable
Gain (1, 2, 4, 8)
12-Bit or
16-Bit
ADC
Input FIFO
Analog
Threshold
Trigger
Dynamic
Digital
Output
4 Analog Output Channels
Channel­Gain List
(1024)
Digital I/O
16 In
16 Out
12/16-Bit
D/A
12/16-Bit
D/A
12/16-Bit
D/A
12/16-Bit
D/A
8
16
Interrupt
Logic
Output
FIFO
Input
Control
Output
Control
500 V Isolation
Barrier
USB 1.1 or 2.0 Interface
Ext. A/D
Tr ig
Ext. A/D
Clk
Ext. D/A
Tr ig
Ext. D/A
Clk
Clock
and
Trigger
Logic
5 32-Bit
Counter/
Timers
Ext. A/D Trig
Ext. A/D Clk
Ext. D/A Trig
Ext. D/A Clk
5 Clock In
5 Gate In
5 Signal Out
24
Figure 1: Block Diagram of the DT9834 Series Modules

Analog Input Features

This section describes the following features of analog input (A/D) operations on the DT9834 Series module:
• Input resolution, described below
• Analog input channels, described on page 26
• Input ranges and gains, described on page 33
Principles of Operation
2
2
• Input sample clock sources, described on page 34
• Analog input conversion modes, described on page 35
• Input triggers, described on page 40
• Data format and transfer, described on page 41
• Error conditions, described on page 43

Input Resolution

Tabl e 2 lists the input resolution of the DT9834 Series modules that
support analog input operations. The resolution is fixed at either 12 bits or 16 bits, depending on the module you are using; you cannot specify the resolution in software.
Module Resolution Module Resolution
DT9834-16-0-12-OEM DT9834-16-0-12-BNC DT9834-08-0-12-BNC DT9834-16-4-12-OEM DT9834-16-4-12-BNC DT9834-08-4-12-BNC
Table 2: Input Resolution
12 bits DT9834-16-0-16-OEM
DT9834-16-0-16-BNC DT9834-08-0-16-BNC DT9834-16-4-16-OEM DT9834-16-4-16-BNC DT9834-08-4-16-BNC DT9834-32-0-16-STP DT9834-32-0-16-OEM
2
2
2
2
2
16 bits
2
2
25
Chapter 2

Analog Input Channels

You can use the analog input channels in one of the following configurations:
Single-ended − Single-ended channels are useful when you are measuring high-level signals, when noise is not significant, when the source of the input is close to the module, and when all the input signals are referred to the same common ground.
Pseudo-Differential − Pseudo-differential channels are useful when noise or common-mode voltage (the difference between the ground potentials of the signal source and the ground of the screw terminal panel or between the grounds of other signals) exists and when the differential configuration is not suitable for your application. This option provides less noise rejection than the differential configuration; however, more analog input channels are available.
Differential − Differential channels are useful when you want to measure low-level signals, when noise is a significant part of the signal, or when common-mode voltage exists.
26
The BNC connection box is shipped in either a differential or single-ended channel configuration. For the STP and OEM versions of the module, you configure the channel type as single-ended or differential through software.
Note: For pseudo-differential inputs, specify single-ended in software; in this case, how you wire these signals determines the configuration.
Principles of Operation
Using the Open Layers Control Panel applet, you can also select whether to use 10 kΩ termination resistance between the low side of each differential channel and isolated analog ground. This feature is particularly useful with floating signal sources. Refer to the DT9834 Series Getting Started Manual for more information about wiring to inputs and configuring the driver to use bias return termination resistance.
The DT9834 Series modules can acquire data from a single analog input channel or from a group of analog input channels. Channels are numbered 0 to 31 for single-ended and pseudo-differential inputs, and 0 to 15 for differential inputs.
The following subsections describe how to specify the channels.
Specifying a Single Analog Input Channel
The simplest way to acquire data from a single analog input channel is to specify the channel for a single-value analog input operation using software; refer to page 35 for more information about single-value operations.
2
2
2
2
2
You can also specify a single channel using the analog input channel-gain list, described in the next section.
Specifying One or More Analog Input Channels
You can read data from one or more analog input channels using an analog input channel-gain list. You can group the channels in the list sequentially (starting either with 0 or with any other analog input channel) or randomly. You can also specify a single channel or the same channel more than once in the list.
2
2
2
2
27
Chapter 2
Using software, specify the channels in the order you want to sample them. You can enter up to 1,024 entries in the channel-gain list. The channels are read in order (using continuously paced scan mode or triggered scan mode) from the first entry in the list to the last entry in the list. Refer to page 35 for more information about the supported conversion modes.
You can also use software to set up a channel-inhibit list. This feature is useful if you want to discard acquired values from specific entries in the channel-gain list. Using the channel-inhibit list, you can enable or disable inhibition for each entry in the channel-gain list. If enabled, the value is discarded after the channel is read; if disabled, the value is not discarded after the channel is read.
Notes: If you select an analog input channel as the analog threshold trigger source, the channel used for this trigger source must be the first channel specified in the channel-gain list; refer to page 40 for more information about this trigger source.
28
The maximum rate at which the module can read the analog input channels depends on the total number of analog input channels and/or counter/timer channels (see page 30) in the list, and whether or not you are reading the digital input port (see the next section). For example, since the maximum throughput of the analog input subsystem is 500 kSamples/s, the module can read two analog input channels at a rate of 250 kSamples/s each or four analog input channels at a rate of 125 kSamples/s each.
Principles of Operation
Specifying the Digital Input Port in the Analog Input Channel-Gain List
The DT9834 Series modules allow you to read the digital input port (all 16 digital input lines) using the analog input channel-gain list. This feature is particularly useful when you want to correlate the timing of analog and digital events.
To read the digital input port, specify channel 16 or channel 32 in the analog input channel-gain list. Use channel 16 for modules with 16 single-ended channels or eight differential channels; use channel 32 for modules with 32 single-ended channels or 16 differential channels. You can enter channel 16 or 32 anywhere in the list, and you can enter it more than once, if desired.
The digital input port is treated like any other channel in the analog input channel-gain list; therefore, all the clocking, triggering, and conversion modes supported for analog input channels are supported for the digital input port, if you specify them this way.
2
2
2
2
2
Note: The maximum rate at which the module can read the digital input port depends on the total number of analog input channels (see page 27) and counter/timer channels (see the next section) in the channel-gain list. For example, since the maximum throughput of the analog input subsystem is 500 kSamples/s, the module can read one analog input channel and the digital input port (two channels/ports) at a rate of 250 kSamples/s each or three analog input channels and the digital input port (four channels/ports) at a rate of 125 kSamples/s each.
2
2
2
2
29
Chapter 2
Specifying Counter/Timers in the Analog Input Channel-Gain List
The DT9834 Series modules allow you to read the value of one or more of the five counter/timer channels using the analog input channel-gain list. This feature is particularly useful when you want to correlate the timing of analog and counter/timer events.
To read a counter/timer channel, specify the appropriate channel number in the analog input channel-gain list (refer to Table 3 on page
30). You can enter a channel number anywhere in the list, and you
can enter it more than once, if desired.
You need two channel-gain list entries to read one 32-bit counter value. The first entry stores the lower 16-bit word, and the second entry stores the upper 16-bit word. If you need only the lower 16-bit word, you do not have to include the second entry. The entire 32-bit count value is latched when the lower 16-bit word is stored. This prevents the counter/timer from incrementing between samples.
Tabl e 3 lists the channel number(s) to use for each counter/timer.
30
Table 3: Using Counter/Timers in Analog Input Channel-Gain List
Channel to Specify in
Channel-Gain List for:
Modules with
Counter/Timer
Channel
C/T_0_LOW Lower 16 bits (0 to 15) of C/T 0 Channel 17 Channel 33
C/T_0_HI Upper 16 bits (16 to 31) of C/T 0 Channel 18 Channel 34
C/T_1_LOW Lower 16 bits (0 to 15) of C/T 1 Channel 19 Channel 35
C/T_1_HI Upper 16 bits (16 to 31) of C/T 1 Channel 20 Channel 36
C/T_2_LOW Lower 16 bits (0 to 15) of C/T 2 Channel 21 Channel 37
Description
16 SE or 8 DI
Channels
Modules with
32 SE or 16 DI
Channels
Loading...
+ 158 hidden pages