Agilent U2300A Series USB Multifunction Data Acquisition Devices
Agilent U2300A Series USB Multifunction Data Acquisition Devices
Agilent U2300A Series USB Multifunction Data Acquisition Devices
Users Guide
Agilent Technologies
Notices
Agilent Technologies, Inc., 2006 - 2010 No part of this manual may be reproduced in any form or by any means (including electronic storage and retrieval or translation into a foreign language) without prior agreement and written consent from Agilent Technologies, Inc. as governed by United States and international copyright laws.
Warranty
The material contained in this document is provided as is, and is subject to being changed, without notice, in future editions. Further, to the maximum extent permitted by applicable law, Agilent disclaims all warranties, either express or implied, with regard to this manual and any information contained herein, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Agilent shall not be liable for errors or for incidental or consequential damages in connection with the furnishing, use, or performance of this document or of any information contained herein. Should Agilent and the user have a separate written agreement with warranty terms covering the material in this document that conflict with these terms, the warranty terms in the separate agreement shall control.
Safety Notices
CAUTION
A CAUTION notice denotes a hazard. It calls attention to an operating procedure, practice, or the like that, if not correctly performed or adhered to, could result in damage to the product or loss of important data. Do not proceed beyond a CAUTION notice until the indicated conditions are fully understood and met.
Edition
Fifth Edition, November 9, 2010 Printed in Malaysia Agilent Technologies, Inc. Bayan Lepas Free Industrial Zone, 11900 Penang, Malaysia
Trademark Acknowledgements
Pentium is a U.S. registered trademark of Intel Corporation. Microsoft, Visual Studio, Windows, and MS Windows are trademarks of Microsoft Corporation in the United States and/or other countries.
WA R N I N G
A WARNING notice denotes a hazard. It calls attention to an operating procedure, practice, or the like that, if not correctly performed or adhered to, could result in personal injury or death. Do not proceed beyond a WARNING notice until the indicated conditions are fully understood and met.
Technology Licenses
The hardware and/or software described in this document are furnished under a license and may be used or copied only in accordance with the terms of such license.
II
Safety Information
The following general safety precautions must be observed during all phases of this instrument. Failure to comply with these precautions or with specific warnings elsewhere in this manual violates safety standards of design, manufacture, and intended use of the instrument. Agilent Technologies, Inc. assumes no liability for the customers failure to comply with these requirements.
Safety Symbols
The following symbols indicate the precautions taken to maintain safe operation of the instrument.
Direct current
Warning
Regulatory Markings
The CE mark shows that the product complies with all the relevant European Legal Directives (if accompanied by a year, it signifies when the design was proven).
The CSA mark is a registered trademark of the Canadian Standards Association. A CSA mark with the indicators "C" and "US" means that the product is certified for both the U.S. and Canadian markets, to the applicable American and Canadian standards. The C-tick mark is a registered trademark of the Spectrum Management Agency of Australia. This signifies compliance with the Australian EMC Framework regulations under the terms of the Radio Communications Act of 1992.
III
WA R N I N G
Do not use the device if it is damaged. Before you use the device, inspect the case. Look for cracks or missing plastic. Do not operate the device around explosive gas, vapor, or dust. Do not apply more than the rated voltage (as marked on the device) between terminals, or between terminal and external ground. Always use the device with the cables provided. Observe all markings on the device before connecting to the device. Turn off the device and application system power before connecting to the I/O terminals. When servicing the device, use only specified replacement parts. Do not operate the device with the removable cover removed or loosened. Do not connect any cables and terminal block prior to performing self-test process. Use only the power adapter supplied by the manufacturer to avoid any unexpected hazards.
CAUTION
Do not load the output terminals above the specified current limits. Applying excessive voltage or overloading the device will cause irreversible damage to the circuitry. Applying excessive voltage or overloading the input terminal will damage the device permanently. If the device is used in a manner not specified by the manufacturer, the protection provided by the device may be impaired. Always use dry cloth to clean the device. Do not use ethyl alcohol or any other volatile liquid to clean the device. Do not permit any blockage of the ventilation holes of the device.
IV
In This Guide...
1 Getting Started provides an overview of the U2300A Series, the product outlook,
product dimension, and product layout. This chapter also contains the instructions on getting started with the U2300A Series from system requirements checking to installations of hardware and software to the launching of the Agilent Measurement Manager application software.
4 5
Calibration introduces the procedures to perform the calibration process for the U2300A Series DAQ devices to minimize A/D measurement errors and D/A output errors.
VI
DECLARATION OF CONFORMITY
According to ISO/IEC Guide 22 and CEN/CENELEC EN 45014
Generic example
Agilent Technologies Microwave Products (M) Sdn. Bhd Bayan Lepas Free Industrial Zone, 11900, Bayan Lepas, Penang, Malaysia
Declares under sole responsibility that the product as originally delivered Product Name: Models Number: Product Options: Agilent U2300A Series Multifunction USB Data Acquisition(DAQ) device U2331A, U2351A, U2352A, U2353A, U2354A, U2355A, U2356A This declaration covers all options of the above product(s)
complies with the essential requirements of the following applicable European Directives, and carries the CE marking accordingly: Low Voltage Directive (73/23/EEC, amended by 93/68/EEC) EMC Directive (89/336/EEC, amended by 93/68/EEC) and conforms with the following product standards: EMC Standard
IEC 61326-1:1997+A1:1998 / EN 61326-1:1997+A1:1998 CISPR 11:1990 / EN55011:1991 IEC 61000-4-2:1995+A1:1998 / EN 61000-4-2:1995 IEC 61000-4-3:1995 / EN 61000-4-3:1995 IEC 61000-4-4:1995 / EN 61000-4-4:1995 IEC 61000-4-5:1995 / EN 61000-4-5:1995 IEC 61000-4-6:1996 / EN 61000-4-6:1996 IEC 61000-4-11:1994 / EN 61000-4-11:1994
Limit
Class A Group 1 4 kV CD, 8 kV AD 3 V/m, 80-1000 MHz 0.5 kV signal lines, 1 kV power lines 0.5 kV line-line, 1 kV line-ground 3 V, 0.15-80 MHz 1 cycle / 100%
Canada: ICES-001:1998 Australia/New Zealand: AS/NZS 2064.1 The product was tested in a typical configuration with Agilent Technologies test systems.
Safety
IEC 61010-1:2001 / EN 61010-1:2001 Canada: CSA C22.2 No. 61010-1:2004 USA: UL 61010-1: 2004
20-October-2006
Date
For further information, please contact your local Agilent Technologies sales office, agent or distributor, or Agilent Technologies Deutschland GmbH, Herrenberger Strae 130, D 71034 Bblingen, Germany.
U2300 series
Rev 1.0
VII
Product Regulations EMC Performance Criteria U2331A, U2351A, U2352A U2353A, U2354A, U2355A, U2356A B A B B A C
IEC 61326-1:1997+A1:1998 / EN 61326-1:1997+A1:1998 CISPR 11:1990 / EN 55011:1991 Group 1 Class A IEC 61000-4-2:1995+A1:1998 / EN 61000-4-2:1995 (ESD 4kV
1kV line-earth)
IEC 61000-4-5:1995 / EN 61000-4-5:1995 (Surge 0.5kV line-line,
1kV line-earth)
IEC 61000-4-6:1996 / EN 61000-4-6:1996 (3V, 0.15~80 MHz,
100%) Canada: ICES-001:1998 Australia/New Zealand: AS/NZS 2064.1 Safety IEC 61010-1:2001 / EN 61010-1:2001 Canada: CSA C22.2 No. 61010-1:2004 USA: UL 61010-1: 2004
Additional Information:
The product herewith complies with the essential requirements of the Low Voltage Directive 73/23/EEC and the EMC Directive 89/336/EEC (including 93/68/EEC) and carries the CE Marking accordingly (European Union).
1
Performance Criteria:
A Pass - Normal operation, no effect. B Pass - Temporary degradation, self recoverable. C Pass - Temporary degradation, operator intervention required. D Fail - Not recoverable, component damage. N/A Not applicable
Models Description:
U2331A USB 64SE/32DI, 12bits, 3MSa/s Multifunction USB DAQ U2351A USB 16SE/8DI, 16bits, 250kSa/s Multifunction USB DAQ U2352A USB 16SE/8DI, 16bits, 250kSa/s Multifunction USB DAQ (without Analog output) U2353A USB 16SE/8DI, 16bits, 500kSa/s Multifunction USB DAQ U2354A USB 16SE/8DI, 16bits, 500kSa/s Multifunction USB DAQ (without Analog output) U2355A USB 64SE/32DI, 16bits, 250kSa/s Multifunction USB DAQ U2356A USB 64SE/32DI, 16bits, 500kSa/s Multifunction USB DAQ
Notes:
VIII
Contents
1 Getting Started Introduction 2 Product Overview 3 Product outlook 3 Product dimension 4 Standard Purchase Items Checklist 6 Software Installation 7 A. Check Your System Requirements 8 B. Install the Agilent IO Libraries Suite 9 C. Install the Hardware Driver 10 D. Install the Agilent Measurement Manager 13 E. Connect Your Device to the PC 17 F. Launch Your Agilent Measurement Manager 20 L-Mount Kit Installation 21 General Maintenance 23
Connector Pins Configuration Connector Pins Configuration 26 Analog Input Signal Connection 33 Types of signal sources 33 Input configurations 34
IX
Contents
Features and Functions Features Overview 40 Analog Input Operation Mode 41 Scan list (for continuous mode only) 45 Burst mode 46 A/D data conversion 47 AI data format 50 Analog Output Operation Mode 52 D/A reference voltage 56 AO data format 56 Digital I/O 59 General Purpose Digital Counter 62 Trigger Sources 68 Trigger types 69 Digital trigger 72 Analog trigger 73 SCPI Programming Examples 76 Analog input 76 Analog output 79
Characteristics and Specifications Product Characteristics 82 Product Specifications 83 Basic multifunction DAQ device specifications 83 High density multifunction DAQ device specifications 88 Electrical Measurement Specifications 92 Basic multifunction USB DAQ device specifications 92 High density multifunction USB DAQ device specifications 94
Contents
Calibration Self-Calibration 96
XI
Contents
XII
List of Figures
Figure 2-1 Floating source and RSE input connections 34 Figure 2-2 Ground-referenced sources and NRSE input connections 35 Figure 2-3 Ground-referenced source and differential input mode 36 Figure 2-4 Floating source and differential input 37 Figure 3-1 Functional block diagram of U2300A series DAQ device 42 Figure 3-2 Burst mode enabled and disabled during data acquisition 46 Figure 3-3 Analog output operation mode 52 Figure 3-4 General purpose digital I/O of Agilent U2300A series DAQ 59 Figure 3-5 General purpose digital counter 62 Figure 3-6 Totalizer mode 63 Figure 3-7 Pre-trigger 69 Figure 3-8 Middle-trigger 70 Figure 3-9 Post-trigger 71 Figure 3-10 Delay-trigger 72 Figure 3-11 Positive and negative edge of digital trigger. 72 Figure 3-12 Above high trigger condition 73 Figure 3-13 Below low trigger condition 74 Figure 3-14 Window trigger condition 75 Figure 4-1 Operational common mode voltage range 87
XIII
XIV
List of Tables
68-pin VHDCI connector pins descriptions 30 SSI connector pins descriptions 31 Analog input operation overview 42 Structure of a scan list with four entries 45 Analog input range and digital code output for bipolar 50 Table 3-4 Analog input range and digital code output for unipolar 50 Table 3-5 Analog input range and digital code output for bipolar 51 Table 3-6 Analog input range and digital code output for unipolar 51 Table 3-7 Analog output operation overview 53 Table 3-8 Digital code and voltage output table for bipolar setting (U2331A, U2355A and U2356A) 57 Table 3-9 Digital code and voltage output table for unipolar setting (U2331A, U2355A and U2356A) 57 Table 3-10 Digital code and voltage output table for bipolar setting (U2351A and U2353A) 58 Table 3-11 Digital code and voltage output table for unipolar setting (U2351A and U2353A) 58 Table 3-12 Trigger type for single-shot acquisition of continuous mode 68 Table 3-13 Trigger type for continuous acquisition of continuous mode 68 Table 4-1 Analog input product specifications for basic multifunction DAQ device 83 Table 4-2 Analog output product specifications for basic multifunction DAQ device 84 Table 2-1 Table 2-2 Table 3-1 Table 3-2 Table 3-3
XV
Table 4-3 Digital I/O product specifications for basic multifunction DAQ device 84 Table 4-4 General purpose digital counter product specifications for basic multifunction DAQ device 85 Table 4-5 Analog trigger product specifications for basic multifunction DAQ device 85 Table 4-6 Digital trigger product specifications for basic multifunction DAQ device 85 Table 4-7 Calibration product specifications for basic multifunction DAQ device 86 Table 4-8 General product specifications for basic multifunction DAQ device 86 Table 4-9 Analog input product specifications for high density multifunction DAQ device 88 Table 4-10 Analog output product specifications for high density multifunction DAQ device 89 Table 4-11 Digital I/O product specifications for high density multifunction DAQ device 89 Table 4-12 General purpose digital counter product specifications for high density multifunction DAQ device 90 Table 4-13 Analog trigger product specifications for high density multifunction DAQ device 90 Table 4-14 Digital trigger product specifications for high density multifunction DAQ device 90 Table 4-15 Calibration product specifications for high density multifunction DAQ device 91 Table 4-16 General product specifications for high density multifunction DAQ device 91 Table 4-17 Analog input electrical measurement specifications for basic multifunction USB DAQ device 92 Table 4-18 Analog output electrical measurement specifications for basic multifunction USB DAQ device 92 Table 4-19 Analog input electrical measurement specifications for high density multifunction USB DAQ device 94
XVI
Table 4-20 Analog output electrical measurement specifications for high density multifunction USB DAQ device 94 Table 4-20 Analog output electrical measurement specifications for high density multifunction USB DAQ device 94
XVII
XVIII
Agilent U2300A Series USB Multifunction Data Acquisition Devices Users Guide
1 Getting Started
Introduction 2 Product Overview 3 Product outlook 3 Product dimension 4 Terminal Block Overview 5 Standard Purchase Items Checklist 6 Software Installation 7 A. Check Your System Requirements 8 B. Install the Agilent IO Libraries Suite 9 C. Install the Hardware Driver 10 D. Install the Agilent Measurement Manager 13 E. Connect Your Device to the PC 17 F. Launch Your Agilent Measurement Manager 20 L-Mount Kit Installation 21 General Maintenance 23
This chapter provides an overview of the U2300A series, the product outlook, product dimension, and product layout. This chapter also contains instructions on how to get started with the U2300A series that begins from system requirements checking to installations of hardware and software to the launching of the Agilent Measurement Manager application software.
Agilent Technologies
Getting Started
Introduction
The Agilent U2300A series USB multifunction data acquisition (DAQ) devices can operate as a standalone unit or modular unit (when used in a chassis). The U2300A series consists of basic multifunction models (U2351A, U2352A, U2353A, and U2354A) and high density multifunction models (U2355A, U2356A, and U2331A). The basic multifunction DAQ can sample up to 500 kSa/s with a resolution of 16 bits. Whereas, the high density multifunction DAQ is able to sample up to 3 MSa/s for a single channel and up to 1 MSa/s for multiple channels. This makes it ideal when dealing with high- density analog input/output signals and different input ranges. The U2300A series DAQ also features a 24- bit programmable digital I/O and two independent 31- bit general purpose digital counter. In addition to that, the U2300A is able to perform analog and digital functions at full speed. It has a resolution range of 12 to 16 bits, with no missing codes. It comes with self calibration capability. This enables the device to readjust its offset within the specified accuracies and ranges. The U2300A series DAQ devices are compatible with a wide range of Application Development Environment (ADE), such as Agilent VEE, LabVIEW and Microsoft Visual Studio. Bundled with the purchase of every device is an easy- to- use data logging software, the Agilent Measurement Manager.
Getting Started
Product Overview
Product outlook
Top view
Plastic Casing
Front view
Connector 1 AI/AO Indicator Power Indicator Connector 2
Rear view
Getting Started
Product dimension
174.54 mm 182.40 mm
Front view
Front view
25.00 mm 44.00 mm
120.00 mm
105.00 mm
Getting Started
85.20 mm
103.00 mm
Side view
42.96 mm 28.40 mm
Getting Started
Getting Started
Software Installation
If you would like to use the U2300A series USB DAQ devices with the Agilent Measurement Manager application software, follow the step- by- step instructions as shown in the following flowchart.
NOTE
If you do not wish to specifically use the device with the Agilent Measurement Manager software but you intent to use it on other ADEs (e.g. Agilent VEE, LabVIEW, MATLAB or Microsoft Visual Studio), you can skip steps D and F in the following flowchart.
You may be required to install the IVI-COM driver before using the U2300A series with other ADEs.
D. Install the Agilent Measurement Manager D. Install the Agilent Measurement Manager
F. Launch Your Agilent Measurement Manager F. Launch Your Agilent Measurement Manager
Getting Started
1.6 GHz Pentium IV or higher Windows XP Professional or Home Edition (Service Pack 1 or later), Windows 2000 Professional (Service Pack 4 or later) Microsoft Internet Explorer 5.01 or higher 512 MB or higher recommended 1 GB Agilent IO Libraries Suite 14.21 or higher Agilent T&M Toolkit 2.1 Runtime version2 Microsoft.NET Framework version 1.1 and 2.02 Agilent T&M Toolkit Redistributable Package 2.1 patch2
Video
1 Available in Agilent Automation-Ready CD. 2 Bundled with Agilent Measurement Manager application software installer
Getting Started
NOTE
You must have Administrator privileges to install Agilent IO Libraries Suite and to run Connection Expert.
1 Verify that your PC meets the minimum system requirements. (See A. Check Your System Requirements on page 8.) 2 If you are upgrading to IO Libraries Suite from a previous version of IO Libraries, you must remove the instruments and interfaces listed below before you upgrade your software. This step is necessary in order for these devices to obtain the correct drivers to work with Agilent IO Libraries Suite. a Disconnect any USB instruments from your PC. b Disconnect any Agilent 82357 USB/GPIB interface converters from your PC. c Disconnect any Agilent E8491 IEEE 1394 PC Link to VXI interfaces from your PC. 3 Close all other applications on your PC. 4 Insert the Agilent Automation- Ready CD with Agilent IO Libraries Suite into the CD- ROM drive of your PC. Wait a few seconds for the auto- run window to appear. If the auto- run window does not appear automatically, Click Start > Run... and type <drive>:\autorun\ auto.exe, where <drive> is your CD drive letter. 5 When the auto- run window appears, click Install Software once, and wait for the InstallShield Wizard to appear. 6 When the InstallShield Wizard appears, click Next > to begin the IO Libraries Suite software installation. Follow the instructions in the InstallShield Wizard and choose the options according to your preferences. For more information to install the Agilent IO Libraries Suite, refer to Agilent Technologies USB/LAN/GPIB Interfaces Connectivity Guide available in the Agilent Automation- Ready CD with the file name called connectivity_guide.pdf.
Getting Started
1 Insert the Agilent USB Modular Instrument Product Reference CD- ROM into the CD- ROM drive of your PC. 2 The installer will automatically launch the Agilent Modular Products Installation Menu. Select Hardware Driver to begin the hardware driver installation.
3 If the menu does not launch automatically, go to Start > Run (on the Windows Start menu) and type <drive>:\Driver\ Hardware\setup_hw.exe, where drive is your CD- ROM drive. Click OK to begin installation. 4 The following dialog will appear. Click Next > to begin the installation.
10
Getting Started
5 If you have previous hardware driver version, the dialog box will have the Modify, Repair and Remove options as shown below. Choose the option you like and click Next > to proceed.
11
Getting Started
6 If you do not previously install any hardware driver, the following dialog box will be shown. Select Typical to install the all the features, otherwise select Custom to choose which program features you want to install. Click Next > to proceed.
7 Choose the option you like and the following dialog will appear showing all the components that will be installed. Click Install to begin installation.
12
Getting Started
1 Verify that you have the hardware driver installed. 2 Select Measurement Manager on the Agilent Modular Products Installation Menu to begin the installation.
13
Getting Started
3 If the installation menu does not appear after a few seconds, go to Start > Run (on the Windows Start menu) and type <drive>:\Application\Modular Instruments Measurement Manager\setup.exe, where drive is your CD- ROM drive. 4 Click OK to begin installation. 5 If you do not have the Agilent T&M Toolkit 2.1 Runtime version, Microsoft .NET Framework version 1.1 and 2.0, and Agilent T&M Toolkit Redistributable Package 2.1 patch installed, the InstallShield Wizard software pre- requisite will appear as shown in the following figure.
14
Getting Started
NOTE
If you have Agilent VEE installed, you may need to install the Agilent T&M Toolkit 2.1 Runtime version manually.
Click Start > Run... Type <drive>:Utilities\Agilent T&M Toolkit Redistributable Package 2.1\setup.exe, where <drive> is your CD drive letter.
7 Once the above installation is completed, installation of the Agilent Measurement Manager software will proceed as normal. 8 Follow the instructions on your screen to proceed with the Agilent Measurement Manager software installation. 9 When the InstallShield Wizard appears, click Next > to begin the Agilent Measurement Manager installation. 10 Read the License Agreement carefully. If you accept the terms, select the radio button that labeled I accept the terms in the license agreement and click Next > to continue.
15
Getting Started
11 Type in your user name in the User Name text box and organization name in the Organization text box. If there are more than one person using the same computer, select the radio button that labeled Anyone who uses this computer, otherwise select radio button labeled Only for me. 12 The default location to install the software is C:\Program Files\Agilent\Measurement Manager 1.4\. If you prefer to install the software to other location, click Change... to change the destination of the folder. When you are done, Click Next > to continue. 13 If you are ready to install the Agilent Measurement Manager, click Install to begin installation. 14 Click Finish when the installation has completed. A shortcut for this software will be created on your desktop.
USING THE LICENSED MATERIALS INDICATES YOUR ACCEPTANCE OF THE LICENSE TERMS. IF YOU DO NOT AGREE TO ALL OF THESE TERMS, YOU MAY RETURN ANY UNOPENED LICENSED MATERIALS FOR A FULL REFUND. IF THE LICENSED MATERIALS ARE BUNDLED OR PRE-LOADED WITH ANOTHER PRODUCT, YOU MAY RETURN THE ENTIRE UNUSED PRODUCT FOR A FULL REFUND.
NOTE
16
Getting Started
5 Select Install the software automatically (Recommended) and click Next. 6 A warning message will appear in Hardware Installation window, as shown below. Click Continue Anyway to proceed with the installation of the driver.
17
Getting Started
NOTE
If you do not wish to receive similar warning message in future, follow the instructions below. 1 Go to Start > Control Panel and double-click System. 2 Select Hardware tab and on the Drivers panel click Driver Signing. The Driver Signing Options dialog box will appear. 3 Select Ignore to disable the warning message.
7 Click Finish to complete the installation. 8 When installation has been completed, the Assign USB device alias window will appear. Each time a USB device is plugged in, this dialog box will appear. To configure or disable this dialog, select an option in the Show this dialog panel and click OK.
18
Getting Started
NOTE
Before proceeding, you may verify your connected device using Agilent Connection Expert.
19
Getting Started
1 Double- click the Agilent Measurement Manager software icon on your desktop or go to Start > All Programs > Agilent > Modular Products > Measurement Manager to launch the software. 2 The Select USB Device dialog box will appear. It will show all the devices that are connected to your PC. To start the application, select a DAQ device and click OK to establish the connection.
20
Getting Started
2 Remove your DAQ device from its plastic casing by pulling the bumper (front end of the casing) in an outward direction. Then, lift the plastic body casing and remove it from your DAQ device.
Using a Philips screw driver, screw the L- Mount kit to your DAQ device.
21
Getting Started
To slot in the DAQ module to your chassis, turn your DAQ module perpendicularly and ensure that the 55- pin backplane connector is at the bottom side of the DAQ module.
22
Getting Started
General Maintenance
NOTE
Repair or service which are not covered in this manual should only be performed by qualified personnel.
To remove the dirt or moisture of the DAQ device, follow the instructions below. 1 Power off your DAQ device and remove the AC/DC adapter cord and I/O cable from your device. 2 Remove your DAQ device from its plastic casing by pulling at the bumper (front end of the casing) in an outward direction. Then, lift the plastic body casing and remove it from your DAQ device. 3 Holding your DAQ device, shake out any dirt that may have accumulated on the panel of your DAQ device. 4 Wipe your DAQ device with a dry cloth.
23
Getting Started
24
This chapter describes the connector pins configuration of the U2300A series USB DAQ and the signal connection between the U2300A and external devices.
Agilent Technologies
25
26
NOTE
27
NOTE
28
NOTE
29
Table 2-1 68-pin VHDCI connector pins descriptions Direction Reference Description Ground AI_GND N/A N/A Analog input (AI) ground. All three ground references (AI_GND, AO_GND, and D_GND) are connected together on board. U2351A/U2352A/U2353A/U2354A For 16 Channels: AI<101..116> Input AI_GND Analog input channels 101~116. Each channel pair, AI<i, i+8>(i = 101..108), can be configured either as two single-ended inputs or one differential input (marked as AIH<101..108> and AIL<101..108>). Signal Name
AI_SENSE
Input
AI_GND
EXTA_TRIG AO201 AO202 AO_EXT_REF AO_GND EXTD_AO_TRIG EXTD_AI_TRIG RESERVED COUNT<301,302>_CLK COUNT<301,302>_GATE COUNT<301,302>_OUT COUNT<301,302>_UPDOWN EXT_TIMEBASE D_GND DIO501<7,0> DIO502<7,0>
Input Output Output Input N/A Input Input Output Input Input Input Input Input N/A PIO PIO
AI_GND AO_GND AO_GND AO_GND N/A D_GND D_GND N/A D_GND D_GND D_GND D_GND D_GND N/A D_GND D_GND
U2331A/U2356A/U2355A Analog input channels 101~164). Each channel pair, AI<i, i+32> (i = 101..132), is configured either as two single-ended inputs or one differential input (marked as AIH<101..132> and AIL<101..132>) Analog input sense. The reference pin for any AI<101..116> or AI<101..164> channels in NRSE input configuration. External AI analog trigger Analog output channel 1 Analog output channel 2 External reference for AO channels Analog ground for AO External AO waveform trigger External AI digital trigger Reserved pins. Do not connect them to any signal. Source of counter <301,302> Gate of counter <301,302> Output of counter <301,302> Up/Down of counter <301,302> External Timebase Digital ground Programmable DIO of Channel 501 Programmable DIO of Channel 502
30
DIO503<4,0> DIO504<4,0>
PIO PIO
D_GND D_GND
NOTE
The 55-pin backplane connector is used when the DAQ devices are used as modular with the modular instrument chassis. For more detail, refer to Agilent U2781A USB Modular Instrument Chassis Users Guide.
31
32
33
Input configurations
Single-ended connections
A single- ended connection is applicable when the analog input signal is referenced to a ground and can be shared with other analog input signals. There are two different types of single- ended connections, which are RSE and NRSE configuration. Referenced Single-Ended (RSE) mode In referenced single- ended mode, all the input signals are connected to the ground provided by the U2300A series DAQ and suitable for connections with floating signal sources. The following figure illustrates the RSE mode.
NOTE
When more than two floating sources are connected, these sources are referenced to the same common ground.
34
Non-Referenced Single-Ended (NRSE) Mode In NRSE mode, the DAQ device does not provide the grounding point. The ground reference point is provided by the external analog input signal. You can connect the signals in NRSE mode to measure ground- referenced signal sources, which are connected to the same grounding point. The following figure illustrates the connection. The signal local ground reference is connected to the negative input of the instrumentation Amplifier (AI_SENSE pin on connector1). Hence, any potential difference of the common mode ground between signal ground and the signal ground on DAQ board will be rejected by the instrumentation amplifier.
35
36
The following figure illustrates the connection of a floating signal source to the U2300A series DAQ in differential input mode. For floating signal sources, additional resistor is needed at each channel to provide a bias return path. The resistor value is equivalent to about 100 times the source impedance. If the source impedance is less than 100 , you can connect the negative polarity of the signal directly to AI_GND, as well as the negative input of the Instrumentation Amplifier. The noise couples in differential input mode are less compared to the single- ended mode.
NOTE
Agilent U2300A series DAQ is designed with high input impedance. Please ensure that all the connection are connected properly before acquiring any data. Failing to do so may cause data fluctuation or erroneous readings. Unused pins at multiplexing DAQ inputs can be treated as floating source with infinite input impedance. Therefore, necessary grounding system is required in user application system.
37
38
This chapter describes the features and functions of the U2300A series USB DAQ devices. This includes the operations of the analog input operation mode, analog output operation mode, digital I/O, and general purpose digital counter. This chapter also explains the trigger sources.
Agilent Technologies
39
Features Overview
U2351A/U2352A/U2355A
16- bit analog input resolution with sampling rate of 250 kSa/s 16- bit analog input resolution with sampling rate of 500 kSa/s 12- bit analog input resolution with sampling rate up to 3 MSa/s per single channel
U2353A/U2354A/U2356A
U2331A
Resolution of 12- bit and 16- bit with no missing codes. Up to 64 single- ended (SE) inputs or 32 differential inputs (DI). Up to 100 selectable analog input channels for sequencing scanning. Programmable bipolar and unipolar analog input. Self- calibration supported. USBTMC 488.2 compliant. Hi- Speed USB 2.0 interface. Multiple trigger sourcesnone (intermediate trigger), external analog/digital trigger, and SSI/star trigger (used with modular chassis).
40
41
Figure 3-1 Functional block diagram of U2300A series DAQ device There are two different modes of analog input operation, which are the polling and continuous. Table 3-1 Analog input operation overview
Operation Analog Input Modes Polling Mode Continuous Mode Types of Acquisition Single A/D data acquisition Single-shot acquisition Continuous acquisition
42
Polling mode
This is the easiest way to acquire a single A/D data. The A/D converter starts converting one reading whenever the dedicated SCPI command is executed. This mode is well suited in applications that needs to process A/D data in real time. In this mode, the timing of the A/D conversion is fully controlled by the software. However, it is difficult to control the A/D conversion rate. In polling mode, the properties of the measured signal should be defined. The properties are range, polarity (unipolar/bipolar) and signal type. Signal type consists of RSE, NRSE and DIFF. The default polarity is bipolar. The SCPI command for performing the polling mode measurement is under MEASure subsystem.
NOTE
For more information on MEASure subsystem, refer to the Agilent U2300A Series Multifunction USB Data Acquisition Programming Guide.
Continuous mode
Continuous mode is divided into two types, single- shot and continuous acquisition. In single- shot acquisition, the data is acquired at a specified sample points and processed once. On the other hand, the continuous acquisition allows you to acquire data continuously until a STOP command is sent. The SCPI commands below are used to start the acquisition process: Single- shot acquisition: DIGitize Continuous acquisition: RUN
43
Sampling rate
Specify the sampling rate of each AI channel. Since the U2300A series DAQ devices comes with multiplexing analog input, the maximum sampling rate depends on the ADCs sampling rate and the entry number in the scan list. For example, if four channels are specified in the scan list of the U2356A, the maximum sampling rate is actually 500 kSa/s divided by four, which is 125 kSa/s for each channel. However, in the U2331A, the maximum sampling rate is only up to 1 MSa/s when switching of multiple channels is enabled.
Sample points
Specify the number of acquisition points for the channel. For example, if 800 sample points and four channels are specified in the scan list, there will be total of 3200 samples to be acquired.
NOTE
The maximum sample points for single-shot acquisition are 8 MSa and for continuous acquisition is 4 MSa, where both types of acquisitions are of continuous input mode.
44
45
Burst mode
The DAQ device is equipped with BURST mode. This mode enables the DAQ device to simulate in simultaneous mode. It would perform sampling measurement in the highest speed of the product capabilities. The following figure illustrates an example of burst mode.
Example:
Sampling rate: 1 kSa/s Number of sampling channels: three Scan list sequence: 101, 102, 103
Figure 3-2 Burst mode enabled and disabled during data acquisition
46
CH 101
CH 102
CH 103
CH 101
47
Hence, the 16 bits binary read back calculation will be as follows. LSB MSB <11100000> <00110001> = 12768
NOTE
The raw data provided by U2300A series DAQ devices is in the byte order of LSB first.
Bipolar:
2 Int16 value Converted value = ------------------------------------- Range resolution 2 2 12768 Example of converted value = ----------------------- 10 = 3.896 V 16 2
Unipolar:
Int16 value Converted value = ---------------------------- + 0.5 Range resolution 2 12768 Example of converted value = -------------- + 0.5 10 = 6.948 V 16 2
NOTE
The converted value is of float type. As such, you may need to type cast the Int16 value to float in your programming environment.
To perform a sample calculation of the conversion, take the U2331A as an example. The resolution of U2331A is 12 bits and the range is taken as 10 V. The Int12b value calculated using conversion algorithm is 12768. LSB MSB <11100000> <00110001> = 12768
48
unused bits in the 12- bit data format. there is a need to perform a 4- bit right shift Hence, the 12 bits binary read back calculation follows.
NOTE
The raw data provided by U2300A series DAQ devices is in the byte order of LSB first.
Bipolar:
2 Int16 value Converted value = ------------------------------------- Range resolution 2 2 798 Example of converted value = ----------------- 10 = 3.896 V 12 2
Unipolar:
Int16 value Converted value = ---------------------------- + 0.5 Range resolution 2 798 Example of converted value = -------- + 0.5 10 = 6.948 V 12 2
NOTE
The converted value is of float type. As such, you may need to type cast the Int12 value to float in your programming environment. For the U2331A, there is a need to perform a 4-bit right shift operation. This is because it is equipped with 12-bit ADC, and the last 4 bits are truncated.
49
AI data format
12-bit AI range
The following Table 3- 3 and Table 3- 4 describes the U2331A ideal transfer characteristics of the bipolar and unipolar analog input ranges.
NOTE
The AI resolution of the U2331A is 12 bits. The four lowest bits are truncated. In the tables below, X refers to four unused bits.
Table 3-3 Analog input range and digital code output for bipolar
Description
Full-scale Range (FSR) Least significant bit (LSB) FSR1LSB Midscale +1LSB Midscale Midscale 1LSB FSR
Table 3-4 Analog input range and digital code output for unipolar
Description
Full-scale Range (FSR) Least significant bit (LSB) FSR1LSB Midscale +1LSB Midscale Midscale 1LSB FSR
50
16-bit AI range
The following Table 3- 5 and Table 3- 6 describes the ideal transfer characteristics of bipolar and unipolar input ranges of the U2351A, U2352A, U2353A, U2354A, U2355A, and U2356A models. Table 3-5 Analog input range and digital code output for bipolar
Description
Full-scale Range (FSR) Least significant bit (LSB) FSR1LSB Midscale+1LSB Midscale Midscale1LSB FSR
9.999695 4.999847 2.499924 1.249962 V V V V 305.2 V 0V 305.2 V 10 V 152.6 V 0V 152.6 V 5 V 76.3 V 0V 76.3 V 2.5 V 38.15 V 0V 38.15 V 1.25 V
Table 3-6 Analog input range and digital code output for unipolar
Description
Full-scale Range (FSR) Least significant bit (LSB) FSR 1LSB Midscale +1LSB Midscale Midscale 1LSB FSR
4.999847 V 2.499924 V 0V 0V
51
52
-> SOUR:VOLT 2.5, (@201) -> SOUR:VOLT 3.2, (@201) -> SOUR:VOLT 3.2, (@201) -> SOUR:VOLT? (@202) <- 0
53
-> SOUR:VOLT 3.5, (@201) // Set 3.5 VDC output to CH 201 -> SOUR:VOLT 8.1, (@202) // Set 8.1 VDC output to CH 202
NOTE
For further information, refer to the Agilent U2300A Series USB Multifunction Data Acquisition Programming Guide.
54
<- 4000 -> OUTP OFF -> OUTP:WAV:FREQ 5000 -> OUTP ON
// Default output waveform is at 4 kHz // Turn off output (both CH 201 and CH 202 at 0 VDC) // Change output frequency to 5 kHz // Turn on output
Example 4, To output a sine wave and square wave via CH 201 and CH 202 respectively
-> *RST;*CLS // To reset DAQ to default power-on state, this command can be ignored if this operation is not required // Enable CH 201 and CH 202 // Sine wave with 5 Vp (10 Vpp) and O VDC offset // Square wave with 3 Vp (6 Vpp) and 1 VDC offset // Set both channels output to 3.5 kHz // To check for any error, this command can be ignored if this operations is not required // Turn on output
-> ROUT:ENAB ON,(@201,202) -> APPL:SIN 5, 0, (@201) -> ROUT:SQU 3, 1, (@202) -> OUTP:WAV:FREQ 3500 -> SYST:ERR? <- +0, No Error
-> OUTP ON
55
AO data format
Data format for single channels arbitrary AO (when either one channel is enabled and USER mode)
#800000200
Data length indicator, The next 8 bytes 1st data 1st data 2nd data 2nd data 3rd data 3rd data 4th data 4th data ... (0000 0200) specifying the actual data LSB MSB LSB MSB LSB MSB LSB MSB length only, not actual data. Data length ... CH 201/202 CH 201/202 CH 201/202 CH 201/202 (200 bytes long)
56
Data format for two channels arbitrary AO (when two channels are enabled and USER mode)
#800000200 Data length indicator, The next 8 bytes (0000 0200) specifying the actual data length only, not actual data. Data length (200 bytes long)
<byte> <byte> <byte> <byte> <byte> <byte> <byte> <byte> ... 1st data 1st data 1st data 1st data 2nd data 2nd data 2nd data 2nd data ... LSB MSB LSB MSB LSB MSB LSB MSB CH 201 CH 202 CH 201 CH 202 ...
Table 3-8 Digital code and voltage output table for bipolar setting (U2331A, U2355A and U2356A)
Digital Code (Hex) 0x0FFF 0x0801 0x0800 0x07FF 0x0000 Analog Output Vref * (2047/2048) Vref * (1/2048) 0V Vref * (1/2048) Vref Voltage output (with internal reference of +10 V) 9.9951 V 0.0048 V 0.0000 V 0.0048 V 10.000 V
Table 3-9 Digital code and voltage output table for unipolar setting (U2331A, U2355A and U2356A)
Digital Code (Hex) 0x0FFF 0x0800 0x0001 0x0000 Analog Output Vref * (4095/4096) Vref * (2048/4096) Vref * (1/4096) Vref * (0/4096) Voltage output (with internal reference of +10 V) 9.9975 V 5.000 V 0.0024 V 0.000 V
57
Table 3-10 Digital code and voltage output table for bipolar setting (U2351A and U2353A)
Digital Code (Hex) 0xFFFF 0x8001 0x8000 0x7FFF 0x0000 Analog Output Vref * (32767/32768) Vref * (1/32768) 0V Vref * (1/32768) Vref Voltage output (with internal reference of +10 V) 9.999694 V 0.000305 V 0V 0.000305 V 10.000 V
Table 3-11 Digital code and voltage output table for unipolar setting (U2351A and U2353A)
Digital Code (Hex) 0xFFFF 0x8000 0x0001 0x0000 Analog Output Vref * (65535/65536) Vref * (32768/65536) Vref * (1/65536) Vref * (0/65536) Voltage output (with internal reference of +10 V) 9.999847 V 5.00000 V 0.000152 V 0V
58
Digital I/O
The U2300A series DAQ provides 24- bit of general- purpose digital I/O (GPIO), which is TTL compatible. The 24- bit GPIO are segmented into four channels (CH 501 to 504). Channel 501 and 502 consists of eight data bit while Channel 503 and 504 consists of four data bit. All four channels are programmable as input and output. As the system starts up and reset, all the I/O pins are reset to the input configuration and in high impedance.
Figure 3-4 General purpose digital I/O of Agilent U2300A series DAQ
59
The SCPI programming examples below will help you to configure the DIO and read a digital channel.
Configure the digital channel as OUTPUT and check the digital data Example 1:
-> -> -> <CONF:DIG:DIR OUTP,(@501) SOUR:DIG:DATA 123,(@501) SOUR:DIG:DATA? (@501) 123
Example 2:
-> CONF:DIG:DIR OUTP,(@502) // Configure the CH 502 to digital output state
-> SOUR:DIG:DATA:BIT 1,4,(@502) // To set the data bit 4 digital output line at channels 502 to 1 instantly -> SOUR:DIG:DATA:BIT? 4,(@502) // Query status of bit 4 of CH 502 <- 1
Configure the digital channel to INPUT and read back the value Example 1:
-> CONF:DIG:DIR INP,(@501) //Configure the CH 501 to digital output state -> MEAS:DIG? (@501) //To read back the digital value at channel 501 <- 23
60
Example 2:
-> CONF:DIG:DIR INP,(@501) -> MEAS:DIG:BIT? 3,(@501) <- 0
NOTE
Input commands are not allow when channel is in Output mode, while output commands are not allow when channel is in Input mode.
Example 3:
-> CONF:DIG:DIR OUTP,(@501,503) -> CONF:DIG:DIR INP,(@502,504) -> CONF:DIG:DIR? (@501:504) <- OUTP,INP,OUTP,INP -> MEAS:DIG? (@501) // CH 501 has been set to output state, hence, it cannot perform input activity // CH 502 has been set to input state, hence, it cannot perform output activity
61
62
Totalizer mode
In totalizer mode, the counter will start counting the number of pulses generated on COUNT_CLK. This is done after the GATE is enabled. The totalize count is measured with the following command: MEASure:COUNter:TOTalize? (@301) The example below illustrates the count up mode when the counter is configured as totalize with initial count set to 0. COUNT_GATE will enable the counting after the totalize function has been enabled and the COUNT_OUT pin will output a series of pulses as shown below.
NOTE
63
The following SCPI programming example shows how to set the counter mode.
// Supply the signal to COUNT301_CLK -> COUN:FUNC TOT,(@301) -> COUN:GATE:SOUR INT,(@301) -> COUN:CLK:POL AHI,(@301) -> COUN:CLK:SOUR EXT,(@301) -> COUN:TOT:IVAL 100,(@301) -> COUN:TOT:UDOW:DIR UP,(@301) // Counter mode setting // Set as Totalize function // Set the GATE source as internal // Set the clock polarity as active high // Set the clock source as external // Initial Count value
// Set as Count Upmode -> COUN:TOT:UDOW:SOUR INT,(@301) // Set the Up/Down source as internal -> SOUR:COUN:OUTP:POL AHI,(@301) -> COUN:TOT:INIT (@301) -> MEAS:COUN:TOT? (@301) <- 100 -> MEAS:COUN:DATA? (@301) <- 100 -> COUN:GATE:CONT ENAB,(@301) -> COUN:GATE:CONT DIS,(@301) -> MEAS:COUN:TOT? (@301) <- 105 -> MEAS:COUN:DATA? (@301) <- 105 -> COUN:ABOR (@301) -> COUN:TOT:CLE (@301) -> MEAS:COUN:TOT? (@301) <- 0 -> MEAS:COUN:DATA? (@301) <- 0 // Abort all counter operation // Clear Count value // Start Counting (for INT gate only) // Stop Counting (for INT gate only) // Return Totalize value // Initiate Totalize // Initial value = 100
64
Measurement mode
In the measurement mode, frequency, period and pulse width are measured. The measurement is gated by either an internal or external gate source. The gate source is set using the command below: [SENSe:]COUNter:GATE:SOURce Since all three measurements are derived from the same basic measurement, the measured frequency, period and pulse width can be easily retrieved from commands below: MEASure:COUNter:FREQuency? (@<ch_list>) MEASure:COUNter:PERiod? (@<ch_list>) MEASure:COUNter:PWIDth? (@<ch_list>) The return value for frequency, period and pulse width measurements is a floating value. The input frequency measurable range is from 0.1 Hz to 6 MHz. The pulse width measurement is in the range of 0.167 s to 178.956 s.
NOTE
65
The following SCPI programming examples are for frequency, period and pulse width measurements.
Example 1:
// Supply the signal to COUNT301_GATE // Counter mode setting
// Take 5.5 kHz with 70% duty cycle square wave as measurement -> COUN:GATE:SOUR EXT,(@301) -> COUN:GATE:POL AHI,(@301) -> COUN:CLK:POL AHI,(@301) -> COUN:CLK:SOUR INT,(@301) -> COUN:CLK:INT? <- 12000 KHz -> SOUR:COUN:OUTP:POL AHI,(@301) -> COUN:FUNC FREQ,(@301) -> MEAS:COUN:DATA? (@301) <- 5.499542 -> COUN:FUNC PER,(@301) -> MEAS:COUN:DATA? (@301) <- 0.1818333 -> COUN:FUNC PWID,(@301) -> MEAS:COUN:DATA? (@301) <- 0.12725 -> MEAS:COUN:FREQ? (@301) <- 5.499542 -> COUN:FUNC? (@301) <- FREQ -> MEAS:COUN:PER? (@301) <- 0.1818333 -> COUN:FUNC? (@301) <- PER -> MEAS:COUN:PWID? (@301) <- 0.12725 // Function automatic set to PER // Function automatic set to FREQ // Pulse width in ms // Period in ms // Return value depend on function set // Frequency in kHz
66
Example 2:
// Assume 10 MHz external Clock for FREQ,PER,PWID measurement -> COUN:CLK:SOUR EXT,(@301) // Must set the external Clock value (KHz) -> COUN:CLK:EXT 10000,(@301) -> COUN:CLK:EXT? (@301) <- 10000
NOTE
Direction of the counter and the initial value of the counter are not important for this mode.
67
Trigger Sources
The Agilent U2300A series USB DAQ devices provides flexible trigger options for various applications. There are four types of trigger sources: none (immediate trigger) digital trigger analog trigger star trigger
Users can configure the trigger source for A/D and D/A operations remotely.
NOTE
The D/A and A/D conversions share the same analog trigger. Star trigger is used when the DAQ is connected into the modular instrument chassis.
All four types of trigger sources are summarized in the following tables. Table 3-12 Trigger type for single-shot acquisition of continuous mode
Trigger Source None (immediate trigger) Digital trigger Analog trigger Type Post Delay Pre Middle Post Delay Condition N/A Positive/Negative Above High/Below Low/Window Pin Selection N/A EXTD_AI_TRIG, EXTD_AO_TRIG EXTA_TRIG, SONE
68
Trigger types
There are four types of trigger, which are pre- trigger, post- trigger, middle- trigger, and delay- trigger.
Pre-trigger
This trigger type is used when you wish to collect data before a trigger event. The A/D conversion starts when you execute the specified function calls and stops when the trigger event occurs. For example, you specify four sample points and the analog trigger occurs after four sample points are converted. Refer to the following figure for further illustration.
NOTE
Due to memory limitation on hardware, the maximum sample points is only up to 8 MSa.
69
Middle-trigger
This trigger type is used when you want to collect data before and after a trigger event. The sampled data are equal before and after trigger. For example, if the user specify four sample points, the conversion only begins after the trigger event occurs. Two sample points before and after the trigger are taken. Refer to the following figure for further illustration.
Post-trigger
The post- trigger is the default setting and used in applications when you want to collect data after a trigger event. As illustrated in the following figure, the sample point are set to two. Total of two sample points are taken after the trigger starts.
70
Delay-trigger
This trigger acquisition is used in applications if you want to delay the data collecting process after a specified trigger event. The delay time is controlled by the value, which is pre- loaded in the Delay_counter (32- bit). The clock source is the Timebase clock. When the count reaches zero, the counter stops and the board start to acquire data. When the internal 48 MHz is set as Timebase clock, the delay time is in the range of 20.8 ns to 89.47 s. If the Timebase clock is from external clock (48 MHz to 1 MHz), the delay time can be varied by users setting.
71
Digital trigger
There are positive and negative conditions in digital trigger. It is used when a rising or falling edge is detected on the digital signal. Positive condition is used when it triggers from low to high, while high to low when the negative condition is used.
72
Analog trigger
There are three analog trigger conditions in U2300A series DAQ and the trigger conditions are as follows: Above high Below low Window It uses two threshold voltages, which are Low- Threshold and High- Threshold. Users can easily configure the analog trigger conditions using the Agilent Measurement Manager software.
Above high
The following figure illustrates the above high analog trigger condition. The trigger signal is generated when the analog input signal is higher than the High- Threshold voltage. In this trigger condition, the Low- Threshold voltage is not used.
73
Below low
In below low trigger condition, the trigger signal is generated when the analog input signal is lower than the Low- Threshold voltage. In this trigger condition, the High- Threshold voltage is not used. The following figure illustrates the above high analog trigger condition.
74
Window
The window trigger condition is shown in the following diagram. The trigger signal is generated when the input analog signal falls within the voltage range of the High- Threshold and Low- Threshold.
75
76
Example 2:
// Digital trigger with Middle trigger type -> WAV:POIN 1000 // For RUN mode -> ACQ:SRAT 1000 -> TRIG:SOUR EXTD -> TRIG:DTRG:POL POS -> TRIG:TYPE MID -> RUN // Digital Trigger
Example 3:
// Analog trigger with Pre trigger type -> ACQ:POIN 1000 -> ACQ:SRAT 1000 -> ROUT:SCAN (@101) -> ROUT:CHAN:POL BIP,(@101) -> TRIG:SOUR EXTA -> TRIG:ATRG:COND AHIG -> TRIG:ATRG:HTHR 3 -> TRIG:ATRG:LTHR 3 -> TRIG:TYPE PRE -> DIG // Analog trigger // Above high Threshold condition // 3 V high Threshold // 3 V low Threshold // Pre trigger
77
Example 4:
// Analog Trigger with first scan channel as trigger channel (SONE mode) -> ACQ:POIN 1000 // For DIG mode -> ACQ:SRAT 1000 -> ROUT:SCAN (@133,101) -> ROUT:CHAN:POL UNIP,(@133,101) -> TRIG:SOUR EXTA -> TRIG:ATRG:SOUR SONE -> TRIG:ATRG:COND BLOW -> TRIG:ATRG:HTHR 6 -> TRIG:ATRG:LTHR -> TRIG:TYPE POST -> DIG // Trigger will take place when signal fall below 2 V at channel 133 // Below Low Threshold trigger condition // 6 V High Threshold // 2 V Low Threshold // Post Trigger // Use channel 133 as trigger channel
NOTE
Middle-trigger and pre-trigger are not allow in RUN mode, NONE trigger and SONE trigger.
78
Analog output
Example 1:
// Digital trigger with delay trigger type // Supply Digital trigger signal to EXTD_AO_TRIG -> OUTP:TRIG:SOUR EXTD -> OUTP:TRIG:DTRG:POL NEG -> OUTP:TRIG:TYPE DEL -> OUTP:TRIG:DCNT 225000000 // Count value ~= 5 s -> ROUT:ENAB ON,(@201)
- > OUTP ON
// Wait for trigger // Output turn on after 5 s of delay (after trigger happen)
Example 2:
// Analog trigger with POST trigger type -> OUTP:TRIG:SOUR EXTA -> OUTP:TRIG:ATRG:COND WIND -> OUTP:TRIG:ATRG:HTHR 3 -> OUTP:TRIG:ATRG:LTHR 3 -> OUTP:TRIG:TYPE POST -> ROUT:ENAB ON,(@201) -> OUTP ON // Window trigger condition (3 V to 3 V) // 3 V high Threshold // 3 V low Threshold
79
Example 3:
// Analog Trigger with first scan channel as trigger channel (SONE mode) -> OUTP:TRIG:SOUR EXTA -> ROUT:SCAN (@133) // Use Channel 133 as trigger channel
-> OUTP:TRIG:ATRG:SOUR SONE // Above High threshold Trigger condition -> OUTP:TRIG:ATRG:COND AHIG -> OUTP:TRIG:ATRG:HTHR 4 -> OUTP:TRIG:ATRG:LTHR 1 -> OUTP:TRIG:TYPE POST -> ROUT:ENAB ON,(@201) -> RUN -> OUTP ON // Important! // 4 V High Threshold // 1 V Low Threshold
NOTE
For SONE mode, execute the RUN/DIG command first before turning on the output. Channel 133 will only respond to trigger signal during acquisition.
80
81
82
This chapter specifies the characteristics, environmental conditions, and specifications of the U2300A DAQ device.
Agilent Technologies
81
Product Characteristics
REMOTE INTERFACE POWER REQUIREMENT Hi-Speed USB 2.0 USBTMC Class Device +12 VDC (TYPICAL) 2 A (MAX) input rated current Installation Category II +12 VDC, 550 mA maximum Operating temperature from 0 C to +55 C Relative humidity at 15% to 85% RH (non-condensing) Altitude up to 2000 meters Pollution Degree 2 For indoor use only
20 C to 70 C Certified with: IEC 61010-1:2001/EN 61010-1:2001 (2nd Edition) USA: UL61010-1: 2004 Canada: CSA C22.2 No.61010-1:2004
EMC COMPLIANCE
IEC/EN 61326-1 1998 CISPR 11: 1990/EN55011:1991, Class A, Group 1 CANADA: ICES-001: 1998 Australia/New Zealand: AS/NZS 2064.1
Tested to IEC/EN 60068-2 68-pin female VHDCI Type Module dimension: 120.00 mm x 182.40 mm x 44.00 mm (with plastic casing) 105.00 mm x 174.54 mm x 25.00 mm (without plastic casing) Terminal block dimension: 103.00 mm x 85.20 mm x 42.96 mm
WEIGHT WARRANTY
565 g (with plastic casing) 400 g (without plastic casing) Three years
82
Product Specifications
Basic multifunction DAQ device specifications
Table 4-1 Analog input product specifications for basic multifunction DAQ device
Analog Input Model Number Resolution Number of channels Maximum sampling rate Scan list memory Programmable bipolar input range Programmable unipolar input range Input coupling Input impedance Operational common mode voltage range Overvoltage protection Trigger sources Trigger modes FIFO buffer size U2351A U2352A U2353A U2354A 16 bits, no missing codes 16 SE/8 DI (software selectable/channel) 250 kSa/s 500 kSa/s Up to 100 selectable channels entries 10 V, 5 V, 2.5 V, 1.25 V 0 to 10 V, 0 to 5 V, 0 to 2.5 V, 0 to 1.25 V DC 1 G / 100 pF
7.5 V maximum [4] Power on: Continuous 30 V, Power off: Continuous 15 V External analog/digital trigger, SSI/star trigger [1] Pre- trigger, delay-trigger, post-trigger, and middle-trigger Up to 8 MSa
83
Table 4-2 Analog output product specifications for basic multifunction DAQ device
Analog Output Model Number Resolution Number of channels Maximum update rate Output ranges U2351A 16 bits 2 1 MSa/s 0 to 10 V, 10 V, 0 to AO_EXT_REF, AO_EXT_REF [2] DC 0.1 Typical Any passive load up to 1500 pF 0 V steady state External analog/digital trigger, SSI/star trigger [1] Post-trigger and delay-trigger 1 channel: Maximum 8 MSa 2 channels: Maximum 4 MSa/ch Sine-wave, square-wave, triangle, sawtooth, and noise waveform U2352A N/A N/A N/A N/A U2353A 16 bits 2 1 MSa/s 0 to 10 V, 10 V, 0 to AO_EXT_REF, AO_EXT_REF [2] DC 0.1 Typical Any passive load up to 1500 pF 0 V steady state External analog/digital trigger, SSI/star trigger [1] Post-trigger and delay-trigger 1 channel: Maximum 8 MSa 2 channels: Maximum 4 MSa/ch Sine-wave, square-wave, triangle, sawtooth, and noise waveform U2354A N/A N/A N/A N/A
Table 4-3 Digital I/O product specifications for basic multifunction DAQ device
Digital I/O Model Number Number of bits Compatibility Input voltage Input voltage range Output voltage U2351A | U2352A | U2353A | U2354A 24-bit programmable input/output TTL VIL = 0.7 V maximum, IIL = 10 A maximum VIH = 2.0 V minimum, IIH = 10 A maximum 0.5 V to +5.5 V VOL = 0.45 V maximum, IOL = 8 mA maximum VOH = 2.4 V minimum, IOH = 400 A maximum
84
Table 4-4 General purpose digital counter product specifications for basic multifunction DAQ device
General Purpose Digital Counter Model Number Maximum count Number of channels Compatibility Clock source Base clock available Maximum clock source frequency Input frequency range Pulse width measurement range U2351A | U2352A | U2353A | U2354A (21) bits Two independent up/down counter TTL Internal or external 48 MHz 12 MHz 0.1 Hz to 6 MHz at 50% duty cycle 0.167 s to 178.956 s
Table 4-5 Analog trigger product specifications for basic multifunction DAQ device
Analog Trigger Model Number Trigger source Trigger level Trigger conditions Trigger level resolution Bandwidth Input Impedance for EXTA_TRIG Coupling Overvoltage Protection U2351A | U2352A | U2353A | U2354A All analog input channels, External analog trigger (EXTA_TRIG) Full Scale for internal; 10 V for external Above high, below low and window (software selectable) 8 bits 400 kHz 20 k DC Continuous for 35 V maximum
Table 4-6 Digital trigger product specifications for basic multifunction DAQ device
Digital Trigger Model Number Compatibility Response Pulse width U2351A | U2352A | U2353A | U2354A TTL/CMOS Rising or falling edge 20 ns minimum
85
Table 4-7 Calibration product specifications for basic multifunction DAQ device
Calibration [3] Model Number On board reference voltage Temperature drift Stability U2351A | U2352A | U2353A | U2354A 5V 2 ppm/C 6 ppm/1000 hours
Table 4-8 General product specifications for basic multifunction DAQ device
General Model Number Remote interface Device class Programmable interface U2351A | U2352A | U2353A | U2354A Hi-Speed USB 2.0 USBTMC Class Device Standard Commands for Programmable Instruments (SCPI) and IVI-COM [1] System Synchronous Interface (SSI) and Star-trigger commands are used when modular devices are used in instrument chassis. [2] Maximum external reference voltage for analog output (AO_EXT_REF) is 10 V. [3] 20 minutes warm-up time is recommended. [4] Refer to Figure 4-1 for more information.
86
7.5
-7.5
Figure 4-1 Operational common mode voltage range This graph shows that the common mode voltage range is tightly linked with the output voltage. The output voltage range of the DAQ devices is 10 V. Therefore, the common mode voltage range is 7.5 V. Any operation beyond these voltage ranges may produce unexpected and unreliable results, and should be avoided.
87
Input coupling Input impedance Operational common mode voltage range Overvoltage protection Trigger sources Trigger modes FIFO buffer size
88
Table 4-10 Analog output product specifications for high density multifunction DAQ device
Analog Output Model Number Resolution Number of channels Maximum update rate Output ranges Output coupling Output impedance Stability Power on state Trigger sources Trigger modes FIFO buffer size Function generation mode U2355A | U2356A | U2331A 12 bits 2 1 MSa/s 0 to 10 V, 10 V, 0 to AO_EXT_REF, AO_EXT_REF[2] DC 0.1 Typical Any passive load up to 1500 pF 0 V steady state External analog/digital trigger, SSI/star trigger[1] Post-trigger and delay-trigger 1 channel: Maximum 8 MSa, 2 channels: Maximum 4 MSa/ch Sine-wave, square-wave, triangle, sawtooth and noise waveform
Table 4-11 Digital I/O product specifications for high density multifunction DAQ device
Digital I/O Model Number Number of bits Compatibility Input voltage Input voltage range Output voltage U2355A | U2356A | U2331A 24-bit programmable input/output TTL VIL = 0.7 V max, IIL = 10 A max VIH = 2.0 V min, IIH = 10 A max 0.5 V to +5.5 V VOL = 0.45 V max, IOL = 8 mA max VOH = 2.4 V min, IOH = 400 A max
89
Table 4-12 General purpose digital counter product specifications for high density multifunction DAQ device
General Purpose Digital Counter Model Number Maximum count Number of channels Compatibility Clock source Base clock available Maximum clock source frequency Input frequency range Pulse width measurement range U2355A | U2356A | U2331A (2-1) bits Two independent up/down counter TTL Internal or external 48 MHz 12 MHz 0.1 Hz to 6 MHz at 50% duty cycle 0.167 s to 178.956 s
Table 4-13 Analog trigger product specifications for high density multifunction DAQ device
Analog trigger Model Number Trigger source Trigger level Trigger conditions Trigger level resolution Bandwidth Input Impedance for EXTA_TRIG Coupling Overvoltage Protection U2355A | U2356A | U2331A All analog input channels, External analog trigger (EXTA_TRIG) Full Scale for internal; 10 V for external Above high, below low and window (software selectable) 8 Bits 400 kHz 20 k DC Continuous for 35 V maximum
Table 4-14 Digital trigger product specifications for high density multifunction DAQ device
Digital Trigger Model Number Compatibility Response Pulse width U2355A | U2356A | U2331A TTL/CMOS Rising or falling edge 20 ns minimum
90
Table 4-15 Calibration product specifications for high density multifunction DAQ device
Calibration [3] Model Number On board reference Temperature drift Stability U2355A | U2356A | U2331A 5V 2 ppm/C 6 ppm/1000 hours
Table 4-16 General product specifications for high density multifunction DAQ device
General Model Number Remote interface Device class Programmable interface U2355A | U2356A | U2331A Hi-Speed USB 2.0 USBTMC Class Device Standard Commands for Programmable Instruments (SCPI) and IVI-COM [1] System Synchronous Interface (SSI) and Star-trigger commands are used when modular devices are used in instrument chassis. [2] Maximum external reference voltage for analog output (AO_EXT_REF) is 10 V. [3] 20 minutes warm-up time is recommended.
91
U2351A | U2352A 0 C to 18 C 23 C 5 C 28 C to 45 C 1 mV 5mV 2 mV 5mV 760 kHz 300 kHz 1 mVrms 62 dB 88 dB 80 dB 90 dB 80 dB 13 2 mVrms
U2353A | U2354A 0C to 18C 23C 5C 28C to 45C 1 mV 5mV 2mV 5mV 1.5 MHz 300 kHz 1 mVrms 62 dB 82 dB 78 dB 82 dB 78 dB 12.6 2.5 mVrms
Table 4-18 Analog output electrical measurement specifications for basic multifunction USB DAQ device
Analog Output Measurementv[1] Model Number Function Offset Error Gain Error Slew rate Rise time Fall time Settling time to 1% output error Driving capability Glitch energy 23 C 5 C 1 mV 4mV U2351A | U2353A 0 C to 18 C 28 C to 45 C 4 mV 5 mV
92
[1] Specifications are for 20 minutes of warm-up time, calibration temperature at 23 C and input range of 10 V. [2] Specifications are based on the following test conditions.
Bandwidth Test
3 dB small signal bandwidth 1% THD large signal bandwidth
Model Number Test Conditions (DUT setting at 10 V bipolar) U2351A U2352A Sampling Rate: Input voltage: 250 kSa/s
3 dB small signal bandwidth 10% FSR 1% THD large signal bandwidth FSR 1 dB FS
U2353A U2354A
500 kSa/s
3 dB small signal bandwidth 10% FSR 1% THD large signal bandwidth FSR 1 dB FS
Model Number Test Conditions (DUT setting at 10 V bipolar) U2351A U2352A Sampling Rate: Fundamental Frequency: Number of points: Fundamental input voltage: Sampling Rate: Fundamental Frequency: Number of points: Fundamental input voltage: 250 kSa/s 2.4109 kHz 8192 FSR 1 dB FS 500 kSa/s 4.974 kHz 16384 FSR 1 dB FS
U2353A U2354A
93
Table 4-20 Analog output electrical measurement specifications for high density multifunction USB DAQ device
Analog Output Measurement [1] Model Number Function Offset Error Gain Error Slew rate Rise time Fall time Settling time to 1% output error Driving capability Glitch energy U2355A | U2356A 0 C to 18 C 28 C to 45 C 23 C 5 C 1 mV 4 mV 4 mV 5 mV 19 V/s 0.9 s 0.9 s 4 s 5 mA 5 ns-V (Typical), 80 ns-V (Maximum) U2331A 23 C 5 C 1.5 mV 4 mV 0 C to 18 C 28 C to 45 C 3mV 5 mV
94
[1] Specifications are for 20 minutes of warm-up time, calibration temperature at 23 C and input range of 10 V. [2] Specifications are based on the following test conditions.
Model Number Test Conditions (DUT setting at 10 V bipolar) U2355A Sampling Rate: Input voltage: 250 kSa/s
3 dB small signal bandwidth 10% FSR 1% THD large signal bandwidth FSR 1 dB FS
U2356A
500 kSa/s
3 dB small signal bandwidth 10% FSR 1% THD large signal bandwidth FSR 1 dB FS
U2331A
3 MSa/s
3 dB small signal bandwidth 10% FSR 1% THD large signal bandwidth FSR 1 dB FS
Model Number Test Conditions (DUT setting at 10 V bipolar) U2355A Sampling Rate: Fundamental Frequency: Number of points: Fundamental input voltage: Sampling Rate: Fundamental Frequency: Number of points: Fundamental input voltage: Sampling Rate: Fundamental Frequency: Number of points: Fundamental input voltage: 250 kSa/s 2.4109 kHz 8192 FSR 1 dB FS 500 kSa/s 4.974 kHz 16384 FSR 1 dB FS 3 MSa/s 29.892 kHz 65536 FSR 1 dB FS
U2356A
U2331A
95
96
5 Calibration
Self-Calibration 96
This chapter introduces the procedures to perform calibration process to the U2300A series DAQ devices to minimize A/D measurement errors and D/A output errors.
Agilent Technologies
95
Calibration
Self-Calibration
The Agilent U2300A series USB data acquisition devices are factory- calibrated before shipment. The on- board reference voltage are calibrated and measured to ensure measurement accuracy. The device includes a self- calibration function to ensure accuracy of the measurement made under different environment usage. For self- calibration, executing the calibration command will initiate a voltage adjustment in sequence for the specified DAC channel. This sequence sets a zero and gain adjustment constant for each DAC output. Self- calibration can be initiated using the following SCPI command: CALibration:BEGin The functions of the DAQ will be halted until the self- calibration process is completed. You can query the status of calibration through the following SCPI command: *OPC? Unplug all cables that are connected to the DAQ device before performing self-calibration. Any cables connected to the DAQ device will cause the failure of the self-calibration process.
WA R N I N G
NOTE
It is recommended that the DAQ device is powered-up at least 20 minutes before performing self-calibration.
96
www.agilent.com
Agilent Technologies, Inc., 2006 - 2010 Printed in Malaysia Fifth Edition, November 9, 2010 U2351-90002
Agilent Technologies