Measurement Specialties USB-1616HS-2 User Manual

USB-1616HS-2
User's Guide
Document Revision 1, August, 2007
© Copyright 2007, Measurement Computing Corporation
Your new Measurement Computing product comes with a fantastic extra —
Management committed to your satisfaction!
Refer to www.mccdaq.com/execteam.html for the names, titles, and contact information of each key executive at Measurement Computing.
Thank you for choosing a Measurement Computing product—and congratulations! You own the finest, and you can now enjoy the protection of the most comprehensive warranties and unmatched phone tech support. It’s the embodiment of our mission:
To provide PC-based data acquisition hardware and software that will save time and save money.
Simple installations minimize the time between setting up your system and actually making measurements. We offer quick and simple access to outstanding live FREE technical support to help integrate MCC products into a DAQ system.
Lifetime warranty: Every hardware product manufactured by Measurement Computing Corporation is warranted against defects in materials or workmanship for the life of the product. Products found defective are repaired or replaced promptly.
Lifetime Harsh Environment Warranty®: We will replace any product manufactured by Measurement Computing Corporation that is damaged (even due to misuse) for only 50% of the current list price. I/O boards face some tough operating conditions, some more severe than the boards are designed to withstand. When a board becomes damaged, just return the unit with an order for its replacement at only 50% of the current list price. We don’t need to profit from your misfortune. By the way, we honor this warranty for any manufacturer’s board that we have a replacement for.
30 Day Money Back Guarantee: You may return any Measurement Computing Corporation product within 30 days of purchase for a full refund of the price paid for the product being returned. If you are not satisfied, or chose the wrong product by mistake, you do not have to keep it. Please call for an RMA number first. No credits or returns accepted without a copy of the original invoice. Some software products are subject to a repackaging fee.
These warranties are in lieu of all other warranties, expressed or implied, including any implied warranty of merchantability or fitness for a particular application. The remedies provided herein are the buyer’s sole and exclusive remedies. Neither Measurement Computing Corporation, nor its employees shall be liable for any direct or indirect, special, incidental or consequential damage arising from the use of its products, even if Measurement Computing Corporation has been notified in advance of the possibility of such damages.
3
Trademark and Copyright Information
TracerDAQ, Universal Library, Harsh Environment Warranty, Measurement Computing Corporation, and the Measurement Computing logo are either trademarks or registered trademarks of Measurement Computing Corporation.
Windows, Microsoft, and Visual Studio are either trademarks or registered trademarks of Microsoft Corporation
LabVIEW is a trademark of National Instruments.
CompactFlash is a registered trademark of SanDisk Corporation.
XBee and XBee-PRO are trademarks of MaxStream, Inc.
All other trademarks are the property of their respective owners.
Information furnished by Measurement Computing Corporation is believed to be accurate and reliable. However, no responsibility is assumed by Measurement Computing Corporation neither 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 or copyrights of Measurement Computing Corporation.
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 Measurement Computing Corporation.
Notice
Measurement Computing Corporation does not authorize any Measurement Computing Corporation product for use in life support systems and/or devices without prior written consent from Measurement Computing Corporation. Life support devices/systems are devices or systems which, a) are intended for surgical implantation into the body, or b) support or sustain life and whose failure to perform can be reasonably expected to result in injury. Measurement Computing Corporation products are not designed with the components required, and are not subject to the testing required to ensure a level of reliability suitable for the treatment and diagnosis of people.
4

Table of Contents

Preface
About this User's Guide .......................................................................................................................7
What you will learn from this user's guide .........................................................................................................7
Conventions used in this user's guide.................................................................................................................7
Where to find more information.........................................................................................................................7
Chapter 1
Introducing the USB-1616HS-2............................................................................................................8
Overview: USB-1616HS-2 features ...................................................................................................................8
Software features................................................................................................................................................8
Chapter 2
Installing the USB-1616HS-2................................................................................................................9
What comes with your USB-1616HS-2 shipment? ............................................................................................9
Hardware .......................................................................................................................................................................... 9
Optional components ........................................................................................................................................................ 9
Additional documentation................................................................................................................................................10
Unpacking the USB-1616HS-2 ........................................................................................................................10
Installing the software ......................................................................................................................................10
Installing the hardware .....................................................................................................................................11
Configuring the hardware.................................................................................................................................12
Connecting the board for I/O operations ..........................................................................................................12
Connectors, cables – main I/O connector.........................................................................................................................12
Screw terminal pin outs ...................................................................................................................................................13
DSUB25F expansion connector.......................................................................................................................................14
Cabling.............................................................................................................................................................................15
Chapter 3
Functional Details ...............................................................................................................................16
USB-1616HS-2 components ............................................................................................................................16
USB-1616HS-2 block diagram.........................................................................................................................18
Synchronous I/O – mixing analog, digital, and counter scanning ....................................................................18
Analog input .....................................................................................................................................................19
Analog input scanning .....................................................................................................................................................19
Thermocouple input..........................................................................................................................................22
Tips for making accurate temperature measurements ......................................................................................................22
Analog output ...................................................................................................................................................23
Example: Analog channel scanning of voltage inputs and streaming analog outputs......................................................23
Digital I/O.........................................................................................................................................................24
Digital input scanning......................................................................................................................................................24
Digital outputs and pattern generation.............................................................................................................................24
Triggering.........................................................................................................................................................24
Hardware analog triggering .............................................................................................................................................25
Digital triggering..............................................................................................................................................................25
Software-based triggering................................................................................................................................................25
Stop trigger modes...........................................................................................................................................................26
Pre-triggering and post-triggering modes ........................................................................................................................26
Counter inputs ..................................................................................................................................................26
5
USB-1616HS-2 User's Guide
Tips for making high-speed counter measurements (> 1 MHz).......................................................................................27
Mapped channels .............................................................................................................................................................27
Counter modes.................................................................................................................................................................27
Debounce modes..............................................................................................................................................................28
Encoder mode ..................................................................................................................................................................31
Timer outputs....................................................................................................................................................34
Example: Timer outputs...................................................................................................................................................34
Using multiple USB-1616HS-2s per PC ..........................................................................................................35
Detection setpoint overview .............................................................................................................................35
Setpoint configuration......................................................................................................................................................37
Using the setpoint status register......................................................................................................................................37
Examples of control outputs ............................................................................................................................................38
Detection setpoint details.................................................................................................................................................42
FIRSTPORTC, DAC, or timer update latency.................................................................................................................42
Chapter 4
Calibrating the USB-1616HS-2...........................................................................................................44
Chapter 5
Specifications......................................................................................................................................45
Analog input .....................................................................................................................................................45
Accuracy..........................................................................................................................................................................45
Thermocouples ................................................................................................................................................................46
Analog outputs..................................................................................................................................................46
Digital input/output...........................................................................................................................................47
Counters............................................................................................................................................................48
Input sequencer.................................................................................................................................................48
Triggering.........................................................................................................................................................49
Frequency/pulse generators ..............................................................................................................................49
Power consumption ..........................................................................................................................................49
External power..................................................................................................................................................50
USB specifications ...........................................................................................................................................50
Environmental ..................................................................................................................................................50
Mechanical .......................................................................................................................................................50
Signal I/O connectors and pin out ....................................................................................................................50
Declaration of Conformity ..................................................................................................................53
6
Preface

About this User's Guide

What you will learn from this user's guide

This user's guide explains how to install, configure, and use the USB-1616HS-4 so that you get the most out of its analog I/O, thermocouple (TC) input, digital I/O, counter/timer I/O features.
This user's guide also refers you to related documents available on our web site, and to technical support resources.

Conventions used in this user's guide

For more information on …
Text presented in a box signifies additional information and helpful hints related to the subject matter you are reading.
Caution! Shaded caution statements present information to help you avoid injuring yourself and others,
damaging your hardware, or losing your data.
<#:#> Angle brackets that enclose numbers separated by a colon signify a range of numbers, such as those assigned
to registers, bit settings, etc.
bold text Bold text is used for the names of objects on the screen, such as buttons, text boxes, and check boxes. For
example:
1. Insert the disk or CD and click the OK button.
italic text Italic text is used for the names of manuals and help topic titles, and to emphasize a word or phrase. For
example: The InstaCal installation procedure is explained in the Quick Start Guide. Never touch the exposed pins or circuit connections on the board.

Where to find more information

The following electronic documents provide information that can help you get the most out of your USB­1616HS-2.
MCC's Specifications: USB-1616HS-2 (the PDF version of the "Specifications" chapter in this guide) is
available on our web site at www.mccdaq.com/pdfs/USB-1616HS-2.pdf
MCC's Quick Start Guide is available on our web site at
www.mccdaq.com/PDFmanuals/DAQ-Software-Quick-Start.pdf
MCC's Guide to Signal Connections is available on our web site at
www.mccdaq.com/signals/signals.pdf
MCC's Universal Library User's Guide is available on our web site at
www.mccdaq.com/PDFmanuals/sm-ul-user-guide.pdf
MCC's Universal Library Function Reference is available on our web site at
www.mccdaq.com/PDFmanuals/sm-ul-functions.pdf
MCC's Universal Library for LabVIEW™ User’s Guide is available on our web site at
www.mccdaq.com/PDFmanuals/SM-UL-LabVIEW.pdf
.
.
.
.
.
.
USB-1616HS-2 User's Guide (this document) is also available on our web site at
www.mccdaq.com/PDFmanuals/USB-1616HS-2.pdf
.
7
Chapter 1

Introducing the USB-1616HS-2

Overview: USB-1616HS-2 features

The USB-1616HS-2 is supported under popular Microsoft® Windows® operating systems. The USB-1616HS-2 board is a multifunction measurement and control board designed for the USB bus.
The USB-1616HS-2 provides either eight differential or 16 single-ended analog inputs with 16-bit resolution. It offers seven software-selectable analog input ranges of ±10 V, ±5 V, ±2 V, ±1 V, ±0.5 V, ±0.2 V, and ±0.1V. You can configure up to eight of the analog inputs as differential thermocouple (TC) inputs.
The USB-1616HS-2 has two 16-bit, 1 MHz analog output channels with an output range of -10 V to +10 V.
The board has 24 high-speed lines of digital I/O, two timer outputs, and four 32-bit counters. It provides up to 4 MHz scanning on all digital input lines
Six banks of removable screw-terminal blocks provide connectivity to the analog input channels, digital I/O lines, counter/timer channels, and analog outputs.
You can operate all analog I/O, digital I/O, and counter/timer I/O synchronously.
1
.

Software features

For information on the features of InstaCal and the other software included with your USB-1616HS-2, refer to the Quick Start Guide that shipped with your device. The Quick Start Guide is also available in PDF at
www.mccdaq.com/PDFmanuals/DAQ-Software-Quick-Start.pdf
Check www.mccdaq.com/download.htm
for the latest software version.
.
1
Higher rates—up to 12 MHz—are possible depending on the platform and the amount of data being transferred.
8

Installing the USB-1616HS-2

What comes with your USB-1616HS-2 shipment?

As you unpack your USB-1616HS-2, verify that the following components are included.

Hardware

USB-1616HS-2
Chapter 2
USB cable (2-meter length)
TR-2U power supply and CA-1* line cord
AC-to-DC conversion power supply and cord plugs into the external power connector of the USB-1616HS-2.
* European customers: Contact Measurement Computing to order the CA-261 line cord for your region.

Optional components

Expansion devices and cables and that are compatible with the USB-1616HS-2 and must be ordered separately.
If you ordered any of the following products with your device, they should be included with your shipment.
9
USB-1616HS-2 User's Guide Installing the USB-1616HS-2
AI-EXP48
Analog input expansion module adds up to 24 differential or 48 single-ended inputs to the USB-1616HS-2.
CA-96A expansion cable
Expansion cable for connecting to the AI-EXP48 expansion board.

Additional documentation

In addition to this hardware user's guide, you should also receive the Quick Start Guide (available in PDF at
www.mccdaq.com/PDFmanuals/DAQ-Software-Quick-Start.pdf). This booklet supplies a brief description of
the software you received with your USB-1616HS-2 and information regarding installation of that software. Please read this booklet completely before installing any software or hardware.

Unpacking the USB-1616HS-2

As with any electronic device, you should take care while handling to avoid damage from static electricity. Before removing the USB-1616HS-2 from its packaging, ground yourself using a wrist strap or by simply touching the computer chassis or other grounded object to eliminate any stored static charge.
If any components are missing or damaged, notify Measurement Computing Corporation immediately by phone, fax, or e-mail:
Phone: 508-946-5100 and follow the instructions for reaching Tech Support. Fax: 508-946-9500 to the attention of Tech Support Email: techsupport@mccdaq.com

Installing the software

Refer to the Quick Start Guide for instructions on installing the software on the Measurement Computing Data Acquisition Software CD. This booklet is available in PDF at www.mccdaq.com/PDFmanuals/DAQ-Software-
Quick-Start.pdf.
We recommend that you download the latest Windows Update onto your computer before installing and operating the USB-1616HS-2.
10
USB-1616HS-2 User's Guide Installing the USB-1616HS-2

Installing the hardware

To connect the USB-1616HS-2 to your system, turn your computer on, and then do the following:
Connect signal lines to the USB-1616HS-2's removable screw terminal blocks.
o Connect voltage signals as single-ended or differential connections (see Figure 1).
o Connect thermocouple signals as differential connections (see Figure 1). The negative (typically, the
red) thermocouple wire connects to the channel's LO connector, and the other color wire connects to the channel's HI connector.
Always use differential input mode for thermocouple connections.
Figure 1. Single-ended voltage connections (V
and V2) and differential thermocouple connections (V3)
1
If you are using an AI-EXP48 expansion device, connect it to the USB-1616HS-2. Make sure you do not
connect the AI-EXP48 to a live USB-1616HS-2. If the USB cable is connected to the computer, unplug it before you connect the AI-EXP48.
If you are using the TR-2U external supply (sold separately), connect the power supply to the USB-
1616HS-2's external power connector, and plug the other end into a power outlet.
The TR-2U is optional, but can be used in any scenario. You may need a TR-2U
power supply if the USB
port does not provide enough power for your USB-1616HS-2 application.
The USB-1616HS-2 requires 3000 mW by itself, and 3400 mW when connected to the AI-EXP48.
By USB2 standards, USB 2.0 ports are required to provide at least 2500 mW.
Connect the USB cable to the USB-1616HS-2 USB connector and to a USB port on your computer. A
USB2.0 port is recommended—connecting to a USB1.1 port results in lower performance.
When you connect the USB-1616HS-2 for the first time, a
Found New Hardware message opens as the
USB-1616HS-2 is detected. When the message closes, the installation is complete.
The
power LED (bottom LED) blinks during device detection and initialization, and then remains solid if
properly detected. If not, check if the USB-1616HS-2 has sufficient power. When the board is first powered on, there is usually a momentary delay before the power LED begins to blink, or come on solid.
Caution! Do not disconnect any device from the USB bus while the computer is communicating with the
USB-1616HS-2, or you may lose data and/or your ability to communicate with the USB-1616HS-
2.
11
USB-1616HS-2 User's Guide Installing the USB-1616HS-2

Configuring the hardware

All hardware configuration options on the USB-1616HS-2 are software-controlled. You can select some of the configuration options using InstaCal, such as the analog input configuration (16 single-ended or 8 differential channels), and the edge used for pacing when using an external clock. When measuring from thermocouples, make sure you configure the channels for differential mode.
Once selected, any program that uses the Universal Library initializes the hardware according to these selections.
Caution! Turn off power to all devices connected to the system before making connections. Electrical shock
or damage to equipment can result even under low-voltage conditions.
Information on signal connections
General information regarding signal connection and configuration is available in the Guide to Signal Connections. This document is available on our web site at www.mccdaq.com/signals/signals.pdf.
Caution! Always handle components carefully, and never touch connector terminals or circuit components
unless you are following ESD guidelines in an appropriate ESD-controlled area. These guidelines include using properly-grounded mats and wrist straps, ESD bags and cartons, and related procedures.
Avoid touching board surfaces and onboard components. Only handle boards by their edges. Make sure the USB-1616HS-2 does not come into contact with foreign elements such as oils, water, and industrial particulate.
The discharge of static electricity can damage some electronic components. Semiconductor devices are especially susceptible to ESD damage.

Connecting the board for I/O operations

Connectors, cables – main I/O connector

The following table lists the board connectors, applicable cables, and compatible accessory products for the USB-1616HS-2.
Main connector specifications
Main connectors Six banks of removable screw-terminal blocks
Expansion connector 25-pin DSUB, female (DSUB25F)
Compatible cable for the 25-pin expansion connector CA-96A
Compatible accessory product for the 25-pin expansion connector
AI-EXP48 expansion board with screw terminals (can connect to the USB-1616HS-2 directly, or with the CA-96A cable)
12
USB-1616HS-2 User's Guide Installing the USB-1616HS-2

Screw terminal pin outs

USB-1616HS-2 screw terminal pin out – single-ended connections
Analog common (Ad) Digital common (Dd) Analog output 0 (AO0) FIRSTPORTA Bit 0 (A0) Analog output 1 (AO1) FIRSTPORTA Bit 1 (A1)
NC FIRSTPORTA Bit 2 (A2) NC FIRSTPORTA Bit 3 (A3)
Analog Out
Analog In
Analog In
CAL (Reserved for self-calibration) FIRSTPORTA Bit 5 (A5)
Analog common (Ad) FIRSTPORTA Bit 4 (A4)
Signal ground (Sd) FIRSTPORTA Bit 6 (A6)
Digital common (Dd) FIRSTPORTA Bit 7 (A7)
TTL trigger (TRG)
Output scan clock I/O (DPR) Timer 0 (T0)
Input scan clock I/O (APR) Timer 1 (T1)
Analog common (Ad) Digital common (Dd)
CH 0 (0H) FIRSTPORTB Bit 0 (B0)
CH 8 (8L) FIRSTPORTB Bit 1 (B1)
Analog common (Ad) FIRSTPORTB Bit 2 (B2)
CH 1 (1H) FIRSTPORTB Bit 3 (B3)
CH 9 (9L) FIRSTPORTB Bit 4 (B4)
Analog common (Ad) FIRSTPORTB Bit 5 (B5)
CH 2 (2H) FIRSTPORTB Bit 6 (B6)
CH 10 (10L) FIRSTPORTB Bit 7 (B7)
Analog common (Ad)
CH 3 (3H) Counter 0 (CT0)
CH 11 (11L) Counter 1 (CT1)
Analog common (Ad) Digital common (Dd)
CH 4 (4H) FIRSTPORTC Bit 0 (C0)
CH 12 (12L) FIRSTPORTC Bit 1 (C1)
Analog common (Ad) FIRSTPORTC Bit 2 (C2)
CH 5 (5H) FIRSTPORTC Bit 3 (C3)
CH 13 (13L) FIRSTPORTC Bit 4 (C4)
Analog common (Ad) FIRSTPORTC Bit 5 (C5)
CH 6 (6H) FIRSTPORTC Bit 6 (C6)
CH 14 (14L) FIRSTPORTC Bit 7 (C7)
Analog common (Ad)
CH 7 (7H) Counter 2 (CT2)
CH 15 (15L) Counter 3 (CT3)
Port A
Digital common (Dd)
Port B
Digital common (Dd)
Port C
Digital common (Dd)
DIG-Tmr I/O
Dig-Ctr I/O
Dig-Ctr I/O
13
USB-1616HS-2 User's Guide Installing the USB-1616HS-2
5
USB-1616HS-2 screw terminal pin out – differential connections
Analog common (Ab) Digital common (Db)
Analog output 0 (AO0) FIRSTPORTA Bit 0 (A0) Analog output 1 (AO1) FIRSTPORTA Bit 1 (A1)
NC FIRSTPORTA Bit 2 (A2) NC FIRSTPORTA Bit 3 (A3)
Analog Out
Analog In
Analog In
CAL (Reserved for self-calibration) FIRSTPORTA Bit 5 (A5)
Analog common (Ab) FIRSTPORTA Bit 4 (A4)
Signal ground (Sb) FIRSTPORTA Bit 6 (A6)
Digital common (Db) FIRSTPORTA Bit 7 (A7)
TTL trigger (TRG)
Output scan clock I/O (DPR)
Input scan clock I/O (APR)
Analog common (Ab) Digital common (Db)
CH 0 HI (0H) FIRSTPORTB Bit 0 (B0)
CH 0 LO (8L) FIRSTPORTB Bit 1 (B1)
Analog common (Ab) FIRSTPORTB Bit 2 (B2)
CH 1 HI (1H) FIRSTPORTB Bit 3 (B3)
CH 1 LO (9L) FIRSTPORTB Bit 4 (B4)
Analog common (Ab) FIRSTPORTB Bit 5 (B5)
CH 2 HI (2H) FIRSTPORTB Bit 6 (B6)
CH 2 LO (10L) FIRSTPORTB Bit 7 (B7)
Analog common (Ab)
CH 3 HI (3H) Counter 0 (CT0)
CH 3 LO (11L) Counter 1 (CT1)
Analog common (Ab) Digital common (Db)
CH 4 HI (4H) FIRSTPORTC Bit 0 (C0)
CH 4 LO (12L) FIRSTPORTC Bit 1 (C1)
Analog common (Ab) FIRSTPORTC Bit 2 (C2)
CH 5 HI (5H) FIRSTPORTC Bit 3 (C3)
CH 5 LO (13L) FIRSTPORTC Bit 4 (C4)
Analog common (Ab) FIRSTPORTC Bit 5 (C5)
CH 6 HI (6H) FIRSTPORTC Bit 6 (C6)
CH 6 LO (14L) FIRSTPORTC Bit 7 (C7)
Analog common (Ab)
CH 7 HI (7H) Counter 2 (CT2)
CH 7 LO (15L) Counter 3 (CT3)
Port A
Digital common (Db) Timer 0 (T0) Timer 1 (T1)
Port B
Digital common (Db)
Port C
Digital common (Db)
DIG-Tmr I/O
Dig-Ctr I/O
Dig-Ctr I/O

DSUB25F expansion connector

13
2
Figure 2. DSUB25 expansion connector pin out
14
14
1
USB-1616HS-2 User's Guide Installing the USB-1616HS-2

Cabling

Use a CA-96A 25-pin expansion cable (CA-96A expansion cable) to connect to the USB-1616HS-2's 25-pin expansion connector.
Figure 3. CA-96A expansion cable
15

Functional Details

This chapter contains detailed information on all of the features available from the board, including:
a diagram and explanations of physical board components a functional block diagram information on how to use the signals generated by the board diagrams of signals using default or conventional board settings

USB-1616HS-2 components

These USB-1616HS-2 components are shown in Figure 4.
Six removable screw terminal blocks One USB port One external power connector One 25-pin expansion connector Two LED indicators ("Active" and "Power")
Chapter 3
Analog output, calibration, TTL trigger and pacer signal
Analog input, screw terminal blocks
Analog input, screw terminal blocks
Figure 4. USB-1616HS-2 components – front view
16
DSUB25 expansion connector
USB-1616HS-2 User's Guide Functional Details
Device "Active" LED
Counter and digital I/O (port C) screw terminal blocks
External
Counter and digital I/O (port B) screw terminal blocks
"Power" LED
USB connector
Timer and digital I/O (port A) screw terminal blocks
External power connector
Figure 5. USB-1616HS-2 components – rear view
External power connector
Although the USB-1616HS-2 is powered by a USB port on a host PC, an external power connector may also be required to provide sufficient power for the USB-1616HS-2.
Connect the optional TR-2U power supply to the external power supply connector. This power supply provides 9 VDC, 1 A power to the USB-1616HS-2.
17
Loading...
+ 37 hidden pages