Measurement USB-1608GX-2AO-OEM User Manual

USB-1602HS-2AO
Multifunction Synchronous Data
Acquisition Board
User's Guide
© Copyright 2010, Measurement Computing Corporation
HM USB-1602HS-2AO.docx
Your new Measurement Computing product comes with a fantastic extra
Management committed to your satisfaction!
Thank you for choosing a Measurement Computing productand 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.
Limited Lifetime Warranty: Most MCC products are covered by a limited lifetime warranty against defects in materials or workmanship for the life of the product, to the original purchaser, unless otherwise noted. Any products found to be defective in material or workmanship will be repaired, replaced with same or similar device, or refunded at MCC’s discretion. For specific information, please refer to the terms and conditions of sale.
Harsh Environment Program: Any Measurement Computing product that is damaged due to misuse, or any reason, may be eligible for replacement with the same or similar device for 50% of the current list price. I/O boards face some harsh environments, some harsher than the boards are designed to withstand. Contact MCC to determine your product’s eligibility for this program.
30 Day Money-Back Guarantee: Any Measurement Computing Corporation product may be returned 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.
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, 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 in this user’s guide ......................................................................................................................... 7
Where to find more information ......................................................................................................................... 7
Chapter 1
Introducing the USB-1602HS-2AO ...................................................................................................... 8
Overview: USB-1602HS-2AO features .............................................................................................................. 8
Software features ................................................................................................................................................ 8
Chapter 2
Installing the USB-1602HS-2AO .......................................................................................................... 9
What comes with your USB-1602HS-2AO shipment? ....................................................................................... 9
Hardware .......................................................................................................................................................................... 9
Optional components ........................................................................................................................................................ 9
Additional documentation ................................................................................................................................................10
Signal conditioning accessories .......................................................................................................................................10
Unpacking the USB-1602HS-2AO ................................................................................................................... 10
Installing the software ...................................................................................................................................... 11
Installing the hardware ..................................................................................................................................... 11
Connecting the external power supply .............................................................................................................................11
Connecting the USB-1602HS-2AO to your system .........................................................................................................11
Configuring the USB-1602HS-2AO ................................................................................................................. 11
Connecting the board for I/O operations .......................................................................................................... 11
Connectors, cables, and accessory products .....................................................................................................................11
Cabling ............................................................................................................................................................. 13
Field wiring and signal termination .................................................................................................................................13
TB-102 screw terminal board connector to SCSI connector pin out ................................................................................14
Chapter 3
Functional Details ............................................................................................................................... 15
Front panel ........................................................................................................................................................ 15
BNC connectors ...............................................................................................................................................................15
Status LEDs .....................................................................................................................................................................15
Rear panel ......................................................................................................................................................... 15
SCSI connector ................................................................................................................................................................15
External power connector (EXT PWR) ...........................................................................................................................16
USB connector .................................................................................................................................................................16
Analog common ...............................................................................................................................................................16
Mechanical drawing ......................................................................................................................................... 16
Block diagram .................................................................................................................................................. 17
Synchronous analog, digital, and counter sampling ......................................................................................... 17
Input clock pacing ............................................................................................................................................................17
Output clock pacing ................................................................................................ .........................................................18
Analog inputs .................................................................................................................................................... 18
Analog outputs .................................................................................................................................................. 18
Digital I/O ......................................................................................................................................................... 18
Digital input scanning ......................................................................................................................................................18
Internal pull-up/pull-down capability (J14) .....................................................................................................................18
Digital outputs and pattern generation .............................................................................................................................19
5
USB-1602HS-2AO User's Guide
Triggering ......................................................................................................................................................... 20
Hardware-based triggering ...............................................................................................................................................20
Software-based triggering ................................................................................................................................................20
Stop trigger modes ...........................................................................................................................................................21
Pre-triggering and post-triggering modes ........................................................................................................................21
Counter inputs .................................................................................................................................................. 21
Mapped channels .............................................................................................................................................................22
Counter input modes ........................................................................................................................................................22
Debounce function ...........................................................................................................................................................23
Quadrature detectors ......................................................................................................................................... 26
Overview .........................................................................................................................................................................26
Maximizing encoder accuracy .........................................................................................................................................27
Connecting the USB-1602HS-2AO to an encoder ...........................................................................................................27
Timer/pulse generators ..................................................................................................................................... 28
Using detection setpoints for output control ..................................................................................................... 29
Setpoint configuration ......................................................................................................................................................30
Examples of control outputs ............................................................................................................................................31
Controlling analog and digital outputs .............................................................................................................................35
Update latency .................................................................................................................................................................35
Using the setpoint status register......................................................................................................................................36
Chapter 4
Calibrating the USB-1602HS-2AO ..................................................................................................... 37
Chapter 5
Specifications ...................................................................................................................................... 38
Analog input ..................................................................................................................................................... 38
Analog output ................................................................................................................................................... 39
Analog input calibration ................................................................................................................................... 40
Digital inputs .................................................................................................................................................... 40
Digital outputs .................................................................................................................................................. 40
Trigger sources ................................................................................................................................................. 41
Pacing sources .................................................................................................................................................. 42
Counters ............................................................................................................................................................ 43
Timers ............................................................................................................................................................... 43
Quadrature decoders ......................................................................................................................................... 44
Power ................................................................................................................................................................ 44
USB specifications ........................................................................................................................................... 44
Environmental .................................................................................................................................................. 44
Mechanical ....................................................................................................................................................... 45
I/O cables, connectors and accessories ............................................................................................................. 45
Signal I/O connectors ....................................................................................................................................... 45
BNC connectors ...............................................................................................................................................................45
68-pin SCSI connector .....................................................................................................................................................46
Declaration of Conformity .................................................................................................................. 47
6

Preface

About this Users Guide

What you will learn from this users guide

This users guide explains how to install, configure, and use the USB-1602HS-2AO so that you get the most out of its synchronous data acquisition features.
This users guide also refers you to related documents available on our web site, and to technical support resources.

Conventions in this users 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

For additional information relevant to the operation of your hardware, refer to the Documents subdirectory where you installed the MCC DAQ software (C:\Program Files\Measurement Computing\DAQ by default), or search for your device on our website at www.mccdaq.com.
7
Chapter 1

Introducing the USB-1602HS-2AO

Overview: USB-1602HS-2AO features

The USB-1602HS-2AO is a multifunction high-speed measurement and control board supported under popular Microsoft® Windows® operating systems. The device is compatible with both USB 1.1 and USB 2.0 ports, (although the speed of the module maybe limited when using USB 1.1 ports).
The USB-1602HS-2AO provides the following features: Two single-ended 16-bit analog inputs, with one A/D converter per channel.
The maximum sampling rate is 2 MS/s per channel. The input range is software programmable for ±10 V, ±2.5 V, or ±500 mV.
Two synchronous 16-bit ±10 V analog outputs can generate waveforms at 1 MS/s per channel. 16 synchronous digital inputs and 16 synchronous digital outputs Four 16-bit or 32-bit counters (can be configured to be gated) Two timer/pulse generators with pulse width (duty cycle) control Three 16-bit or 32-bit quadrature detectors to measure linear and rotary position
A 68-pin SCSI connector provides connections for all inputs and outputs except for the two analog inputs. Four BNC connectors provide connections for the two analog inputs, and alternate connections for the external pacer clock and external digital trigger input.
The USB-1602HS-2AO samples all analog inputs, digital inputs, and counter inputs simultaneously. You can synchronize AI, AO, and DIO operations at rates of up to 1 MS/s (million samples per second), with aggregate throughput up to 8 MS/s.
You can pace operations with an internal or external clock. A 500 VDC isolation barrier between the field wiring and USB interface reduces signal noise and protects the
board and your computer from ground spikes. The USB 2.0 high-speed driver transfers data at rates up to 480 Mbps.
The device is powered by a 10 Watt regulated external power supply that is included with shipment. Factory and self-calibration tables are stored onboard in EEPROM.

Software features

For information on the features of InstaCal and the other software included with your USB-1602HS-2AO, refer to the Quick Start Guide that shipped with your device.
8

Installing the USB-1602HS-2AO

What comes with your USB-1602HS-2AO shipment?

Hardware

USB-1602HS-2AO
USB cable (2-meter length)
Chapter 2
External power supply and cord – 5 volts, 10 watt AC power adapter. MCC part number PS-5V2AEPS

Optional components

Cables
Standard BNC cable CA-68-3R cable CA-68-3S (3 foot shielded cable) CA-68-6S (6 foot shielded cable)
9
USB-1602HS-2AO User's Guide Installing the USB-1602HS-2AO
CA-68-3R (3-feet)
CA-68-3S (3-feet)
CA-68-6S (6-feet)
Screw termination board with screw terminals
TB-102

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-1602HS-2AO and information regarding installation of that software. Please read this booklet completely before installing any software or hardware.

Signal conditioning accessories

MCC provides signal termination products for use with the USB-1602HS-2AO. Refer to the "Field wiring and signal termination" section for a complete list of compatible accessory products.

Unpacking the USB-1602HS-2AO

As with any electronic device, take care while handling to avoid damage from static electricity. Before removing the USB-1602HS-2AO 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 the USB-1602HS-2AO is 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
For international customers, contact the local distributor where you purchased the USB-1602HS-2AO. Click on this link www.measurementcomputing.com/sales.asp to locate your distributor.
10
USB-1602HS-2AO User's Guide Installing the USB-1602HS-2AO
Parameter
Specification
Connector types
Four standard BNC female connectors for analog input, clock
input, and digital trigger input
68-pin SCSI connector
Compatible cable for the BNC connectors
Standard BNC cable
Compatible cables for the 68-pin SCSI connector
CA-68-3R CA-68-3S or CA-68-6S shielded cable
Compatible accessory products using the CA-68-3R, CA-68-3S, or CA-68-6S cables
TB-102 screw terminal board

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.

Installing the hardware

Power to the USB-1602HS-2AO is provided with the 10 watt AC power adapter (PS-5V2AEPS). The power supply ships with a U.S. plug. Optional interchangeable plugs for international locations are available.

Connecting the external power supply

Connect the AC power adapter cord to the EXT. PWR connector on the device's rear panel, and plug the adapter into an electrical outlet.
The POWER LED on the front panel turns on when the device is detected by the system.
Connect external power before connecting the USB cable to the computer
Connect the external power cable to the USB-1602HS-2AO before connecting the USB cable to the computer. This allows the USB-1602HS-2AO to inform the host computer (when the USB cable is connected) that the board requires minimal power from the computer’s USB port.

Connecting the USB-1602HS-2AO to your system

To connect the USB-1602HS-2AO to your system, turn the computer on, and connect a USB cable from the
USB connector on the rear panel to either a USB port on the computer or external USB hub connected to the
computer. When you connect the USB-1602HS-2AO for the first time, a Found New Hardware message opens as the
device is detected. When the message closes, the installation is complete.

Configuring the USB-1602HS-2AO

All hardware configuration options on the USB-1602HS-2AO are software controlled with the exception of the digital pull-up / pull-down (described below), which is set for pull-up by default. You can select some of the configuration options using InstaCal, such as the analog input range and the trigger source. Once selected, any program that uses the Universal Library will initialize the hardware according to these selections.

Connecting the board for I/O operations

Connectors, cables, and accessory products

The following table lists the board connectors, applicable cables, and compatible accessory products for the USB-1602HS-2AO.
Board connectors, cables, and compatible hardware
11
USB-1602HS-2AO User's Guide Installing the USB-1602HS-2AO
BNC Label
Signal connection
CH0
Analog input 0
CH1
Analog input 1
EXT TRG
External digital trigger input
EXT CLK
External pacer clock input
Signal name
Pin Pin
Signal name
DGND
68
34
DGND
(external pacer clock output) XDPCR
67
33
CTR6 Z
(external pacer clock input) XAPCR
66
32
CTR6 B
DIG TRIG
65
31
CTR6 A
TMR/PWM1
64
30
CTR5 Z
TMR/PWM0
63
29
CTR5 B
CTR3
62
28
CTR5 A
CTR2
61
27
CTR4 Z
CTR1
60
26
CTR4 B
CTR0
59
25
CTR4 A
DOUT15
58
24
DIN15
DOUT14
57
23
DIN14
DOUT13
56
22
DIN13
DOUT12
55
21
DIN12
DOUT11
54
20
DIN11
DOUT10
53
19
DIN10
DOUT9
52
18
DIN9
DOUT8
51
17
DIN8
DOUT7
50
16
DIN7
DOUT6
49
15
DIN6
DOUT5
48
14
DIN5
DOUT4
47
13
DIN4
DOUT3
46
12
DIN3
DOUT2
45
11
DIN2
DOUT1
44
10
DIN1
DOUT0
43
9
DIN0
AGND
42
8
AGND
DAC 1
41
7
+5VPWR
DAC 0
40
6
VCAL (reserved for calibration)
AGND
39
5
AGND
Reserved
38
4
Reserved
AGND
37
3
AGND
Reserved
36
2
Reserved
AGND
35
1
AGND
BNC connectors
The USB-1602HS-2AO has four BNC connectors used to connect the analog input signals, external pacer clock input, and external digital trigger input.
Figure 1. BNC connectors
The signal names for the BNC connectors are listed below:
EXT TRG is equivalent to the DIG TRIG signal on the SCSI connector. EXT CLK is equivalent to the XAPCR signal on the SCSI connector. Connect your signals using a standard BNC cable.
68-pin SCSI connector
The signals that are available on the 68-pin SCSI connector are listed below.
68-pin SCSI connector pin out
Connect your signals using a CA-68-3R cable, or CA-68-3S or CA-68-6S shielded cable.
12
USB-1602HS-2AO User's Guide Installing the USB-1602HS-2AO

Cabling

Use a CA-68-3R 68-pin ribbon expansion cable (Figure 2), or a CA-68-3S (3-foot) or CA-68-6S (6-foot) 68-pin shielded expansion cable (Figure 3) to connect signals to the USB-1602HS-2AO's 68-pin SCSI connector.
Figure 2. CA-68-3R cable
Figure 3. CA-68-3S and CA-68-6S shielded cable
Details on these cables are available at www.mccdaq.com/usb-data-acquisition/USB-1604HS-2AO.aspx.

Field wiring and signal termination

You can use the following Measurement Computing screw terminal board to terminate field signals and route them into the USB-1602HS-2AO board using the CA-68-3R, CA-68-3S, or CA-68-6S cable:
TB-102: Termination board with screw terminals. Details on this product are available on our web site at
www.mccdaq.com/products/screw_terminal_bnc.aspx.
A 19-inch rack mount kit (RM-TB-102) for the TB-102 termination board is also available.
13
USB-1602HS-2AO User's Guide Installing the USB-1602HS-2AO
TB1 screw
terminals
SCSI pin
TB2 screw
terminals
SCSI pin
AGND
1
AGND
35
Reserved
2
Reserved
36
AGND
3
AGND
37
Reserved
4
Reserved
38
AGND
5
AGND
39
VCAL
6
DAC0
40
+5VOUT
7
DAC1
41
AGND
8
AGND
42
DIN0
9
DOUT0
43
DIN1
10
DOUT1
44
DIN2
11
DOUT2
45
DIN3
12
DOUT3
46
DIN4
13
DOUT4
47
DIN5
14
DOUT5
48
DIN6
15
DOUT6
49
DIN7
16
DOUT7
50
DIN8
17
DOUT8
51
DIN9
18
DOUT9
52
DIN10
19
DOUT10
53
DIN11
20
DOUT11
54
DIN12
21
DOUT12
55
DIN13
22
DOUT13
56
DIN14
23
DOUT14
57
DIN15
24
DOUT15
58
CTR4A
25
CTR0
59
CTR4B
26
CTR1
60
CTR4Z
27
CTR2
61
CTR5A
28
CTR3
62
CTR5B
29
TMR/PWM0
63
CTR5Z
30
TMR/PWM1
64
CTR6A
31
DIGTRIG
65
CTR6B
32
XAPCR
66
CTR6Z
33
XDPCR
67
DGND
34
DGND
68
DGND
*
DGND
*
EGND
**
EGND
**

TB-102 screw terminal board connector to SCSI connector pin out

The TB-102 terminal board is shown here. The table below lists how signals on the TB-102 are mapped to the signals on the 68-pin SCSI connector.
Pin mapping between the TB-102 terminal board and the 68-pin SCSI connector
* Extra digital ground connectors ** EGND is connected to the SCSI connector shell.
14

Functional Details

Front panel

Figure 4. USB-1602HS-2AO front panel

BNC connectors

The USB-1602HS-2AO has four BNC connectors that provide connections for the following signals:
Two single-ended analog inputs External digital trigger input External pacer clock input
These signals are also available on the 68-pin SCSI connector.
Chapter 3

Status LEDs

The POWER LED lights up after the device is enumerated by the system. The ACTIVE LED lights up when the USB-1602HS-2AO is transmitting or receiving data.

Rear panel

Figure 5. USB-1602HS-2AO rear panel

SCSI connector

The 68-pin SCSI connector provides connections for all I/O signals except for analog input: Refer to page 12 for the connector pin out.
Two analog outputs (DAC0 and DAC1) 16 digital inputs (DIN1 to DIN15) 16 digital outputs (DOUT1 to DOUT15) Four counters (CTR0 to CTR3). Two counters may be gated. Three quadrature detectors (CTR4 A, B, and Z to CTR6 A, B, and Z) Two timer/pulse outputs (TMR/PWM0 to TMR/PWM1) Digital trigger input (DIG TRIG) Input pacer clock (XAPCR) Output pacer clock (XDPCR) Analog ground (AGND) Digital ground (DGND) Calibration (VCAL) +5V PWR
15
Loading...
+ 33 hidden pages