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
Configuration2
Offset
Ty p e
Property
Function
Get and Set
Description
This command returns/sets the location of the center of the range that
was specified with the Range property. The units are expressed in volts,
with respect to ground. For example, to acquire a sine wave spanning
from 0.0 V to 10.0 V, set Offset to 5.0 V.
Hierarchy
IAgilentU2701A
;
Channels
;
Item(Name)
;
Offset
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
Double
U2701A/U2702A IVI-COM Programmer’s Reference23
2Configuration
Example
24U2701A/U2702A IVI-COM Programmer’s Reference
Configuration2
ProbeAttenuation
Ty p e
Property
Function
Get and Set
Description
This command returns/sets the scaling factor by which the probe
attenuates the input signal. For example, with a 10:1 probe, the value is
10.0.
Hierarchy
IAgilentU2701A
;
Channels
;
Item(Name)
;
ProbeAttenuation
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
Double
U2701A/U2702A IVI-COM Programmer’s Reference25
2Configuration
Example
26U2701A/U2702A IVI-COM Programmer’s Reference
Configuration2
Range
Ty p e
Property
Function
Get and Set
Description
This command returns/sets the absolute value of the input range that the
oscilloscope can acquire for the channel. The units are expressed in volts.
For example, to acquire a sine wave spanning from –5.0 V to 5.0 V, set
Range to 10.0 V.
Hierarchy
IAgilentU2701A
;
Channels
;
Item(Name)
;
Range
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.
U2701A/U2702A IVI-COM Programmer’s Reference27
2Configuration
Remarks
The absolute value of the input range that the oscilloscope can acquire is
equivalent to the Volt/Div value multiplied by eight at the scope setting.
Volt/Div (Attenuation = 1x)Voltage range
2 mV16 mV
5 mV40 mV
10 mV80 mV
20 mV160 mV
50 mV400 mV
100 mV800 mV
200 mV1.6 V
500 mV4 V
1 V8 V
2 V16 V
5 V40 V
Return Format
Double
28U2701A/U2702A IVI-COM Programmer’s Reference
Example
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference29
2Configuration
Name
Ty p e
Property
Function
Get
Description
This command returns the channel name for a given index.
Hierarchy
IAgilentU2701A
;
Channels
;
Name(Index)
Parameters
ItemTypeDescription
IndexLong/Int32 One based index into the collection of channels.
Return Format
String
30U2701A/U2702A IVI-COM Programmer’s Reference
Example
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference31
2Configuration
Close
Ty p e
Method
Function
Set
Description
This command closes the I/O session to the instrument. Driver methods
and properties that access the instrument are not accessible after Close is
called.
Hierarchy
IAgilentU2701A
;
Close()
Example
32U2701A/U2702A IVI-COM Programmer’s Reference
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference33
2Configuration
Initialize
Ty p e
Method
Function
Set
Description
This command opens the I/O session to the instrument. Driver methods
and properties that access the instrument are only accessible after
Initialize is called. Initialize optionally performs a Reset and queries the
instrument to validate the instrument model.
ResourceNameString/BSTRAn IVI logical name or an instrument specific string that
identifies the address of the instrument, such as a VISA
resource descriptor string.
IdQueryBooleanSpecifies whether to verify the ID of the instrument.
ResetBooleanSpecifies whether to reset the instrument.
OptionStringString/BSTRThe user can use the OptionString parameter to specify
the initial values of certain IVI inherent attributes for the
session.
The format of an assignment in the OptionString
parameter is “Name=Value”, where Name is one of:
RangeCheck, QueryInstrumentStatus, Cache, Simulate,
RecordCoercions, InterchangeCheck, or DriverSetup.
Value is either True or False except for DriverSetup. If the
OptionString parameter contains an assignment for the
Driver Setup attribute, the Initialize function assumes that
everything following “DriverSetup=” is part of the
assignment.
Example
U2701A/U2702A IVI-COM Programmer’s Reference35
2Configuration
36U2701A/U2702A IVI-COM Programmer’s Reference
Initialized
Configuration2
Ty p e
Property
Function
Get
Description
This command returns True between a successful call to the Initialize
method and a successful call to the Close method, and
times.
False at all other
Hierarchy
IAgilentU2701A
;
Initialized
Return Format
Boolean
Example
U2701A/U2702A IVI-COM Programmer’s Reference37
2Configuration
38U2701A/U2702A IVI-COM Programmer’s Reference
Configure
Configuration2
Ty p e
Method
Function
Set
Description
This command configures the trigger Type and Holdoff. Holdoff units are
expressed in seconds.
Hierarchy
IAgilentU2701A
;
Trigger
;
Configure(Type, Holdoff)
Parameters
ItemTypeDescription
TypeAgilentU2701A
Tr ig g e rTy p eE n um
HoldoffDoubleSpecifies the trigger hold-off. This value sets the Trigger.
U2701A/U2702A IVI-COM Programmer’s Reference39
Specifies the trigger type. This value sets the Trigger.Ty p e
property. See “AgilentU2701ATriggerTypeEnum” on
page 123 for more information.
Holdoff property.
2Configuration
Example
40U2701A/U2702A IVI-COM Programmer’s Reference
Coupling
Configuration2
Ty p e
Property
Function
Get and Set
Description
This command returns/sets how the oscilloscope couples the trigger
source.
Hierarchy
IAgilentU2701A
;
Trigger
;
Coupling
Return Format
ItemTypeDescription
AgilentU2701A
TriggerCoupling
Enum
U2701A/U2702A IVI-COM Programmer’s Reference41
EnumSee “AgilentU2701ATriggerCouplingEnum” on page 121
for more information.
2Configuration
Example
42U2701A/U2702A IVI-COM Programmer’s Reference
Edge
Configuration2
This interface configures slope of edge trigger.
Configure
Ty p e
Method
Function
Set
Description
This command configures the conditions for edge trigger. An edge trigger
occurs when the trigger source signal passes through the trigger level with
the specified slope.
Hierarchy
IAgilentU2701A
;
Trigger
;
Edge
;
Configure(Source, Level, Slope)
U2701A/U2702A IVI-COM Programmer’s Reference43
2Configuration
Parameters
ItemTypeDescription
SourceStringSpecifies the trigger source. This value sets the
Tr ig g e r. Source property.
LevelDoubleSpecifies the trigger level. This value sets the Trigger.Level
property.
SlopeAgilentU2701A
TriggerSlopeEnum
Example
Specifies the trigger slope. This value sets the
Tr ig g e r. Slope property. See
“AgilentU2701ATriggerSlopeEnum” on page 122 for more
information.
44U2701A/U2702A IVI-COM Programmer’s Reference
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference45
2Configuration
Slope
Ty p e
Property
Function
Get and Set
Description
This command returns/sets the slope, a rising or a falling edge, that
triggers the oscilloscope.
Hierarchy
IAgilentU2701A
;
Trigger
;
Edge
;
Slope
Parameters
ItemTypeDescription
AgilentU2701A
TriggerSlopeEnum
46U2701A/U2702A IVI-COM Programmer’s Reference
EnumSee “AgilentU2701ATriggerSlopeEnum” on page 122 for
more information.
Example
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference47
2Configuration
Glitch
This interface configures the condition, polarity, and width of the glitch
trigger.
Condition
Ty p e
Property
Function
Get and Set
Description
This command returns/sets the glitch condition that determines whether
the oscilloscope triggers on a pulse with a width less than or greater than
the glitch width value.
Hierarchy
IAgilentU2701A
;
Trigger
;
Glitch
;
Condition
Parameters
ItemTypeDescription
AgilentU2701A
GlitchCondition
Enum
48U2701A/U2702A IVI-COM Programmer’s Reference
EnumSee “AgilentU2701AGlitchConditionEnum” on page 116
for more information.
Example
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference49
2Configuration
Configure
Ty p e
Method
Function
Set
Description
This command configures the glitch trigger Source, Level, Width, Polarity,
and Condition. A glitch trigger occurs when the edge of a pulse that
matches the Width and Polarity crosses the specified Le vel (expressed in
volts).
SourceStringSpecifies the trigger source. This value sets the
Tr ig g e r. Source property.
LevelDoubleSpecifies the trigger level. This value sets the Trigger.Level
property.
WidthDoubleSpecifies the glitch triggering glitch width in seconds.
This value sets the Glitch.Width property.
PolarityAgilentU2701A
GlitchPolarity
Enum
ConditionAgilentU2701A
GlitchCondition
Enum
50U2701A/U2702A IVI-COM Programmer’s Reference
Specifies the glitch polarity. This value sets the Glitch.
Polarity property.
Specifies the glitch condition. This value sets the
Glitch.Condition property.
Example
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference51
2Configuration
Polarity
Ty p e
Property
Function
Get and Set
Description
This command returns/sets the polarity of the glitch that triggers the
oscilloscope.
Hierarchy
IAgilentU2701A
;
Trigger
;
Glitch
;
Polarity
Return Format
ItemTypeDescription
AgilentU2701A
GlitchPolarity
Enum
52U2701A/U2702A IVI-COM Programmer’s Reference
EnumSpecifies the glitch polarity. This value sets the
Glitch.Polarity property.
Example
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference53
2Configuration
Width
Ty p e
Property
Function
Get and Set
Description
This command returns/sets the glitch width. The units are expressed in
seconds.
Hierarchy
IAgilentU2701A
;
Trigger
;
Glitch
;
Width
Return Format
Double
54U2701A/U2702A IVI-COM Programmer’s Reference
Example
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference55
2Configuration
Holdoff
Ty p e
Property
Function
Get and Set
Description
This command returns/sets the length of time the oscilloscope waits after
it fills the acquisition buffer until the oscilloscope enables the trigger
interface to detect another trigger. The units are expressed in seconds.
Hierarchy
IAgilentU2701A
;
Trigger
;
Holdoff
Return Format
Double
56U2701A/U2702A IVI-COM Programmer’s Reference
Example
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference57
2Configuration
Modifier
Ty p e
Property
Function
Get and Set
Description
This command determines the oscilloscope behavior in the absence of a
trigger.
Hierarchy
IAgilentU2701A
;
Trigger
;
Modifier
Return Format
ItemTypeDescription
AgilentU2701A
TriggerModifier
Enum
58U2701A/U2702A IVI-COM Programmer’s Reference
EnumSee “AgilentU2701ATriggerModifierEnum” on page 121
for more information.
Example
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference59
2Configuration
Level
Ty p e
Property
Function
Get and Set
Description
This command returns/sets the voltage threshold for the trigger interface.
The units are expressed in volts.
Hierarchy
IAgilentU2701A
;
Trigger
;
Level
Return Format
Double
60U2701A/U2702A IVI-COM Programmer’s Reference
Example
Configuration2
Source
Ty p e
Property
Function
Get and Set
U2701A/U2702A IVI-COM Programmer’s Reference61
2Configuration
Description
This command returns/sets the signal that the oscilloscope monitors for a
trigger. It can be a channel or one of many other values.
Hierarchy
IAgilentU2701A
;
Trigger
;
Source
Return Format
String/BSTR
62U2701A/U2702A IVI-COM Programmer’s Reference
Example
Configuration2
Status
Ty p e
Property
Function
Get
U2701A/U2702A IVI-COM Programmer’s Reference63
2Configuration
Description
If this command is set to True, the waveform starts directly after the
trigger condition is met. If this command is set to
False, the instrument
has to send a force trigger to get a waveform.
Hierarchy
IAgilentU2701A
;
Trigger
;
Status
Return Format
Boolean
Example
64U2701A/U2702A IVI-COM Programmer’s Reference
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference65
2Configuration
TV
This interface configures the signal format, number of lines, and events of
the TV trigger.
Configure
Ty p e
Method
Function
Set
Description
This command configures the TV trigger source, signal format, event, and
polarity.
Hierarchy
IAgilentU2701A
;
Trigger
;
TV
;
Configure(Source, SignalFormat, Event)
66U2701A/U2702A IVI-COM Programmer’s Reference
Configuration2
Parameters
ItemTypeDescription
SourceStringSpecifies the trigger source. This value sets the
Tr ig g e r. Source property.
SignalFormatAgilentU2701ATV
SignalFormat
Enum
EventAgilentU2701ATV
TriggerEventEnum
Example
Specifies the TV trigger signal format. This value sets the
TV.SignalFormat property. See
“AgilentU2701ATVSignalFormatEnum” on page 124 for
more information.
Specifies the TV trigger event. This value sets the
TV.Event property. See
“AgilentU2701ATVTriggerEventEnum” on page 125 for
more information.
U2701A/U2702A IVI-COM Programmer’s Reference67
2Configuration
68U2701A/U2702A IVI-COM Programmer’s Reference
Configuration2
Event
Ty p e
Property
Function
Get and Set
Description
This command returns/sets the event on which the oscilloscope triggers.
Hierarchy
IAgilentU2701A
;
Trigger
;
TV
;
Event
Return Format
ItemTypeDescription
AgilentU2701ATV
TriggerEventEnum
U2701A/U2702A IVI-COM Programmer’s Reference69
EnumSee “AgilentU2701ATVTriggerEventEnum” on page 125 for
more information.
2Configuration
Example
70U2701A/U2702A IVI-COM Programmer’s Reference
Configuration2
LineNumber
Ty p e
Property
Function
Get and Set
Description
This command returns/sets the line on which the oscilloscope triggers. The
line number is absolute and not relative to the field of the TV signal.
Hierarchy
IAgilentU2701A
;
Trigger
;
TV
;
LineNumber
Return Format
Long/Int32
U2701A/U2702A IVI-COM Programmer’s Reference71
2Configuration
Example
SignalFormat
Ty p e
Property
Function
Get and Set
72U2701A/U2702A IVI-COM Programmer’s Reference
Configuration2
Description
This command returns/sets the format of the TV signal on which the
oscilloscope triggers.
Hierarchy
IAgilentU2701A
;
Trigger
;
TV
;
SignalFormat
Return Format
ItemTypeDescription
AgilentU2701ATV
SignalFormat
Enum
EnumSee “AgilentU2701ATVSignalFormatEnum” on page 124
for more information.
U2701A/U2702A IVI-COM Programmer’s Reference73
2Configuration
Example
74U2701A/U2702A IVI-COM Programmer’s Reference
Configuration2
Type
Ty p e
Property
Function
Get and Set
Description
This command returns/sets the kind of event that triggers the oscilloscope.
Hierarchy
IAgilentU2701A
;
Trigger
;
TV
;
Type
Return Format
ItemTypeDescription
AgilentU2701A
Tr ig g e rTy p eE n um
U2701A/U2702A IVI-COM Programmer’s Reference75
EnumSee “AgilentU2701ATriggerTypeEnum” on page 123 for
more information.
2Configuration
Example
76U2701A/U2702A IVI-COM Programmer’s Reference
Width
Configuration2
This interface configures condition, polarity, and threshold level of width
trigger.
Condition
Ty p e
Property
Function
Get and Set
Description
This command returns/sets whether a pulse within or outside the high
and low thresholds triggers the oscilloscope.
Hierarchy
IAgilentU2701A
;
Trigger
;
Width
;
Condition
Return Format
ItemTypeDescription
AgilentU2701A
WidthCondition
Enum
U2701A/U2702A IVI-COM Programmer’s Reference77
EnumSee “AgilentU2701AWidthConditionEnum” on page 127
for more information.
2Configuration
Example
78U2701A/U2702A IVI-COM Programmer’s Reference
Configuration2
Configure
Ty p e
Method
Function
Set
Description
This command configures the width trigger Source, Level, ThresholdLow,
ThresholdHigh, Polarity, and Condition. A width trigger occurs when a
pulse, which passes through Level, with a width between or outside, the
width threshold is detected.
SourceStringSpecifies the trigger source. This value sets the
Tr ig g e r. Source property.
LevelDoubleSpecifies the trigger level. This value sets the Trigger.Level
property.
ThresholdLowDoubleSets the width triggering low threshold in seconds. This
value sets the Width.ThresholdLow property.
ThresholdHighDoubleSets the width triggering high threshold in seconds. This
value sets the Width.ThresholdHigh property.
U2701A/U2702A IVI-COM Programmer’s Reference79
2Configuration
ItemTypeDescription
PolarityAgilentU2701A
WidthPolarity
Enum
ConditionAgilentU2701A
WidthCondition
Enum
Specifies the width polarity. This value sets the
Width.Polarity property. See
“AgilentU2701AWidthPolarityEnum” on page 127 for more
information.
Specifies the width condition. This value sets the
Width.Condition property. See
“AgilentU2701AWidthConditionEnum” on page 127 for
more information.
80U2701A/U2702A IVI-COM Programmer’s Reference
Example
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference81
2Configuration
Polarity
Ty p e
Property
Function
Get and Set
Description
This command returns/sets the polarity of the pulse that triggers the
oscilloscope.
Hierarchy
IAgilentU2701A
;
Trigger
;
Width
;
Polarity
Return Format
ItemTypeDescription
AgilentU2701A
WidthPolarity
Enum
82U2701A/U2702A IVI-COM Programmer’s Reference
EnumSee “AgilentU2701AWidthPolarityEnum” on page 127 for
more information.
Example
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference83
2Configuration
ThresholdHigh
Ty p e
Property
Function
Get and Set
Description
This command returns/sets the high width threshold time, expressed in
seconds.
Hierarchy
IAgilentU2701A
;
Trigger
;
Width
;
ThresholdHigh
Return Format
Double
84U2701A/U2702A IVI-COM Programmer’s Reference
Example
Configuration2
ThresholdLow
Ty p e
Property
Function
Get and Set
U2701A/U2702A IVI-COM Programmer’s Reference85
2Configuration
Description
This command returns/sets the low width threshold time, expressed in
seconds.
Hierarchy
IAgilentU2701A
;
Trigger
;
Width
;
ThresholdLow
Return Format
Double
Example
86U2701A/U2702A IVI-COM Programmer’s Reference
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference87
2Configuration
Clear
Ty p e
Method
Function
Set
Description
This command clears all event registers and error queues. The enable
registers are unaffected.
Hierarchy
IAgilentU2701A
;
Status
;
Clear()
Example
88U2701A/U2702A IVI-COM Programmer’s Reference
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference89
2Configuration
ConfigureServiceRequest
Ty p e
Method
Function
Set
Description
This command clears all the enable registers. It then sets the appropriate
transition filters and enable registers so when the specified event(s)
occur(s) the instrument requests service. All other events are disabled
from generating a service request. To detect a service request the client
application must poll the status byte using the SerialPoll method or
Register property and test the request service bit.
Hierarchy
IAgilentU2701A
;
Status
;
ConfigureServiceRequest(Reason)
Parameters
ItemTypeDescription
ReasonAgilentU2701A
SRQReasonEnum
90U2701A/U2702A IVI-COM Programmer’s Reference
The defined values are expressed in the powers of two: 1,
2, 4, and so on. You can OR several reasons together so
multiple events can generate a service request. See
“AgilentU2701ASRQReasonEnum” on page 117 for more
information.
Example
Configuration2
U2701A/U2702A IVI-COM Programmer’s Reference91
2Configuration
Preset
Ty p e
Method
Function
Set
Description
This command sets the SCPI defined enable registers and transition filters.
Hierarchy
IAgilentU2701A
;
Status
;
Preset()
Example
92U2701A/U2702A IVI-COM Programmer’s Reference
Loading...
+ 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.