No p art o f this manu al may be re produce d 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.
Manual Part Number
U2702-90040
Edition
First Edition, June 22, 2009
Agilent Technologies, Inc.
5301 Stevens Creek Blvd.
Santa Clara, CA 95052 USA
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.
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.
Restricted Rights Legend
U.S. Government Restricted Rights. Software and technical data rights granted to
the federal government include only those
rights customarily provided to end user customers. Agilent provides this customary
commercial license in Software and technical data pursuant to FAR 12.211 (Technical
Data) and 12.212 (Computer Software) and,
for the Department of Defense, DFARS
252.227-7015 (Technical Data - Commercial
Items) and DFARS 227.7202-3 (Rights in
Commercial Computer Software or Computer Software Documentation).
Safety Notices
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.
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.
II U2701A/U2702A IVI-COM Programmer’s Reference
Contents
1Introduction to IVI-COM
Getting Started 2
Installation Guide 3
General Guidelines for Oscilloscope Programming 5
Side-by-Side SCPI and IVI-COM Comparison of the U2701A/U2702A
Creating Connectivity to the IVI-COM Driver 266
Using the Driver 268
Complete Example 276
VIIIU2701A/U2702A IVI-COM Programmer’s Reference
U2701A/U2702A USB Modular Oscilloscope
IVI-COM Programmer’s Reference for NI LabVIEW
1
Introduction to IVI-COM
Getting Started 2
Installation Guide 3
General Guidelines for Oscilloscope Programming 5
Side-by-Side SCPI and IVI-COM Comparison of the U2701A/U2702A
Commands 6
This chapter introduces the remote programming basics of the
U2701A/U2702A USB modular oscilloscopes. The IVI- COM programming
commands provide the means to control this instrument remotely via
a PC.
Agilent Technologies
1
1Introduction to IVI-COM
Getting Started
The IVI Foundation is an open consortium founded in year 1998 to
promote specifications for programming test instruments.
For complete information on the IVI Foundation and for the most
up- to- date versions of all IVI specifications and components, you can visit
the IVI Foundation web site at www.ivifoundation.org.
2U2701A/U2702A IVI-COM Programmer’s Reference
Installation Guide
1 To download the AgilentU2701A IVI Driver, go to the Agilent Technical
2 Click Drivers & Software > IVI-COM and IVI-C for U2701A/U2702A to download
the AgilentU2701A IVI Driver package.
3 Save the file to any location on your hard disk.
4 Disconnect any instrument that is connected to your PC and close all
other applications on your PC.
5 Double- click the saved installation file to begin installation.
6 The latest version of the IVI Shared Components should be downloaded
from www.ivifoundation.org prior to installing the AgilentU2701A IVI
Driver package. It is recommended that you periodically check for
newer versions of the IVI Shared Components and update as available
from the IVI Foundation.
7 If the latest version of the IVI Shared Components is detected,
installation of the AgilentU2701A IVI Driver will proceed as normal.
Introduction to IVI-COM1
U2701A/U2702A IVI-COM Programmer’s Reference3
1Introduction to IVI-COM
8 The AgilentU2701A IVI Driver 1.0.0.0 Setup Wizard dialog will appear. Click
Next to begin.
9 Read the License Agreement and select I accept the terms in the License
Agreement to proceed. You may click Print to print a hardcopy of the Agilent License Terms for your reference. Click Next to proceed.
10 Fill in the Customer Information Form accordingly, and click Next.
11 Select the Ty p i c a l or Full option in the Setup Type to install the
AgilentU2701A IVI Driver package. Advanced users may select the
Custom option to customize the program features to be installed and
where they will be installed. Click Next to proceed.
12 Click Next to install to the specified folder or click Change to install to
a different folder.
13 Click Install to begin the installation of the AgilentU2701A IVI Driver
package.
14 Click Finish when the installation has completed.
4U2701A/U2702A IVI-COM Programmer’s Reference
Introduction to IVI-COM1
Configuration
Acquisition
Waveform Display
Post Analysis
START
END
You can use the commands in this section to
configure the oscilloscope channels for waveform
acquisition, set the type of event that triggers the
oscilloscope, modify the registry status, and
perform various utility operations.
You can use the commands in this section to
configure the acquisition type, the size of the
waveform record, the length of time that
corresponds to overall waveform record, and the
position of the first point in the waveform record
relative to the trigger event.
The statements in this section is used to acquire
waveform data from the oscilloscope. You can use
the commands in this section to initiate, acquire,
and abort measurements.
The statements in this section is used to analyze
the waveform data acquired from the oscilloscope.
You can also use the commands in this section to
initiate, acquire, and abort measurements.
General Guidelines for Oscilloscope Programming
The block diagram below illustrates the general flow of steps required to
program an oscilloscope. The necessary IVI- COM driver commands are
arranged to reflect this block diagram.
U2701A/U2702A IVI-COM Programmer’s Reference5
1Introduction to IVI-COM
Side-by-Side SCPI and IVI-COM Comparison of the
U2701A/U2702A Commands
Tab l e 1 - 1 SCPI, IAgilentU2701A IVI, and IIviScope command comparison
U2701A/U2702A USB Modular Oscilloscope
IVI-COM Programmer’s Reference for NI LabVIEW
2
Configuration
Channels Interface commands starting on page 12
Close 32
Initialize 34
Initialized 37
Trigger Interface commands starting on page 41
Status Interface commands starting on page 88
System Interface commands starting on page 98
Utility Interface commands starting on page 102
Enumeration Members 116
This chapter describes the configuration commands used to program the
U2701A/U2702A USB modular oscilloscopes over the remote interface. You
can use the commands in this chapter to configure the oscilloscope
channels for waveform acquisition, set the type of event that triggers the
oscilloscope, modify the registry status, and perform various utility
operations.
Agilent Technologies
11
2Configuration
Count
Ty p e
Property
Function
Get
Description
This command returns the number of channels available.
Hierarchy
IAgilentU2701A
;
Channels
;
Count
Parameters
Long/Int32
Example
12U2701A/U2702A IVI-COM Programmer’s Reference
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference13
2Configuration
Item
This is an interface reference pointer to the IAgilentU2701AChannel
interface which is selected by the channel name.
BandwidthLimit
Ty p e
Property
Function
Get and Set
Description
This command returns/sets the bandwidth limit status for the selected
channel. If
If
False, the bandwidth limit for the selected channel is disabled.
True, the bandwidth limit for the selected channel is enabled.
Hierarchy
IAgilentU2701A
;
Channels
;
Item(Name)
;
BandwidthLimit
Parameters
ItemTypeDescription
NameString The name of a channel. It may be either a name returned
by the Name property or a name mapped to a particular
repeated capability in the session in the configuration
store.
14U2701A/U2702A IVI-COM Programmer’s Reference
Return Format
Boolean
Example
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference15
2Configuration
Configure
Ty p e
Method
Function
Set
Description
This command configures the most commonly used properties of the
oscilloscope channel sub- system. Use this command to enable or disable
the channel and to set the range, offset, coupling, and probe attenuation
values.
NameString The name of a channel. It may be either a name returned
by the Name property or a name mapped to a particular
repeated capability in the session in the configuration
store.
RangeDoubleSpecifies the vertical range. This value sets the Vertical
Range property.
OffsetDoubleSpecifies the vertical offset. This value sets the Vertical
Offset property.
CouplingAgilentU2701A
VerticalCoupling
Enum
ProbeAttenuation DoubleSpecifies the probe attenuation. This value sets the
EnabledBooleanSpecifies if the channel is enabled for acquisition. This
Specifies how to couple the input signal. This value sets
the Vertical Coupling property.
ProbeAttenuation property.
value sets the Channels.Enabled property.
Return Format
Boolean
U2701A/U2702A IVI-COM Programmer’s Reference17
2Configuration
Example
18U2701A/U2702A IVI-COM Programmer’s Reference
Configuration2
Coupling
Ty p e
Property
Function
Get and Set
Description
This command returns/sets how the oscilloscope couples the input signal.
Hierarchy
IAgilentU2701A
;
Channels
;
Item(Name)
;
Coupling
Parameters
ItemTypeDescription
NameString The name of a channel. It may be either a name returned
by the Name property or a name mapped to a particular
repeated capability in the session in the configuration
store.
Return Format
ItemTypeDescription
AgilentU2701A
VerticalCoupling
Enum
U2701A/U2702A IVI-COM Programmer’s Reference19
EnumSee “AgilentU2701AVerticalCouplingEnum” on page 126.
2Configuration
Example
20U2701A/U2702A IVI-COM Programmer’s Reference
Configuration2
Enabled
Ty p e
Property
Function
Get and Set
Description
If this command is set to True, the oscilloscope acquires a waveform for
this channel when the IAgilentU2701AMeasurement.Initiate,
IAgilentU2701AMeasurement.ReadWaveform,
IAgilentU2701AMeasurement.ReadWaveformMeasurement, or
IIviScopeMeasurement.ReadWaveformMinMax methods are called.
Hierarchy
IAgilentU2701A
;
Channels
;
Item(Name)
;
Enabled
Parameters
ItemTypeDescription
NameString The name of a channel. It may be either a name returned
by the Name property or a name mapped to a particular
repeated capability in the session in the configuration
store.
Return Format
Boolean
U2701A/U2702A IVI-COM Programmer’s Reference21
2Configuration
Example
22U2701A/U2702A IVI-COM Programmer’s Reference
Loading...
+ 267 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.