3
In This Book
This book is your guide to SCPI programming with the M9241/42/43A PXIe
oscilloscopes:
The first few chapters describe how to set up and get started:
•
Chapter 1, “What's New,” starting on page 35, describes programming
command changes in the latest version of oscilloscope software.
•
Chapter 2, “Setting Up,” starting on page 45, describes the steps you must take
before you can program the oscilloscope.
•
Chapter 3, “Getting Started,” starting on page 51, gives a general overview of
oscilloscope program structure and shows how to program the oscilloscope
using a few simple examples.
•
Chapter 4, “Sequential (Blocking) vs. Overlapped Commands,” starting on page
63, describes these command types and how they affect the oscilloscope and
synchronization.
•
Chapter 5, “Commands Quick Reference,” starting on page 65, is a brief listing
of the M9241/42/43A PXIe oscilloscope commands and syntax.
The next chapters provide reference information on common commands, root level
commands, other subsystem commands, and error messages:
•
Chapter 6, “Common (*) Commands,” starting on page 173, describes
commands defined by the IEEE 488.2 standard that are common to all
instruments.
•
Chapter 7, “Root (:) Commands,” starting on page 201, describes commands
that reside at the root level of the command tree and control many of the basic
functions of the oscilloscope.
•
Chapter 8, “:ACQuire Commands,” starting on page 241, describes commands
for setting the parameters used when acquiring and storing data.
•
Chapter 9, “:CALibrate Commands,” starting on page 259, describes utility
commands for determining the state of the calibration factor protection button.
•
Chapter 10, “:CHANnel Commands,” starting on page 271, describes
commands that control all oscilloscope functions associated with individual
analog channels or groups of channels.
•
Chapter 11, “:COUNter Commands,” starting on page 295, describes
commands that control the counter analysis feature.
Table 1
InfiniiVision M9241/42/43A PXIe Oscilloscope Models, Bandwidths, Sample Rates
Bandwidth
200 MHz
500 MHz
1 GHz
Sample Rate
5 GSa/s
5 GSa/s
5 GSa/s
2-Channel DSO
M9241A
M9242A
M9243A
•
Chapter 12, “:DEMO Commands,” starting on page 307, describes commands
that control the education kit demonstration signals that can be output on the
oscilloscope's Demo 1 and Demo 2 terminals.
•
Chapter 13, “:DISPlay Commands,” starting on page 311, describes commands
that control how waveforms, graticule, and text are displayed and written on
the screen.
•
Chapter 14, “:DVM Commands,” starting on page 333, describes commands
that control the digital voltmeter analysis feature.
•
Chapter 15, “:EXTernal Trigger Commands,” starting on page 339, describes
commands that control the input characteristics of the external trigger input.
•
Chapter 16, “:FRANalysis Commands,” starting on page 345, describes
commands that control oscilloscope functions associated with the Frequency
Response Analysis (FRA) feature, which is available is with the license-enabled
built-in waveform generator).
•
Chapter 17, “:FUNCtion Commands,” starting on page 361, describes
commands that control math waveforms.
•
Chapter 18, “:HCOPY Commands,” starting on page 403, describes commands
that set and query the selection of hardcopy device and formatting options.
•
Chapter 19, “:LISTer Commands,” starting on page 407, describes commands
that turn on/off the Lister display for decoded serial data and get the Lister
data.
•
Chapter 20, “:MARKer Commands,” starting on page 411, describes commands
that set and query the settings of X-axis markers (X1 and X2 cursors) and the
Y-axis markers (Y1 and Y2 cursors).
•
Chapter 21, “:MEASure Commands,” starting on page 433, describes
commands that select automatic measurements (and control markers).
•
Chapter 22, “:MEASure Power Commands,” starting on page 519, describes
measurement commands that are available when the DSOX4PWR power
measurements and analysis application is licensed and enabled.
•
Chapter 23, “:MTESt Commands,” starting on page 543, describes commands
that control the mask test features provided with Option LMT.
•
Chapter 24, “:POWer Commands,” starting on page 577, describes commands
that control the DSOX4PWR power measurement application.
•
Chapter 25, “:RECall Commands,” starting on page 681, describes commands
that recall previously saved oscilloscope setups, reference waveforms, or
masks.
•
Chapter 26, “:SAVE Commands,” starting on page 691, describes commands
that save oscilloscope setups, screen images, and data.
•
Chapter 27, “:SBUS Commands,” starting on page 721, describes
commands that control oscilloscope functions associated with the serial
decode bus and serial triggering.
5
•
Chapter 28, “:SEARch Commands,” starting on page 933, describes commands
that control oscilloscope functions associated with searching for waveform
events.
•
Chapter 29, “:SYSTem Commands,” starting on page 1011, describes
commands that control basic system functions of the oscilloscope.
•
Chapter 30, “:TIMebase Commands,” starting on page 1039, describes
commands that control all horizontal sweep functions.
•
Chapter 31, “:TRIGger Commands,” starting on page 1053, describes
commands that control the trigger modes and parameters for each trigger
type.
•
Chapter 32, “:WAVeform Commands,” starting on page 1157, describes
commands that provide access to waveform data.
•
Chapter 33, “:WGEN Commands,” starting on page 1193, describes
commands that control waveform generator (Option WGN) functions and
parameters.
•
Chapter 34, “:WMEMory Commands,” starting on page 1239, describes
commands that control reference waveforms.
•
Chapter 35, “Obsolete and Discontinued Commands,” starting on page 1249,
describes obsolete commands which still work but have been replaced by
newer commands and discontinued commands which are no longer supported.
•
Chapter 36, “Error Messages,” starting on page 1293, lists the instrument error
messages that can occur while programming the oscilloscope.
The command descriptions in this reference show upper and lowercase characters.
For example, :AUToscale indicates that the entire command name is :AUTOSCALE.
The short form, :AUT, is also accepted by the oscilloscope.
Then, there are chapters that describe programming topics and conceptual
information in more detail:
•
Chapter 37, “Status Reporting,” starting on page 1301, describes the
oscilloscope's status registers and how to check the status of the instrument.
•
Chapter 38, “Synchronizing Acquisitions,” starting on page 1333, describes
how to wait for acquisitions to complete before querying measurement results
or performing other operations with the captured data.
•
Chapter 39, “More About Oscilloscope Commands,” starting on page 1353,
contains additional information about oscilloscope programming commands.
Finally, there is a chapter that contains programming examples:
•
Chapter 40, “Programming Examples,” starting on page 1363.
See Also
•
For more information on using the SICL, VISA, and VISA COM libraries in
general, see the documentation that comes with the Keysight IO Libraries
Suite.
•
For information on controller PC interface configuration, see the
documentation for the interface card used (for example, the Keysight 82350B
GPIB interface).
•
For information on oscilloscope front-panel operation, see the Soft Front Panel
User's Guide.
•
For detailed connectivity information, refer to the Keysight Technologies
USB/LAN/GPIB Connectivity Guide. For a printable electronic copy of the
Connectivity Guide, direct your Web browser to www.keysight.com and search
for "Connectivity Guide".
•
For the latest versions of this and other manuals, see:
http://www.keysight.com/manuals/M9241A
7
Contents
In This Book / 3
1 What's New
What's New in Version 7.21 / 36
What's New in Version 7.10 / 38
Version 7.00 at Introduction / 40
Command Differences From 3000T X-Series Oscilloscopes / 41
2 Setting Up
Step 1. Install Keysight IO Libraries Suite software / 46
Step 2. Connect and set up the LAN interface / 47
Step 3. Verify the oscilloscope connection / 48
3 Getting Started
Basic Oscilloscope Program Structure / 52
Initializing / 52
Capturing Data / 52
Analyzing Captured Data / 53
Programming the Oscilloscope / 54
Referencing the IO Library / 54
Opening the Oscilloscope Connection via the IO Library / 55
Initializing the Interface and the Oscilloscope / 55
Using :AUToscale to Automate Oscilloscope Setup / 56
Using Other Oscilloscope Setup Commands / 56
Capturing Data with the :DIGitize Command / 57
Reading Query Responses from the Oscilloscope / 59
Reading Query Results into String Variables / 60
Reading Query Results into Numeric Variables / 60
Reading Definite-Length Block Query Response Data / 60
Sending Multiple Queries and Reading Results / 61
Checking Instrument Status / 62
33
Polling Synchronization With Timeout / 1336
Synchronizing with a Single-Shot Device Under Test (DUT) / 1338
Synchronization with an Averaging Acquisition / 1340
Example: Blocking and Polling Synchronization / 1342
39 More About Oscilloscope Commands
Command Classifications / 1354
Core Commands / 1354
Non-Core Commands / 1354
Obsolete Commands / 1354
Valid Command/Query Strings / 1355
Program Message Syntax / 1355
Duplicate Mnemonics / 1359
Tree Traversal Rules and Multiple Commands / 1359
Query Return Values / 1361
40 Programming Examples
VISA COM Examples / 1364
VISA COM Example in Visual Basic / 1364
VISA COM Example in C# / 1373
VISA COM Example in Visual Basic .NET / 1382
VISA COM Example in Python / 1390
VISA Examples / 1397
VISA Example in C / 1397
VISA Example in Visual Basic / 1406
VISA Example in C# / 1416
VISA Example in Visual Basic .NET / 1427
VISA Example in Python (PyVISA 1.5 and older) / 1437
VISA Example in Python (PyVISA 1.6 and newer) / 1443
SICL Examples / 1450
SICL Example in C / 1450
SICL Example in Visual Basic / 1459
SCPI.NET Examples / 1470
SCPI.NET Example in C# / 1470
SCPI.NET Example in Visual Basic .NET / 1476
SCPI.NET Example in IronPython / 1482
Index
SCPI Programmer's Guide
1 What's New
What's New in Version 7.21 / 36
What's New in Version 7.10 / 38
Version 7.00 at Introduction / 40
Command Differences From 3000T X-Series Oscilloscopes / 41
1
What's New
What's New in Version 7.21
New features in version 7.21 of the InfiniiVision M9241/42/43A PXIe oscilloscope
software are:
•
USB PD (Power Delivery) serial decode and triggering option.
More detailed descriptions of the new and changed commands appear below.
New Commands
Command
Description
:DISPlay:MESSage:CLEar (see
page 329)
Removes all user messages that are currently on screen.
:FRANalysis:FREQuency:SINGle
(see page 350)
Sets the single frequency value.
:FRANalysis:TRACe (see
page 357)
Specifies whether to include gain, phase, both gain and phase, or
neither in the frequency response analysis results.
:POWer:CLResponse:DATA:GM
ARgin? (see page 588)
Returns the gain margin in dB.
:POWer:CLResponse:DATA:GM
ARgin:FREQuency? (see
page 589)
Returns the 0° phase crossover frequency in Hz.
:POWer:CLResponse:DATA:PM
ARgin? (see page 590)
Returns the phase margin in degrees.
:POWer:CLResponse:DATA:PM
ARgin:FREQuency? (see
page 591)
Returns the 0 dB gain crossover frequency in Hz.
:POWer:CLResponse:FREQuen
cy:SINGle (see page 593)
Sets the single frequency value.
:POWer:CLResponse:TRACe
(see page 599)
Specifies whether to include gain, phase, both gain and phase, or
neither in the control loop response analysis results.
:POWer:PSRR:FREQuency:SIN
Gle (see page 638)
Sets the single frequency value.
:POWer:PSRR:TRACe (see
page 642)
Specifies whether to include gain (PSRR) data in the power supply
rejection ratio analysis results.
:SBUS:A429:BAUDrate (see
page 730)
Specifies the user-defined baud rate.
:SBUS:USBPd Commands
(see page 921)
Commands for using the USB PD triggering and serial decode
feature.
37
Changed
Commands
Command
Differences
:RECall:WMEMory:[STARt]
(see page 690)
There is now a option for recalling waveform data from the
controller PC.
:SBUS:A429:SPEed (see
page 737)
The USER option is now available to select a user-defined baud
rate.
:SBUS:MANChester:BAUDr
ate (see page 831)
The minimum baud rate is changed from "2000" to "500".
:SBUS:MODE (see
page 725)
The USBPd mode is now available with the USB PD serial decode
and triggering license.
:SBUS:SENT:PPULse (see
page 876)
The pause mode now, in addition to supporting pause pulses off
and on, supports SENT SPC (Short PWM Code) where message
events are triggered by the master.
:TIMebase:MODE (see
page 1041)
The XY and ROLL modes are now available.
1
What's New
What's New in Version 7.10
New features in version 7.10 of the InfiniiVision M9241/42/43A PXIe oscilloscope
software are:
•
Adaptive persistence option.
•
Random trigger holdoff mode.
More detailed descriptions of the new and changed commands appear below.
New Commands
Command
Description
:DEMO Commands (see
page 307)
Commands for outputting demo signals.
:DISPlay:GRATicule:ALABels
(see page 322)
Turns graticule (grid) axis labels on or off.
:DISPlay:GRATicule:INTensity
(see page 323)
Sets the graticule (grid) intensity.
:DISPlay:GRATicule:TYPE (see
page 324)
Sets the graticule (grid) type.
:FRANalysis:FREQuency:MODE
(see page 349)
Lets you select between the normal swept frequency response
analysis or analysis at a single frequency, which can be useful
when debugging.
:FRANalysis:PPDecade (see
page 353)
Specifies the number of points per decade in the frequency
response analysis.
:FRANalysis:WGEN:VOLTage:PR
OFile (see page 360)
Enables or disables the ability to specify amplitude ramping
within different decades.
:HCOPY:SDUMp:DATA? (see
page 404)
Reads screen image data.
:HCOPY:SDUMp:FORMat (see
page 405)
Specifies the format for screen image data: 24-bit PNG, 24-bit
BMP, or 8-bit BMP8bit.
:MEASure:DELay:DEFine (see
page 462)
Defines slope directions and edge numbers for the
:MEASure:DELay command.
:SBUS:MANChester
Commands (see page 828)
Commands for using the Manchester triggering and serial decode
feature.
:SBUS:NRZ Commands
(see page 847)
Commands for using the NRZ triggering and serial decode
feature.
:TRIGger:HOLDoff:MAXimum
(see page 1060)
When the random trigger holdoff mode is enabled, this command
specifies the maximum trigger holdoff time.
:TRIGger:HOLDoff:MINimum
(see page 1061)
When the random trigger holdoff mode is enabled, this command
specifies the minimum trigger holdoff time.
39
Changed
Commands
:TRIGger:HOLDoff:RANDom
(see page 1062)
Enables or disables the random trigger holdoff mode.
:TRIGger:NFC:RPOLarity (see
page 1098)
Enables or disables triggering on signals with "reverse" polarity.
:TRIGger:PXI:SYNC (see
page 1122)
Enables or disables the sync mode (when setting up multiple
M924xA oscilloscope module triggers).
Command
Description
Command
Differences
:CALibrate:OUTPut (see
page 263)
The TSOurce option can now be selected to output the raw trigger
signal from the oscilloscope's trigger circuit to Trig Out.
:CHANnel:PROBe:HEAD:TY
PE (see page 283)
The DSMA and DSMA6 probe head types can now be selected.
:DISPlay:PERSistence (see
page 330)
The ADAPtive persistence option has been added.
:FRANalysis:WGEN:VOLTage
(see page 359)
The option has been added to specify the initial ramp
amplitude at a frequency setting. When the amplitude profile
setting is on, amplitudes ramp between the settings specified for
individual frequencies.
:FUNCtion[:FFT]:WINDow
(see page 383)
The BARTlett window is now available.
:MEASure:DELay (see
page 460)
You can now specify an with the command
and query.
:OPERegister:CONDition (see
page 223)
Bit 4 in the Operation Status Condition Register now shows
whether the remote user interface is enabled.
:OPERegister[:EVENt] (see
page 226)
Bit 4 in the Operation Status Event Register now indicates when
the remote user interface has gone from a disabled state to an
enabled state.
:SBUS:MODE (see
page 725)
The MANChester and NRZ modes are now available with the
M9240NRZA Manchester/NRZ serial decode and triggering
license.
1
What's New
Version 7.00 at Introduction
The Keysight InfiniiVision M9241/42/43A PXIe oscilloscopes were introduced with
version 7.00 of oscilloscope operating software.
The command set is most closely related to the InfiniiVision 3000T X-Series
oscilloscopes (and the 4000 X-Series, 3000 X-Series, 7000A/B Series,
6000 Series, and 54620/54640 Series oscilloscopes before them). For more
information, see "Command Differences From 3000T X-Series Oscilloscopes" on
page 41.
41
Command Differences From 3000T X-Series Oscilloscopes
The Keysight InfiniiVision M9241/42/43A PXIe oscilloscopes command set is most
closely related to the InfiniiVision 3000T X-Series oscilloscopes (and the
4000 X-Series, 3000 X-Series, 7000A/B Series, 6000 Series, and
54620/54640 Series oscilloscopes before them).
The main differences between the version 7.00 programming command set for the
InfiniiVision M9241/42/43A PXIe oscilloscopes and the 4.08 programming
command set for the InfiniiVision 3000T X-Series oscilloscopes are related to:
•
Two analog channels in a module (3000T X-Series oscilloscopes can have two
or four analog channels).
•
No digital channels (or pods, buses, or BTIMing or BSTate math functions).
•
No demo signals.
•
Adds 10 MHz REF connector (similar to 4000 X-Series oscilloscopes).
•
Adds precision measurements and math functions feature.
•
Adds commands for setting up coordinated triggers between multiple PXIe
oscilloscope modules in a chassis.
•
No USB triggering.
•
No XY or Roll timebase modes.
•
Transparent backgrounds for dialog boxes are not available.
•
No dedicated FFT function, but you can choose FFT math function operations.
•
Adds FFT Phase math function (to previous FFT Magnitude math function).
•
FFT detectors are added.
•
FFT measurements are added: Adjacent Channel Power Ratio (ACPR), Channel
Power, Occupied Bandwidth, and Total Harmonic Distortion.
•
No LINE source for edge trigger.
•
No external input on pattern trigger (just the two analog channels).
•
Single-lane decoding supported for IIC and UART/RS-232.
•
No support for I2S, SPI, or FlexRay serial decode and triggering.
•
Internal file system locations are now on the PXIe chassis controller PC (instead
of /Agilent Flash/).
•
Frequency Response Analysis feature is added.
•
No printer setup (:HARDcopy comand) from within the remote interface.
•
No EXTernal source allowed for serial bus sources (as compared to DSO models
of the 3000T X-Series).
•
System dates and times are set by the PXIe chassis controller PC.
1
What's New
More detailed descriptions of the new, changed, obsolete, and discontinued
commands appear below.
New Commands
Command
Description
:ACQuire:RSIGnal (see
page 250)
There is a 10 MHz REF connector on the M9241/42/43A PXIe
oscilloscopes.
:FRANalysis Commands (see
page 345)
Commands for using the Frequency Response Analysis feature.
:FUNCtion[:FFT]:BSIZe?
(see page 370)
Returns the Bin Size setting for the FFT.
:FUNCtion[:FFT]:DETection
:POINts (see page 372)
Specifies the maximum number of points that the FFT detector
should decimate to.
:FUNCtion[:FFT]:DETection
:TYPE (see page 373)
Sets the FFT detector decimation type.
:FUNCtion[:FFT]:RBWidth?
(see page 378)
Returns the Resolution Bandwidth setting for the FFT.
:FUNCtion[:FFT]:READout<
n> (see page 379)
For the FFT, selects from these types of readouts: Resolution
Bandwidth, Bin Size, or Sample Rate.
:FUNCtion[:FFT]:SRATe?
(see page 381)
Returns the Sample Rate setting for the FFT.
:MEASure:FFT:ACPR (see
page 471)
Installs an FFT analysis Adjacent Channel Power Ratio (ACPR)
measurement on screen or returns the measured value.
:MEASure:FFT:CPOWer (see
page 472)
Installs an FFT analysis Channel Power measurement on screen or
returns the measured value.
:MEASure:FFT:OBW (see
page 473)
Installs an FFT analysis Occupied Bandwidth measurement on
screen or returns the measured value.
:MEASure:FFT:THD (see
page 474)
Installs an FFT analysis Total Harmonic Distortion measurement
on screen or returns the measured value.
:SYSTem:GUI:SHOW (see
page 1017)
Shows or hides the Soft Front Panel (SFP) user interface.
:SYSTem:PRECision (see
page 1021)
Enables or disables the precision measurements and math
functions feature.
:SYSTem:PRECision:LENGth
(see page 1022)
Specifies the length of the precision analysis record.
:TIMebase:REFClock (see
page 1044)
There is a 10 MHz REF connector on the M9241/42/43A PXIe
oscilloscopes.
:TRIGger:PXI Commands (see
page 1116)
Commands for setting up coordinated triggers between multiple
PXIe oscilloscope modules in a chassis.
43
Changed
Commands
Command
Differences From InfiniiVision 3000T X-Series Oscilloscopes
:CALibrate:OUTPut (see
page 263)
The OFF option is now available.
:DISPlay:ANNotation:BACK
ground (see page 315)
The TRANsparent option is not available.
:DISPlay:DATA? (see
page 321)
The GRAYscale palette option is not available. Also, the
background color invert is not available because there is no
:HARDcopy:INKSaver command.
:FUNCtion:OPERation (see
page 390)
The BTIMing and BSTate operations are not available.
:SBUS:CAN:SOURce (see
page 761)
The EXTernal trigger input source is not available.
:SBUS:IIC[:SOURce]:CLOCk
(see page 794)
The EXTernal trigger input source is not available.
:SBUS:IIC[:SOURce]:DATA?
(see page 795)
The EXTernal trigger input source is not available.
:SBUS:LIN:SOURce (see
page 808)
The EXTernal trigger input source is not available.
:SBUS:MODE (see
page 725)
The FLEXray, I2S, and SPI modes are not available.
:SBUS:SENT:SOURce (see
page 889)
The EXTernal trigger input source is not available.
:SBUS:UART:SOURce:RX
(see page 912)
The EXTernal trigger input source is not available.
:SBUS:UART:SOURce:TX
(see page 913)
The EXTernal trigger input source is not available.
:SYSTem:DATE (see
page 1014)
The command for setting the date is no longer available, but the
query for getting the date is still available.
:SYSTem:TIME (see
page 1036)
The command for setting the time is no longer available, but the
query for getting the time is still available.
:SYSTem:RLOGger:TRANsparen
t (see page 1032)
OFF is the only valid option.
:TIMebase:MODE (see
page 1041)
The XY and ROLL modes are not available.
:TRIGger:MODE (see
page 1066)
The USB mode is not available.
:TRIGger[:EDGE]:SOURce (see
page 1086)
The LINE source is not available.
1
What's New
Discontinued
Commands
Discontinued Command
Current Command Equivalent
Comments
:BUS Commands
none
There are no digital channels in
the M9241/42/43A PXIe
oscilloscopes.
:DEMO Commands
none
There are no demo signals
output by the M9241/42/43A
PXIe oscilloscopes.
:DIGital Commands
none
There are no digital channels in
the M9241/42/43A PXIe
oscilloscopes.
:FFT Commands
:FUNCtion:OPERation (see
page 390) FFT
There is no dedicated FFT
function, but you can choose
FFT math function operations.
:FUNCtion:BUS:CLOCk
:FUNCtion:BUS:SLOPe
:FUNCtion:BUS:YINCreme
nt
:FUNCtion:BUS:YORigin
:FUNCtion:BUS:YUNits
none
There are no digital channels in
the M9241/42/43A PXIe
oscilloscopes.
:FUNCtion:TRENd:MEASur
ement
:FUNCtion:TRENd:NMEasu
rement (see page 401)
The current command specifies
the number of an installed
measurement instead of a
measurement name.
:HARDcopy Commands
none
Printing takes place on the
PXIe chassis controller PC.
:MTESt:RMODe:FACTion:PRINt
none
Printing takes place on the
PXIe chassis controller PC.
:POD Commands
none
There are no digital channels in
the M9241/42/43A PXIe
oscilloscopes.
:PRINt
none
Printing takes place on the
PXIe chassis controller PC.
:SYSTem:DATE
none
The date and time are set on
the PXIe chassis controller PC.
:SYSTem:TIME
none
The date and time are set on
the PXIe chassis controller PC.
:TRIGger:USB Commands
none
These commands are not
available.
SCPI Programmer's Guide
2 Setting Up
Step 1. Install Keysight IO Libraries Suite software / 46
Step 2. Connect and set up the LAN interface / 47
Step 3. Verify the oscilloscope connection / 48
This chapter explains how to install the Keysight IO Libraries Suite software,
connect the oscilloscope to the controller PC, set up the oscilloscope, and verify
the oscilloscope connection.
2
Setting Up
Step 1. Install Keysight IO Libraries Suite software
1
Download the Keysight IO Libraries Suite software from the Keysight web site
at:
•
http://www.keysight.com/find/iolib
2
Run the setup file, and follow its installation instructions.
47
Step 2. Connect and set up the LAN interface
The PXI chassis' LAN interface is used for SCPI programming of M9241/42/43A
PXIe oscilloscopes.
Refer to the PXI chassis' documentation for connecting the chassis to a LAN and
setting it up.
Once the PXI chassis is set up on the LAN, you can control M9241/42/43A PXIe
oscilloscopes using their HiSLIP control port. To get an oscilloscope's HiSLIP
(VISA) address:
1
In the oscilloscope's Front Panel graphical user interface, choose (Menu) >
Utilities > I/O Menu.
2
In the dialog box that appears, take note of the HiSLIP address.
2
Setting Up
Step 3. Verify the oscilloscope connection
1
On the controller PC, click on the Keysight IO Control icon in the taskbar and
choose Utilities > Interactive IO from the popup menu.
2
In the Keysight Interactive IO application, choose Connect > Connect....
3
In the Connect dialog box, enter the oscilloscope's HiSLIP address into the
Resource Name field and click OK.
4
Enter commands in the Command field and press Send Command, Read Response,
or Send & Read.
SCPI Programmer's Guide
3 Getting Started
Basic Oscilloscope Program Structure / 52
Programming the Oscilloscope / 54
This chapter gives you an overview of programming the M9241/42/43A PXIe
oscilloscopes. It describes basic oscilloscope program structure and shows how to
program the oscilloscope using a few simple examples.
The getting started examples show how to send oscilloscope setup, data capture,
and query commands, and they show how to read query results.
NOTE
Language for Program Examples
The programming examples in this guide are written in Visual Basic using the Keysight VISA
COM library.
3
Getting Started
Basic Oscilloscope Program Structure
The following figure shows the basic structure of every program you will write for
the oscilloscope.
Initializing
To ensure consistent, repeatable performance, you need to start the program,
controller, and oscilloscope in a known state. Without correct initialization, your
program may run correctly in one instance and not in another. This might be due
to changes made in configuration by previous program runs or from the front panel
of the oscilloscope.
•
Program initialization defines and initializes variables, allocates memory, or
tests system configuration.
•
Controller initialization ensures that the interface to the oscilloscope is properly
set up and ready for data transfer.
•
Oscilloscope initialization sets the channel configuration, channel labels,
threshold voltages, trigger specification, trigger mode, timebase, and
acquisition type.
Capturing Data
Once you initialize the oscilloscope, you can begin capturing data for analysis.
Remember that while the oscilloscope is responding to commands from the
controller, it is not performing acquisitions. Also, when you change the
oscilloscope configuration, any data already captured will most likely be rendered.
To collect data, you use the :DIGitize command. This command clears the
waveform buffers and starts the acquisition process. Acquisition continues until
acquisition memory is full, then stops. The acquired data is displayed by the
oscilloscope, and the captured data can be measured, stored in acquisition
memory in the oscilloscope, or transferred to the controller for further analysis.
Any additional commands sent while :DIGitize is working are buffered until
:DIGitize is complete.
53
You could also put the oscilloscope into run mode, then use a wait loop in your
program to ensure that the oscilloscope has completed at least one acquisition
before you make a measurement. Keysight does not recommend this because the
needed length of the wait loop may vary, causing your program to fail. :DIGitize, on
the other hand, ensures that data capture is complete. Also, :DIGitize, when
complete, stops the acquisition process so that all measurements are on displayed
data, not on a constantly changing data set.
Analyzing Captured Data
After the oscilloscope has completed an acquisition, you can find out more about
the data, either by using the oscilloscope measurements or by transferring the
data to the controller for manipulation by your program. Built-in measurements
include: frequency, duty cycle, period, positive pulse width, and negative pulse
width.
Using the :WAVeform commands, you can transfer the data to your controller. You
may want to display the data, compare it to a known good measurement, or simply
check logic patterns at various time intervals in the acquisition.
3
Getting Started
Programming the Oscilloscope
•
"Referencing the IO Library" on page 54
•
"Opening the Oscilloscope Connection via the IO Library" on page 55
•
"Using :AUToscale to Automate Oscilloscope Setup" on page 56
•
"Using Other Oscilloscope Setup Commands" on page 56
•
"Capturing Data with the :DIGitize Command" on page 57
•
"Reading Query Responses from the Oscilloscope" on page 59
•
"Reading Query Results into String Variables" on page 60
•
"Reading Query Results into Numeric Variables" on page 60
•
"Reading Definite-Length Block Query Response Data" on page 60
•
"Sending Multiple Queries and Reading Results" on page 61
•
"Checking Instrument Status" on page 62
Referencing the IO Library
No matter which instrument programming library you use (SICL, VISA, or VISA
COM), you must reference the library from your program.
In C/C++, you must tell the compiler where to find the include and library files (see
the Keysight IO Libraries Suite documentation for more information).
To reference the Keysight VISA COM library in Visual Basic for Applications (VBA,
which comes with Microsoft Office products like Excel):
1
Choose Tools > References... from the main menu.
2
In the References dialog, check the "VISA COM 5.5 Type Library".
3
Click OK.
55
To reference the Keysight VISA COM library in Microsoft Visual Basic 6.0:
1
Choose Project > References... from the main menu.
2
In the References dialog, check the "VISA COM 5.5 Type Library".
3
Click OK.
Opening the Oscilloscope Connection via the IO Library
PC controllers communicate with the oscilloscope by sending and receiving
messages over a remote interface. Once you have opened a connection to the
oscilloscope over the remote interface, programming instructions normally appear
as ASCII character strings embedded inside write statements of the programing
language. Read statements are used to read query responses from the
oscilloscope.
For example, when using the Keysight VISA COM library in Visual Basic (after
opening the connection to the instrument using the ResourceManager object's
Open method), the FormattedIO488 object's WriteString, WriteNumber, WriteList,
or WriteIEEEBlock methods are used for sending commands and queries. After a
query is sent, the response is read using the ReadString, ReadNumber, ReadList,
or ReadIEEEBlock methods.
The following Visual Basic statements open the connection and send a command
that turns on the oscilloscope's label display.
Dim myMgr As VisaComLib.ResourceManager
Dim myScope As VisaComLib.FormattedIO488
Set myMgr = New VisaComLib.ResourceManager
Set myScope = New VisaComLib.FormattedIO488
' Open the connection to the oscilloscope. Get the VISA Address from the
' Keysight Connection Expert (installed with Keysight IO Libraries Suite
).
Set myScope.IO = myMgr.Open("")
' Send a command.
myScope.WriteString ":DISPlay:LABel ON"
The ":DISPLAY:LABEL ON" in the above example is called a program message.
Program messages are explained in more detail in "Program Message Syntax" on
page 1355.
Initializing the Interface and the Oscilloscope
To make sure the bus and all appropriate interfaces are in a known state, begin
every program with an initialization statement. When using the Keysight VISA
COM library, you can use the resource session object's Clear method to clears the
interface buffer:
3
Getting Started
Dim myMgr As VisaComLib.ResourceManager
Dim myScope As VisaComLib.FormattedIO488
Set myMgr = New VisaComLib.ResourceManager
Set myScope = New VisaComLib.FormattedIO488
' Open the connection to the oscilloscope. Get the VISA Address from the
' Keysight Connection Expert (installed with Keysight IO Libraries Suite
).
Set myScope.IO = myMgr.Open("")
' Clear the interface buffer and set the interface timeout to 10 seconds
.
myScope.IO.Clear
myScope.IO.Timeout = 10000
When you are using GPIB, CLEAR also resets the oscilloscope's parser. The parser
is the program which reads in the instructions which you send it.
After clearing the interface, initialize the instrument to a preset state:
myScope.WriteString "*RST"
Using :AUToscale to Automate Oscilloscope Setup
The :AUToscale command performs a very useful function for unknown waveforms
by setting up the vertical channel, time base, and trigger level of the instrument.
The syntax for the autoscale command is:
myScope.WriteString ":AUToscale"
Using Other Oscilloscope Setup Commands
A typical oscilloscope setup would set the vertical range and offset voltage, the
horizontal range, delay time, delay reference, trigger mode, trigger level, and
slope. An example of the commands that might be sent to the oscilloscope are:
myScope.WriteString ":CHANnel1:PROBe 10"
myScope.WriteString ":CHANnel1:RANGe 16"
myScope.WriteString ":CHANnel1:OFFSet 1.00"
myScope.WriteString ":TIMebase:MODE MAIN"
myScope.WriteString ":TIMebase:RANGe 1E-3"
myScope.WriteString ":TIMebase:DELay 100E-6"
NOTE
Information for Initializing the Instrument
The actual commands and syntax for initializing the instrument are discussed in Chapter 6,
“Common (*) Commands,” starting on page 173.
Refer to the Keysight IO Libraries Suite documentation for information on initializing the
interface.
57
Vertical is set to 16 V full-scale (2 V/div) with center of screen at 1 V and probe
attenuation set to 10. This example sets the time base at 1 ms full-scale (100
ms/div) with a delay of 100 µs.
Example Oscilloscope Setup Code
This program demonstrates the basic command structure used to program the
oscilloscope.
' Initialize the instrument interface to a known state.
myScope.IO.Clear
myScope.IO.Timeout = 10000
' Set interface timeout to 10 seconds.
' Initialize the instrument to a preset state.
myScope.WriteString "*RST"
' Set the time base mode to normal with the horizontal time at
' 50 ms/div with 0 s of delay referenced at the center of the
' graticule.
myScope.WriteString ":TIMebase:RANGe 5E-4"
' Time base to 50 us/div.
myScope.WriteString ":TIMebase:DELay 0"
' Delay to zero.
myScope.WriteString ":TIMebase:REFerence CENTer"
' Display ref. at
' center.
' Set the vertical range to 1.6 volts full scale with center screen
' at -0.4 volts with 10:1 probe attenuation and DC coupling.
myScope.WriteString ":CHANnel1:PROBe 10"
' Probe attenuation
' to 10:1.
myScope.WriteString ":CHANnel1:RANGe 1.6"
' Vertical range
' 1.6 V full scale.
myScope.WriteString ":CHANnel1:OFFSet -0.4"
' Offset to -0.4.
myScope.WriteString ":CHANnel1:COUPling DC"
' Coupling to DC.
' Configure the instrument to trigger at -0.4 volts with normal
' triggering.
myScope.WriteString ":TRIGger:SWEep NORMal"
' Normal triggering.
myScope.WriteString ":TRIGger:LEVel -0.4"
' Trigger level to -0.4.
myScope.WriteString ":TRIGger:SLOPe POSitive" ' Trigger on pos. slope.
' Configure the instrument for normal acquisition.
myScope.WriteString ":ACQuire:TYPE NORMal"
' Normal acquisition.
Capturing Data with the :DIGitize Command
The :DIGitize command captures data that meets the specifications set up by the
:ACQuire subsystem. When the digitize process is complete, the acquisition is
stopped. The captured data can then be measured by the instrument or
transferred to the controller for further analysis. The captured data consists of two
parts: the waveform data record, and the preamble.
3
Getting Started
When you send the :DIGitize command to the oscilloscope, the specified channel
signal is digitized with the current :ACQuire parameters. To obtain waveform data,
you must specify the :WAVeform parameters for the SOURce channel, the FORMat
type, and the number of POINts prior to sending the :WAVeform:DATA? query.
The number of data points comprising a waveform varies according to the number
requested in the :ACQuire subsystem. The :ACQuire subsystem determines the
number of data points, type of acquisition, and number of averages used by the
:DIGitize command. This allows you to specify exactly what the digitized
information contains.
The following program example shows a typical setup:
myScope.WriteString ":ACQuire:TYPE AVERage"
myScope.WriteString ":ACQuire:COMPlete 100"
myScope.WriteString ":ACQuire:COUNt 8"
myScope.WriteString ":DIGitize CHANnel1"
myScope.WriteString ":WAVeform:SOURce CHANnel1"
myScope.WriteString ":WAVeform:FORMat BYTE"
myScope.WriteString ":WAVeform:POINts 500"
myScope.WriteString ":WAVeform:DATA?"
This setup places the instrument into the averaged mode with eight averages. This
means that when the :DIGitize command is received, the command will execute
until the signal has been averaged at least eight times.
After receiving the :WAVeform:DATA? query, the instrument will start passing the
waveform information.
Digitized waveforms are passed from the instrument to the controller by sending a
numerical representation of each digitized point. The format of the numerical
representation is controlled with the :WAVeform:FORMat command and may be
selected as BYTE, WORD, or ASCii.
NOTE
Ensure New Data is Collected
When you change the oscilloscope configuration, the waveform buffers are cleared. Before
doing a measurement, send the :DIGitize command to the oscilloscope to ensure new data has
been collected.
NOTE
Set :TIMebase:MODE to MAIN when using :DIGitize
:TIMebase:MODE must be set to MAIN to perform a :DIGitize command or to perform any
:WAVeform subsystem query. A "Settings conflict" error message will be returned if these
commands are executed when MODE is set to ROLL, XY, or WINDow (zoomed). Sending the
*RST (reset) command will also set the time base mode to normal.
59
The easiest method of transferring a digitized waveform depends on data
structures, formatting available and I/O capabilities. You must scale the integers to
determine the voltage value of each point. These integers are passed starting with
the left most point on the instrument's display.
For more information, see the waveform subsystem commands and corresponding
program code examples in Chapter 32, “:WAVeform Commands,” starting on page
1157.
Reading Query Responses from the Oscilloscope
After receiving a query (command header followed by a question mark), the
instrument interrogates the requested function and places the answer in its output
queue. The answer remains in the output queue until it is read or another
command is issued. When read, the answer is transmitted across the interface to
the designated listener (typically a controller).
The statement for reading a query response message from an instrument's output
queue typically has a format specification for handling the response message.
When using the VISA COM library in Visual Basic, you use different read methods
(ReadString, ReadNumber, ReadList, or ReadIEEEBlock) for the various query
response formats. For example, to read the result of the query command
:CHANnel1:COUPling? you would execute the statements:
myScope.WriteString ":CHANnel1:COUPling?"
Dim strQueryResult As String
strQueryResult = myScope.ReadString
This reads the current setting for the channel one coupling into the string variable
strQueryResult.
All results for queries (sent in one program message) must be read before another
program message is sent.
Sending another command before reading the result of the query clears the output
buffer and the current response. This also causes an error to be placed in the error
queue.
Executing a read statement before sending a query causes the controller to wait
indefinitely.
The format specification for handling response messages depends on the
programming language.
NOTE
Aborting a Digitize Operation Over the Programming Interface
When using the programming interface, you can abort a digitize operation by sending a Device
Clear over the bus (for example, myScope.IO.Clear).
3
Getting Started
Reading Query Results into String Variables
The output of the instrument may be numeric or character data depending on
what is queried. Refer to the specific command descriptions for the formats and
types of data returned from queries.
The following example shows numeric data being returned to a string variable:
myScope.WriteString ":CHANnel1:RANGe?"
Dim strQueryResult As String
strQueryResult = myScope.ReadString
MsgBox "Range (string):" + strQueryResult
After running this program, the controller displays:
Range (string): +40.0E+00
Reading Query Results into Numeric Variables
The following example shows numeric data being returned to a numeric variable:
myScope.WriteString ":CHANnel1:RANGe?"
Dim varQueryResult As Variant
varQueryResult = myScope.ReadNumber
MsgBox "Range (variant):" + CStr(varQueryResult)
After running this program, the controller displays:
Range (variant): 40
Reading Definite-Length Block Query Response Data
Definite-length block query response data allows any type of device-dependent
data to be transmitted over the system interface as a series of 8-bit binary data
bytes. This is particularly useful for sending large quantities of data or 8-bit
extended ASCII codes. The syntax is a pound sign (#) followed by a non-zero digit
representing the number of digits in the decimal integer. After the non-zero digit is
the decimal integer that states the number of 8-bit data bytes being sent. This is
followed by the actual data.
For example, for transmitting 1000 bytes of data, the syntax would be:
NOTE
Express String Variables Using Exact Syntax
In Visual Basic, string variables are case sensitive and must be expressed exactly the same
each time they are used.
61
The "8" states the number of digits that follow, and "00001000" states the number
of bytes to be transmitted.
The VISA COM library's ReadIEEEBlock and WriteIEEEBlock methods understand
the definite-length block syntax, so you can simply use variables that contain the
data:
' Read oscilloscope setup using ":SYSTem:SETup?" query.
myScope.WriteString ":SYSTem:SETup?"
Dim varQueryResult As Variant
varQueryResult = myScope.ReadIEEEBlock(BinaryType_UI1)
' Write learn string back to oscilloscope using ":SYSTem:SETup" command:
myScope.WriteIEEEBlock ":SYSTem:SETup ", varQueryResult
Sending Multiple Queries and Reading Results
You can send multiple queries to the instrument within a single command string,
but you must also read them back as a single query result. This can be
accomplished by reading them back into a single string variable, multiple string
variables, or multiple numeric variables.
For example, to read the :TIMebase:RANGe?;DELay? query result into a single
string variable, you could use the commands:
myScope.WriteString ":TIMebase:RANGe?;DELay?"
Dim strQueryResult As String
strQueryResult = myScope.ReadString
MsgBox "Timebase range; delay:" + strQueryResult
When you read the result of multiple queries into a single string variable, each
response is separated by a semicolon. For example, the output of the previous
example would be:
Timebase range; delay: ;
To read the :TIMebase:RANGe?;DELay? query result into multiple string variables,
you could use the ReadList method to read the query results into a string array
variable using the commands:
myScope.WriteString ":TIMebase:RANGe?;DELay?"
Dim strResults() As String
strResults() = myScope.ReadList(ASCIIType_BSTR)
MsgBox "Timebase range: " + strResults(0) + ", delay: " + strResults(1)
Figure 1
Definite-length block response data
������������������������������������������
�����������
���������������
�����������������
����������������
�����������
3
Getting Started
To read the :TIMebase:RANGe?;DELay? query result into multiple numeric
variables, you could use the ReadList method to read the query results into a
variant array variable using the commands:
myScope.WriteString ":TIMebase:RANGe?;DELay?"
Dim varResults() As Variant
varResults() = myScope.ReadList
MsgBox "Timebase range: " + FormatNumber(varResults(0) * 1000, 4) + _
" ms, delay: " + FormatNumber(varResults(1) * 1000000, 4) + " us"
Checking Instrument Status
Status registers track the current status of the instrument. By checking the
instrument status, you can find out whether an operation has been completed,
whether the instrument is receiving triggers, and more.
For more information, see Chapter 37, “Status Reporting,” starting on page 1301
which explains how to check the status of the instrument.
SCPI Programmer's Guide
4 Sequential (Blocking) vs.
Overlapped Commands
IEEE 488.2 makes the distinction between sequential and overlapped commands
(and queries):
•
Sequential commands also known as blocking commands, finish their task
before the execution of the next command starts.
These oscilloscope commands and queries are sequential (blocking):
•
:AUToscale
•
:DIGitize
•
:WMEMory:SAVE
•
:WAVeform:DATA?
•
Overlapped commands run concurrently. Commands following an overlapped
command may be started before the overlapped command is completed.
Some oscilloscope commands are overlapped. For example, the oscilloscope's
save and recall commands are overlapped as well as some commands that
perform analysis.
With sequential (blocking) commands and queries, the oscilloscope is expected to
stop processing inputs, including additional remote commands and queries as
well as front panel knobs, until completed.
Pausing Execution
Between
Overlapped
Commands
With overlapped commands, you can use the *OPC? query to prevent any more
commands from being executed until the overlapped command is complete. This
may be necessary when a command that follows an overlapped command
interferes with the overlapped command's processing or analysis. For example:
:RECall:SETup "setup.scp";*OPC?;:RECall:ARBitrary "arb_wfm.csv"
You can also use the *ESR? query to look at the OPC bit (bit 0) in the Standard
Event Status Register to determine when an operation is complete.
4
Sequential (Blocking) vs. Overlapped Commands
Pausing Programs
Until Sequential
(Blocking)
Commands are
Complete
Sequential (blocking) commands do not prevent additional commands from being
sent to the queue or cause the remote program to wait. For example, if your
program does something like:
myScope.WriteString ":DIGitize"
Debug.Print "Signal acquired."
The "Signal acquired" message will be written immediately after the :DIGitize is
sent, not after the acquisition and processing is complete.
To pause the program until a sequential (blocking) command is complete, you
must wait for a query result after the sequential (blocking) command. For example,
in this case:
Public strQueryResult As String
myScope.WriteString ":DIGitize;*OPC?"
strQueryResult = myScope.ReadString
Debug.Print "Signal acquired."
The "Signal acquired" message will be written after the acquisition and processing
is complete. The *OPC? query is appended to :DIGitize with a semi-colon (;), which
essentially ties it to the same thread in the parser. It is immediately dealt with once
:DIGitize finishes and gives a "1" back to the program (whether the program uses it
or not), allowing the program to move on.
When using a query to wait until a sequential (blocking) command is complete, it
is possible for the sequential (blocking) command execution to take longer than
the I/O timeout, in which case, there will be a timeout error while waiting for the
query results. You can increase the I/O timeout or have your program poll the
Status Byte Register using the IO libraries' unblocked ReadSTB function to wait for
execution completion.
Using Device Clear
to Abort a
Sequential
(Blocking)
Command
When sequential (blocking) commands take too long or fail to complete for some
reason, you can send a Device Clear over the bus to clear the input buffer and
output queue, reset the parser, and clear any pending commands.
See Also
•
"*OPC (Operation Complete)" on page 185
•
"*ESR (Standard Event Status Register)" on page 181
•
Chapter 38, “Synchronizing Acquisitions,” starting on page 1333
5
Commands Quick Reference
Table 2
Common (*) Commands Summary
Command
Query
Options and Query Returns
*CLS (see page 178)
n/a
n/a
*ESE (see
page 179)
*ESE? (see page 179)
::= 0 to 255; an integer
in NR1 format:
Bit Weight Name Enables
--- ------ ---- ----------
7
128
PON
Power On
6
64
URQ
User Request
5
32
CME
Command Error
4
16
EXE
Execution Error
3
8
DDE
Dev. Dependent Error
2
4
QYE
Query Error
1
2
RQL
Request Control
0
1
OPC
Operation Complete
n/a
*ESR? (see page 181)
::= 0 to 255; an integer
in NR1 format
n/a
*IDN? (see page 181)
KEYSIGHT
TECHNOLOGIES,,,X.XX.XX
::= the model number of
the instrument
::= the serial
number of the instrument
::= the software
revision of the instrument
n/a
*LRN? (see page 184)
::= current
instrument setup as a block of
data in IEEE 488.2 # format
*OPC (see page 185)
*OPC? (see page 185)
ASCII "1" is placed in the output
queue when all pending device
operations have completed.
5
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
71
*SRE (see
page 193)
*SRE? (see page 194)
::= sum of all bits that
are set, 0 to 255; an integer in
NR1 format. ::= following
values:
Bit Weight Name Enables
--- ------ ---- ----------
7
128
OPER Operation Status Reg
6
64
---- (Not used.)
5
32
ESB
Event Status Bit
4
16
MAV
Message Available
3
8
---- (Not used.)
2
4
MSG
Message
1
2
USR
User
0
1
TRG
Trigger
n/a
*STB? (see page 195)
::= 0 to 255; an integer
in NR1 format, as shown in the
following:
Bit Weight Name "1" Indicates
--- ------ ---- ---------------
7
128
OPER Operation status
condition occurred.
6
64
RQS/ Instrument is
MSS
requesting service.
5
32
ESB
Enabled event status
condition occurred.
4
16
MAV
Message available.
3
8
---- (Not used.)
2
4
MSG
Message displayed.
1
2
USR
User event
condition occurred.
0
1
TRG
A trigger occurred.
*TRG (see page 197)
n/a
n/a
n/a
*TST? (see page 198)
::= 0 or non-zero value;
an integer in NR1 format
*WAI (see page 199)
n/a
n/a
Table 2
Common (*) Commands Summary (continued)
Command
Query
Options and Query Returns
5
Commands Quick Reference
Table 3
Root (:) Commands Summary
Command
Query
Options and Query Returns
n/a
:AER? (see page 204)
{0 | 1}; an integer in NR1 format
:AUToscale
[[,..,]] (see page 205)
n/a
::= CHANnel can be repeated up to 5
times
::= 1 to (# analog channels)
in NR1 format
:AUToscale:AMODE
(see page 207)
:AUToscale:AMODE?
(see page 207)
::= {NORMal | CURRent}}
:AUToscale:CHANnels
(see page 208)
:AUToscale:CHANnels?
(see page 208)
::= {ALL | DISPlayed}}
:AUToscale:FDEBug {{0
| OFF} | {1 | ON}}
(see page 209)
:AUToscale:FDEBug?
(see page 209)
{0 | 1}
:BLANk []
(see page 210)
n/a
::= {CHANnel} |
FUNCtion | MATH | FFT |
SBUS{1 | 2} | WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
:DIGitize
[[,..,]] (see page 211)
n/a
::= {CHANnel |
FUNCtion | MATH | FFT |
SBUS{1 | 2}}
can be repeated up to 5
times
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
:HWEenable (see
page 213)
:HWEenable? (see
page 213)
::= 16-bit integer in NR1
format
n/a
:HWERregister:CONDiti
on? (see page 215)
::= 16-bit integer in NR1
format
n/a
:HWERegister[:EVENt]?
(see page 216)
::= 16-bit integer in NR1
format
:MTEenable (see
page 217)
:MTEenable? (see
page 217)
::= 16-bit integer in NR1
format
Commands Quick Reference
5
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
73
n/a
:MTERegister[:EVENt]?
(see page 219)
::= 16-bit integer in NR1
format
:OPEE (see
page 221)
:OPEE? (see page 222)
::= 15-bit integer in NR1
format
n/a
:OPERegister:CONDitio
n? (see page 223)
::= 15-bit integer in NR1
format
n/a
:OPERegister[:EVENt]?
(see page 226)
::= 15-bit integer in NR1
format
:OVLenable
(see page 229)
:OVLenable? (see
page 230)
::= 16-bit integer in NR1
format as shown:
Bit Weight Input
--- ------ ----------
10
1024
Ext Trigger Fault
9
512
Channel 4 Fault
8
256
Channel 3 Fault
7
128
Channel 2 Fault
6
64
Channel 1 Fault
4
16
Ext Trigger OVL
3
8
Channel 4 OVL
2
4
Channel 3 OVL
1
2
Channel 2 OVL
0
1
Channel 1 OVL
n/a
:OVLRegister? (see
page 231)
::= integer in NR1
format. See OVLenable for
:RUN (see page 233)
n/a
n/a
n/a
:SERial (see page 234)
::= unquoted
string containing serial number
:SINGle (see page 235)
n/a
n/a
n/a
:STATus?
(see page 236)
{0 | 1}
::= {CHANnel |
FUNCtion | MATH | FFT |
SBUS{1 | 2} | WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
:STOP (see page 237)
n/a
n/a
Table 3
Root (:) Commands Summary (continued)
Command
Query
Options and Query Returns
5
Commands Quick Reference
n/a
:TER? (see page 238)
{0 | 1}
:VIEW (see
page 239)
n/a
::= {CHANnel |
FUNCtion | MATH | FFT |
SBUS{1 | 2} | WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
Table 3
Root (:) Commands Summary (continued)
Command
Query
Options and Query Returns
Table 4
:ACQuire Commands Summary
Command
Query
Options and Query Returns
n/a
:ACQuire:AALias? (see
page 244)
{1 | 0}
:ACQuire:COMPlete
(see
page 245)
:ACQuire:COMPlete?
(see page 245)
::= 100; an integer in
NR1 format
:ACQuire:COUNt
(see page 246)
:ACQuire:COUNt? (see
page 246)
::= an integer from 2 to
65536 in NR1 format
:ACQuire:DAALias
(see page 247)
:ACQuire:DAALias?
(see page 247)
::= {DISable | AUTO}
:ACQuire:MODE
(see page 248)
:ACQuire:MODE? (see
page 248)
::= {RTIMe | ETIMe |
SEGMented}
n/a
:ACQuire:POINts? (see
page 249)
<# points> ::= an integer in NR1
format
:ACQuire:RSIGnal
(see page 250)
:ACQuire:RSIGnal?
(see page 250)
::= {OFF | OUT
| IN}
:ACQuire:SEGMented:AN
ALyze (see page 251)
n/a
n/a (with SGM license)
:ACQuire:SEGMented:CO
UNt (see
page 252)
:ACQuire:SEGMented:CO
UNt? (see page 252)
::= an integer from 2 to
1000 in NR1 format (with SGM
license)
:ACQuire:SEGMented:IN
Dex (see
page 253)
:ACQuire:SEGMented:IN
Dex? (see page 253)
::= an integer from 1 to
1000 in NR1 format (with SGM
license)
Commands Quick Reference
5
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
75
n/a
:ACQuire:SRATe? (see
page 256)
::= sample rate
(samples/s) in NR3 format
:ACQuire:TYPE
(see page 257)
:ACQuire:TYPE? (see
page 257)
::= {NORMal | AVERage |
HRESolution | PEAK}
Table 4
:ACQuire Commands Summary (continued)
Command
Query
Options and Query Returns
Table 5
:CALibrate Commands Summary
Command
Query
Options and Query Returns
n/a
:CALibrate:DATE? (see
page 261)
::=
,,; all in NR1
format
:CALibrate:LABel
(see
page 262)
:CALibrate:LABel?
(see page 262)
::= quoted ASCII string
up to 32 characters
:CALibrate:OUTPut
(see
page 263)
:CALibrate:OUTPut?
(see page 264)
::= {TRIGgers | MASK |
WAVEgen | WGEN1 | WGEN2 |
TSOurce}
Note: WAVE and WGEN1 are
equivalent.
Note: WGEN2 only available on
models with 2 WaveGen outputs.
n/a
:CALibrate:PROTected?
(see page 265)
{"PROTected" | "UNPRotected"}
:CALibrate:STARt (see
page 266)
n/a
n/a
n/a
:CALibrate:STATus?
(see page 267)
::=
, ::= an integer
status code
::= an ASCII
status string
n/a
:CALibrate:TEMPeratur
e? (see page 268)
::= degrees C
delta since last cal in NR3
format
n/a
:CALibrate:TIME? (see
page 269)
::=
,,; all
in NR1 format
5
Commands Quick Reference
Table 6
:CHANnel Commands Summary
Command
Query
Options and Query Returns
:CHANnel:BWLimit
{{0 | OFF} | {1 |
ON}} (see page 275)
:CHANnel:BWLimit?
(see page 275)
{0 | 1}
::= 1 to (# analog channels)
in NR1 format
:CHANnel:COUPling
(see
page 276)
:CHANnel:COUPling?
(see page 276)
::= {AC | DC}
::= 1 to (# analog channels)
in NR1 format
:CHANnel:DISPlay
{{0 | OFF} | {1 |
ON}} (see page 277)
:CHANnel:DISPlay?
(see page 277)
{0 | 1}
::= 1 to (# analog channels)
in NR1 format
:CHANnel:IMPedance
(see
page 278)
:CHANnel:IMPedance
? (see page 278)
::= {ONEMeg | FIFTy}
::= 1 to (# analog channels)
in NR1 format
:CHANnel:INVert
{{0 | OFF} | {1 |
ON}} (see page 279)
:CHANnel:INVert?
(see page 279)
{0 | 1}
::= 1 to (# analog channels)
in NR1 format
:CHANnel:LABel
(see
page 280)
:CHANnel:LABel?
(see page 280)
::= any series of 32 or
less ASCII characters enclosed in
quotation marks
::= 1 to (# analog channels)
in NR1 format
:CHANnel:OFFSet
[suffix] (see
page 281)
:CHANnel:OFFSet?
(see page 281)
::= Vertical offset
value in NR3 format
[suffix] ::= {V | mV}
::= 1-2 or 1-4; in NR1 format
:CHANnel:PROBe
(see
page 282)
:CHANnel:PROBe?
(see page 282)
::= Probe
attenuation ratio in NR3 format
::= 1-2 or 1-4r in NR1 format
:CHANnel:PROBe:HEA
D[:TYPE]
(see page 283)
:CHANnel:PROBe:HEA
D[:TYPE]? (see
page 283)
::= {SEND0 | SEND6 |
SEND12 | SEND20 | DIFF0 | DIFF6 |
DIFF12 | DIFF20 | DSMA | DSMA6 |
NONE}
::= 1 to (# analog channels)
in NR1 format
n/a
:CHANnel:PROBe:ID?
(see page 284)
::= unquoted ASCII
string up to 11 characters
::= 1 to (# analog channels)
in NR1 format
Commands Quick Reference
5
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
77
:CHANnel:PROBe:MMO
Del (see
page 285)
:CHANnel:PROBe:MMO
Del? (see page 285)
::= {P5205 | P5210 |
P6205 | P6241 | P6243 | P6245 |
P6246 | P6247 | P6248 | P6249 |
P6250 | P6251 | P670X | P671X |
TCP202}
::= 1 to (# analog channels)
in NR1 format
:CHANnel:PROBe:RSE
Nse (see
page 286)
:CHANnel:PROBe:RSE
Nse? (see page 286)
::= Ohms in NR3 format
::= 1 to (# analog channels)
in NR1 format
:CHANnel:PROBe:SKE
W (see
page 287)
:CHANnel:PROBe:SKE
W? (see page 287)
::= -100 ns to +100
ns in NR3 format
::= 1 to (# analog channels)
in NR1 format
:CHANnel:PROBe:STY
Pe (see
page 288)
:CHANnel:PROBe:STY
Pe? (see page 288)
::= {DIFFerential |
SINGle}
::= 1 to (# analog channels)
in NR1 format
:CHANnel:PROBe:ZOO
M {{0 | OFF} | {1 |
ON}} (see page 289)
:CHANnel:PROBe:ZOO
M? (see page 289)
::= {0 | 1}
::= 1 to (# analog channels)
in NR1 format
:CHANnel:PROTectio
n (see page 290)
:CHANnel:PROTectio
n? (see page 290)
{NORM | TRIP}
::= 1 to (# analog channels)
in NR1 format
:CHANnel:RANGe
[suffix] (see
page 291)
:CHANnel:RANGe?
(see page 291)
::= Vertical full-scale
range value in NR3 format
[suffix] ::= {V | mV}
::= 1 to (# analog channels)
in NR1 format
:CHANnel:SCALe
[suffix] (see
page 292)
:CHANnel:SCALe?
(see page 292)
::= Vertical units per
division value in NR3 format
[suffix] ::= {V | mV}
::= 1 to (# analog channels)
in NR1 format
Table 6
:CHANnel Commands Summary (continued)
Command
Query
Options and Query Returns
5
Commands Quick Reference
:CHANnel:UNITs
(see page 293)
:CHANnel:UNITs?
(see page 293)
::= {VOLT | AMPere}
::= 1 to (# analog channels)
in NR1 format
:CHANnel:VERNier
{{0 | OFF} | {1 |
ON}} (see page 294)
:CHANnel:VERNier?
(see page 294)
{0 | 1}
::= 1 to (# analog channels)
in NR1 format
Table 6
:CHANnel Commands Summary (continued)
Command
Query
Options and Query Returns
Table 7
:COUNter Commands Summary
Command
Query
Options and Query Returns
n/a
:COUNter:CURRent?
(see page 297)
::= current counter value
in NR3 format
:COUNter:ENABle {{0 |
OFF} | {1 | ON}} (see
page 298)
:COUNter:ENABle? (see
page 298)
{0 | 1}
:COUNter:MODE
(see page 299)
:COUNter:MODE (see
page 299)
::= {FREQuency | PERiod |
TOTalize}
:COUNter:NDIGits
(see page 300)
:COUNter:NDIGits (see
page 300)
::= 3 to 8 in NR1 format
:COUNter:SOURce
(see
page 301)
:COUNter:SOURce? (see
page 301)
::= {CHANnel |
TQEVent}
::= 1 to (# analog channels)
in NR1 format
:COUNter:TOTalize:CLE
ar (see page 302)
n/a
n/a
:COUNter:TOTalize:GAT
E:ENABle {{0 | OFF} |
{1 | ON}} (see
page 303)
:COUNter:TOTalize:GAT
E:ENABle? (see
page 303)
{0 | 1}
:COUNter:TOTalize:GAT
E:POLarity
(see page 304)
:COUNter:TOTalize:GAT
E:POLarity? (see
page 304)
::= {{NEGative |
FALLing} | {POSitive | RISing}}
:COUNter:TOTalize:GAT
E:SOURce
(see page 305)
:COUNter:TOTalize:GAT
E:SOURce? (see
page 305)
::= CHANnel ::= 1 to (# analog channels)
in NR1 format
:COUNter:TOTalize:SLO
Pe (see
page 306)
:COUNter:TOTalize:SLO
Pe? (see page 306)
::= {{NEGative | FALLing}
| {POSitive | RISing}}
Commands Quick Reference
5
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
79
Table 8
:DEMO Commands Summary
Command
Query
Options and Query Returns
:DEMO:FUNCtion
(see
page 308)
:DEMO:FUNCtion? (see
page 309)
::= {SINusoid | NOISy |
RINGing | SINGle | CLK | GLITch |
BURSt | RUNT | TRANsition |
RFBurst | LFSine | FMBurst | NFC
| CXPI | ARINc | MANChester | MIL
| NMONotonic | HARMonics |
COUPling | KEYSight}
:DEMO:OUTPut {{0 |
OFF} | {1 | ON}} (see
page 310)
:DEMO:OUTPut? (see
page 310)
{0 | 1}
Table 9
:DISPlay Commands Summary
Command
Query
Options and Query Returns
:DISPlay:ANNotation {{0 | OFF} | {1 |
ON}} (see page 314)
:DISPlay:ANNotation? (see page 314)
{0 | 1}
::= an integer from 1 to 4 in
NR1 format.
:DISPlay:ANNotation:BACKground
(see page 315)
:DISPlay:ANNotation:BACKground? (see
page 315)
::= {OPAQue | INVerted}
::= an integer from 1 to 4 in
NR1 format.
:DISPlay:ANNotation:COLor (see
page 316)
:DISPlay:ANNotation:COLor? (see
page 316)
::= {CH1 | CH2 | CH3 |
CH4 | DIG | MATH | REF | MARKer |
WHITe | RED}
::= an integer from 1 to 4 in
NR1 format.
:DISPlay:ANNotation:TEXT (see
page 317)
:DISPlay:ANNotation:TEXT? (see page 317)
::= quoted ASCII string
(up to 254 characters)
::= an integer from 1 to 4 in
NR1 format.
:DISPlay:ANNotation:X1Position
(see page 318)
:DISPlay:ANNotation:X1Position? (see
page 318)
::= an integer from 0 to
(800 - width of annotation) in
NR1 format.
::= an integer from 1 to 4 in
NR1 format.
:DISPlay:ANNotation:Y1Position
(see page 319)
:DISPlay:ANNotation:Y1Position? (see
page 319)
::= an integer from 0 to
(480 - height of annotation) in
NR1 format.
::= an integer from 1 to 4 in
NR1 format.
5
Commands Quick Reference
:DISPlay:CLEar (see
page 320)
n/a
n/a
n/a
:DISPlay:DATA?
[][,][] (see page 321)
::= {BMP | BMP8bit |
PNG}
::= {COLor | GRAYscale}
::= data in IEEE
488.2 # format
:DISPlay:GRATicule:AL
ABels {{0 | OFF} | {1
| ON}} (see page 322)
:DISPlay:GRATicule:AL
ABels? (see page 322)
::= {0 | 1}
:DISPlay:GRATicule:IN
Tensity (see
page 323)
:DISPlay:GRATicule:IN
Tensity? (see
page 323)
::= an integer from 0 to
100 in NR1 format.
:DISPlay:GRATicule:TY
PE (see
page 324)
:DISPlay:GRATicule:TY
PE? (see page 324)
::= {FULL | MVOLt | IRE}
:DISPlay:INTensity:WA
Veform (see
page 325)
:DISPlay:INTensity:WA
Veform? (see page 325)
::= an integer from 0 to
100 in NR1 format.
:DISPlay:LABel {{0 |
OFF} | {1 | ON}} (see
page 326)
:DISPlay:LABel? (see
page 326)
{0 | 1}
:DISPlay:LABList
(see
page 327)
:DISPlay:LABList?
(see page 327)
::= an ordered
list of up to 75 labels, each 10
characters maximum, separated by
newline characters
:DISPlay:MENU
Commands Quick Reference
5
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
81
Table 10
:DVM Commands Summary
Command
Query
Options and Query Returns
:DVM:ARANge {{0 |
OFF} | {1 | ON}} (see
page 334)
:DVM:ARANge? (see
page 334)
{0 | 1}
n/a
:DVM:CURRent? (see
page 335)
::= floating-point
number in NR3 format
:DVM:ENABle {{0 |
OFF} | {1 | ON}} (see
page 336)
:DVM:ENABle? (see
page 336)
{0 | 1}
:DVM:MODE (see
page 337)
:DVM:MODE? (see
page 337)
::= {ACRMs | DC |
DCRMs}
:DVM:SOURce
(see page 338)
:DVM:SOURce? (see
page 338)
::= {CHANnel}
::= 1-2 or 1-4 in NR1 format
Table 11
:EXTernal Trigger Commands Summary
Command
Query
Options and Query Returns
:EXTernal:BWLimit
(see
page 340)
:EXTernal:BWLimit?
(see page 340)
::= {0 | OFF}
:EXTernal:PROBe
(see
page 341)
:EXTernal:PROBe? (see
page 341)
::= probe
attenuation ratio in NR3 format
:EXTernal:RANGe
[]
(see page 342)
:EXTernal:RANGe? (see
page 342)
::= vertical full-scale
range value in NR3 format
::= {V | mV}
:EXTernal:UNITs
(see page 343)
:EXTernal:UNITs? (see
page 343)
::= {VOLT | AMPere}
Table 12
:FRANalysis Commands Summary
Command
Query
Options and Query Returns
n/a
:FRANalysis:DATA?
[SWEep | SINGle] (see
page 347)
::=
comma-separated data with
newlines at the end of each row
:FRANalysis:ENABle
{{0 | OFF} | {1 |
ON}} (see page 348)
:FRANalysis:ENABle?
(see page 348)
{0 | 1}
5
Commands Quick Reference
:FRANalysis:FREQuency
:MODE (see
page 349)
:FRANalysis:FREQuency
:MODE? (see page 349)
::= {SWEep | SINGle}
:FRANalysis:FREQuency
:SINGle
[suffix] (see
page 350)
:FRANalysis:FREQuency
:SINGle? (see
page 350)
::= {20 | 100 | 1000 |
10000 | 100000 | 1000000 |
10000000 | 2000000}
[suffix] ::= {Hz | kHz| MHz}
:FRANalysis:FREQuency
:STARt
[suffix] (see
page 351)
:FRANalysis:FREQuency
:STARt? (see page 351)
::= {20 | 100 | 1000 |
10000 | 100000 | 1000000 |
10000000}
[suffix] ::= {Hz | kHz| MHz}
:FRANalysis:FREQuency
:STOP [suffix]
(see page 352)
:FRANalysis:FREQuency
:STOP? (see page 352)
::= {100 | 1000 | 10000 |
100000 | 1000000 | 10000000 |
20000000}
[suffix] ::= {Hz | kHz| MHz}
:FRANalysis:PPDecade
(see page 353)
:FRANalysis:PPDecade?
(see page 353)
::= {10 | 20 | 30 | 40 |
50 | 60 | 70 | 80 | 90 | 100}
:FRANalysis:RUN (see
page 354)
n/a
n/a
:FRANalysis:SOURce:IN
Put (see
page 355)
:FRANalysis:SOURce:IN
Put? (see page 355)
::= CHANnel ::= 1 to (# analog channels)
in NR1 format
:FRANalysis:SOURce:OU
TPut (see
page 356)
:FRANalysis:SOURce:OU
TPut? (see page 356)
::= CHANnel ::= 1 to (# analog channels)
in NR1 format
:FRANalysis:TRACe
(see
page 357)
:FRANalysis:TRACe?
(see page 357)
::= {NONE | ALL |
GAIN | PHASe}[,{GAIN | PHASe}]
:FRANalysis:WGEN:LOAD
(see
page 358)
:FRANalysis:WGEN:LOAD
? (see page 358)
::= {ONEMeg | FIFTy}
Table 12
:FRANalysis Commands Summary (continued)
Command
Query
Options and Query Returns
Commands Quick Reference
5
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
83
:FRANalysis:WGEN:VOLT
age
,[]
(see page 359)
:FRANalysis:WGEN:VOLT
age? [] (see
page 359)
::= amplitude in
volts in NR3 format
::= {F20HZ | F100HZ |
F1KHZ | F10KHZ | F100KHZ | F1MHZ
| F10MHZ | F20MHZ}
:FRANalysis:WGEN:VOLT
age:PROFile {{0 |
OFF} | {1 | ON}} (see
page 360)
:FRANalysis:WGEN:VOLT
age:PROFile? (see
page 360)
{0 | 1}
Table 12
:FRANalysis Commands Summary (continued)
Command
Query
Options and Query Returns
Table 13
:FUNCtion Commands Summary
Command
Query
Options and Query Returns
:FUNCtion:AVERage:
COUNt (see
page 367)
:FUNCtion:AVERage:
COUNt? (see page 367)
::= an integer from 2 to
65536 in NR1 format
::= 1 to (# math functions)
in NR1 format
:FUNCtion:CLEar
(see page 368)
n/a
n/a
:FUNCtion:DISPlay
{{0 | OFF} | {1 |
ON}} (see page 369)
:FUNCtion:DISPlay?
(see page 369)
{0 | 1}
::= 1 to (# math functions)
in NR1 format
n/a
:FUNCtion[:FFT]:BS
IZe? (see page 370)
::= Hz in NR3 format
::= 1 to (# math functions)
in NR1 format
:FUNCtion[:FFT]:CE
NTer (see
page 371)
:FUNCtion[:FFT]:CE
NTer? (see page 371)
::= the current
center frequency in NR3 format.
The range of legal values is from
-25 GHz to 25 GHz.
::= 1 to (# math functions)
in NR1 format
:FUNCtion[:FFT]:DE
Tection:POINts
(see page 372)
:FUNCtion[:FFT]:DE
Tection:POINts? (see
page 372)
::= an
integer in NR1 format
::= 1 to (# math functions)
in NR1 format
:FUNCtion[:FFT]:DE
Tection:TYPE
(see page 373)
:FUNCtion[:FFT]:DE
Tection:TYPE? (see
page 373)
::= {OFF | SAMPle |
PPOSitive | PNEGative | NORMal |
AVERage}
::= 1 to (# math functions)
in NR1 format
5
Commands Quick Reference
:FUNCtion[:FFT]:FR
EQuency:STARt
(see
page 374)
:FUNCtion[:FFT]:FR
EQuency:STARt? (see
page 374)
::= the start
frequency in NR3 format.
::= 1 to (# math functions)
in NR1 format
:FUNCtion[:FFT]:FR
EQuency:STOP
(see
page 375)
:FUNCtion[:FFT]:FR
EQuency:STOP? (see
page 375)
::= the stop
frequency in NR3 format.
::= 1 to (# math functions)
in NR1 format
:FUNCtion[:FFT]:GA
TE (see
page 376)
:FUNCtion[:FFT]:GA
TE? (see page 376)
::= {NONE | ZOOM}
::= 1 to (# math functions)
in NR1 format
:FUNCtion[:FFT]:PH
ASe:REFerence
(see
page 377)
:FUNCtion[:FFT]:PH
ASe:REFerence? (see
page 377)
::= {TRIGger |
DISPlay}
::= 1-4 in NR1 format
n/a
:FUNCtion[:FFT]:RB
Width? (see page 378)
::= Hz in NR3
format
::= 1 to (# math functions)
in NR1 format
:FUNCtion[:FFT]:RE
ADout (see
page 379)
:FUNCtion[:FFT]:RE
ADout? (see
page 379)
::= {SRATe | BSIZe
| RBWidth}
::= 1 to (# math functions)
in NR1 format
::= 1-2 in NR1 format, 2 is
for dedicated FFT function
:FUNCtion[:FFT]:SP
AN (see
page 380)
:FUNCtion[:FFT]:SP
AN? (see page 380)
::= the current frequency
span in NR3 format.
Legal values are 1 Hz to 100 GHz.
::= 1 to (# math functions)
in NR1 format
n/a
:FUNCtion[:FFT]:SR
ATe? (see page 381)
::= Hz in NR3
format
::= 1 to (# math functions)
in NR1 format
Table 13
:FUNCtion Commands Summary (continued)
Command
Query
Options and Query Returns
Commands Quick Reference
5
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
85
:FUNCtion[:FFT]:VT
YPe (see
page 382)
:FUNCtion[:FFT]:VT
YPe? (see page 382)
::= {DECibel | VRMS} for
the FFT (magnitude) operation
::= {DEGRees | RADians}
for the FFTPhase operation
::= 1 to (# math functions)
in NR1 format
:FUNCtion[:FFT]:WI
NDow (see
page 383)
:FUNCtion[:FFT]:WI
NDow? (see page 383)
::= {RECTangular |
HANNing | FLATtop | BHARris |
BARTlett}
::= 1 to (# math functions)
in NR1 format
:FUNCtion:FREQuenc
y:HIGHpass <3dB_freq>
(see page 384)
:FUNCtion:FREQuenc
y:HIGHpass? (see
page 384)
<3dB_freq> ::= 3dB cutoff
frequency value in NR3 format
::= 1 to (# math functions)
in NR1 format
:FUNCtion:FREQuenc
y:LOWPass <3dB_freq>
(see page 385)
:FUNCtion:FREQuenc
y:LOWPass? (see
page 385)
<3dB_freq> ::= 3dB cutoff
frequency value in NR3 format
::= 1 to (# math functions)
in NR1 format
:FUNCtion:INTegrat
e:IOFFset
(see
page 386)
:FUNCtion:INTegrat
e:IOFFset? (see
page 386)
::= DC offset
correction in NR3 format.
::= 1 to (# math functions)
in NR1 format
:FUNCtion:LINear:G
AIN (see
page 387)
:FUNCtion:LINear:G
AIN? (see page 387)
::= 'A' in Ax + B, value
in NR3 format
::= 1 to (# math functions)
in NR1 format
:FUNCtion:LINear:O
FFSet (see
page 388)
:FUNCtion:LINear:O
FFSet? (see page 388)
::= 'B' in Ax + B, value
in NR3 format
::= 1 to (# math functions)
in NR1 format
:FUNCtion:OFFSet
(see
page 389)
:FUNCtion:OFFSet?
(see page 389)
::= the value at center
screen in NR3 format.
The range of legal values is
+/-10 times the current
sensitivity of the selected
function.
::= 1 to (# math functions)
in NR1 format
Table 13
:FUNCtion Commands Summary (continued)
Command
Query
Options and Query Returns
5
Commands Quick Reference
:FUNCtion:OPERatio
n (see
page 390)
:FUNCtion:OPERatio
n? (see page 392)
::= {ADD | SUBTract |
MULTiply | DIVide | INTegrate |
DIFF | FFT | FFTPhase | SQRT |
MAGNify | ABSolute | SQUare | LN
| LOG | EXP | TEN | LOWPass |
HIGHpass | AVERage | LINear |
MAXimum | MINimum | PEAK |
MAXHold | MINHold | TRENd}
::= 1 to (# math functions)
in NR1 format
:FUNCtion:RANGe
(see page 394)
:FUNCtion:RANGe?
(see page 394)
::= the full-scale
vertical axis value in NR3
format.
The range for ADD, SUBT, MULT is
8E-6 to 800E+3. The range for the
INTegrate function is 8E-9 to
400E+3.
The range for the DIFF function
is 80E-3 to 8.0E12 (depends on
current sweep speed).
The range for the FFT function is
8 to 800 dBV.
::= 1 to (# math functions)
in NR1 format
:FUNCtion:REFerenc
e (see
page 395)
:FUNCtion:REFerenc
e? (see page 395)
::= the value at center
screen in NR3 format.
The range of legal values is
+/-10 times the current
sensitivity of the selected
function.
::= 1 to (# math functions)
in NR1 format
:FUNCtion:SCALe
[] (see
page 396)
:FUNCtion:SCALe?
(see page 396)
::= integer in NR1
format
::= {V | dB}
::= 1 to (# math functions)
in NR1 format
:FUNCtion:SMOoth:P
OINts (see
page 397)
:FUNCtion:SMOoth:P
OINts? (see page 397)
::= odd integer in NR1
format
Table 13
:FUNCtion Commands Summary (continued)
Command
Query
Options and Query Returns
Commands Quick Reference
5
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
87
:FUNCtion:SOURce1
(see
page 398)
:FUNCtion:SOURce1?
(see page 398)
::= {CHANnel |
FUNCtion | MATH |
WMEMory | BUS}
::= 1 to (# analog channels)
in NR1 format
::= {1}, must be lower than
::= 1 to (# ref waveforms) in
NR1 format
::= {1 | 2}
::= 1 to (# math functions)
in NR1 format
:FUNCtion:SOURce2
(see
page 400)
:FUNCtion:SOURce2?
(see page 400)
::= {CHANnel |
WMEMory | NONE}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= 1 to (# math functions)
in NR1 format
:FUNCtion:TRENd:NM
Easurement MEAS
(see page 401)
:FUNCtion:TRENd:NM
Easurement? (see
page 401)
::= # of installed
measurement, from 1 to 8
::= 1 to (# math functions)
in NR1 format
Table 13
:FUNCtion Commands Summary (continued)
Command
Query
Options and Query Returns
Table 14
:HCOPY Commands Summary
Command
Query
Options and Query Returns
n/a
:HCOPY:SDUMp:DATA?
(see page 404)
::= binary block
data in IEEE-488.2 # format.
:HCOPY:SDUMp:FORMat
(see
page 405)
:HCOPY:SDUMp:FORMat?
(see page 405)
::= {BMP | BMP8bit |
PNG}
5
Commands Quick Reference
Table 15
:LISTer Commands Summary
Command
Query
Options and Query Returns
n/a
:LISTer:DATA? (see
page 408)
::=
comma-separated data with
newlines at the end of each row
:LISTer:DISPlay {{OFF
| 0} | {SBUS1 | ON |
1} | {SBUS2 | 2} |
ALL} (see page 409)
:LISTer:DISPlay? (see
page 409)
{OFF | SBUS1 | SBUS2 | ALL}
:LISTer:REFerence
(see
page 410)
:LISTer:REFerence?
(see page 410)
::= {TRIGger |
PREVious}
Table 16
:MARKer Commands Summary
Command
Query
Options and Query Returns
n/a
:MARKer:DYDX? (see
page 414)
::= •Y/•X value in
NR3 format
:MARKer:MODE
(see page 415)
:MARKer:MODE? (see
page 415)
::= {OFF | MEASurement |
MANual | WAVeform | BINary | HEX}
:MARKer:X1:DISPlay
{{0 | OFF} | {1 |
ON}} (see page 416)
:MARKer:X1:DISPlay?
(see page 416)
::= {0 | 1}
:MARKer:X1Position
[suffix]
(see page 417)
:MARKer:X1Position?
(see page 417)
::= X1 cursor position
value in NR3 format
[suffix] ::= {s | ms | us | ns |
ps | Hz | kHz | MHz}
::= X1 cursor
position value in NR3 format
:MARKer:X1Y1source
(see
page 418)
:MARKer:X1Y1source?
(see page 418)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::=
:MARKer:X2:DISPlay
{{0 | OFF} | {1 |
ON}} (see page 419)
:MARKer:X2:DISPlay?
(see page 419)
::= {0 | 1}
Commands Quick Reference
5
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
89
:MARKer:X2Position
[suffix]
(see page 420)
:MARKer:X2Position?
(see page 420)
::= X2 cursor position
value in NR3 format
[suffix] ::= {s | ms | us | ns |
ps | Hz | kHz | MHz}
::= X2 cursor
position value in NR3 format
:MARKer:X2Y2source
(see
page 421)
:MARKer:X2Y2source?
(see page 421)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::=
n/a
:MARKer:XDELta? (see
page 422)
::= X cursors
delta value in NR3 format
:MARKer:XUNits
(see page 423)
:MARKer:XUNits? (see
page 423)
::= {SEConds | HERTz |
DEGRees | PERCent}
:MARKer:XUNits:USE
(see page 424)
n/a
n/a
:MARKer:Y1:DISPlay
{{0 | OFF} | {1 |
ON}} (see page 425)
:MARKer:Y1:DISPlay?
(see page 425)
::= {0 | 1}
:MARKer:Y1Position
[suffix]
(see page 426)
:MARKer:Y1Position?
(see page 426)
::= Y1 cursor position
value in NR3 format
[suffix] ::= {V | mV | dB}
::= Y1 cursor
position value in NR3 format
:MARKer:Y2:DISPlay
{{0 | OFF} | {1 |
ON}} (see page 427)
:MARKer:Y2:DISPlay?
(see page 427)
::= {0 | 1}
:MARKer:Y2Position
[suffix]
(see page 428)
:MARKer:Y2Position?
(see page 428)
::= Y2 cursor position
value in NR3 format
[suffix] ::= {V | mV | dB}
::= Y2 cursor
position value in NR3 format
Table 16
:MARKer Commands Summary (continued)
Command
Query
Options and Query Returns
5
Commands Quick Reference
n/a
:MARKer:YDELta? (see
page 429)
::= Y cursors
delta value in NR3 format
:MARKer:YUNits
(see page 430)
:MARKer:YUNits? (see
page 430)
::= {BASE | PERCent}
:MARKer:YUNits:USE
(see page 431)
n/a
n/a
Table 16
:MARKer Commands Summary (continued)
Command
Query
Options and Query Returns
Table 17
:MEASure Commands Summary
Command
Query
Options and Query Returns
:MEASure:ALL (see
page 451)
n/a
n/a
:MEASure:AREa
[][,] (see page 452)
:MEASure:AREa?
[][,] (see page 452)
::= {CYCLe | DISPlay}
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= area in
volt-seconds, NR3 format
:MEASure:BRATe
[] (see
page 453)
:MEASure:BRATe?
[] (see
page 453)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# of analog
channels) in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= bit rate in
Hz, NR3 format
Commands Quick Reference
5
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
91
:MEASure:BWIDth
[] (see
page 454)
:MEASure:BWIDth?
[] (see
page 454)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= burst width in
seconds, NR3 format
:MEASure:CLEar (see
page 455)
n/a
n/a
:MEASure:COUNter
[] (see
page 456)
:MEASure:COUNter?
[] (see
page 456)
::= {CHANnel |
EXTernal}
::= 1 to (# analog channels)
in NR1 format
::= counter
frequency in Hertz in NR3 format
:MEASure:DEFine
DELay,
(see page 457)
:MEASure:DEFine?
DELay (see page 459)
::=
,
edge_spec1 ::=
[]
edge_spec2 ::=
[] ::= {+ | -}
::= integer
:MEASure:DEFine
THResholds,
(see
page 457)
:MEASure:DEFine?
THResholds (see
page 459)
::= {STANdard} |
{,,
,}
::= {PERCent |
ABSolute}
Table 17
:MEASure Commands Summary (continued)
Command
Query
Options and Query Returns
5
Commands Quick Reference
:MEASure:DELay
[]
[,] (see
page 460)
:MEASure:DELay?
[]
[,] (see
page 460)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::=
floating-point number delay time
in seconds in NR3 format
:MEASure:DELay:DEFine
,
,
,
,
,
(see page 462)
:MEASure:DELay:DEFine
? (see page 462)
,
::= {RISing
| FALLing}
,
::= 0 to
1000 in NR1 format
,
::=
MIDDle
:MEASure:DUAL:CHARge
[]
[,][,] (see page 463)
:MEASure:DUAL:CHARge?
[]
[,][,] (see page 463)
::= {CYCLe | DISPlay}
, ::=
CHANnel with N2820A probe
connected}
::= 1 to (# analog channels)
in NR1 format
::= area in
Amp-hours, NR3 format
:MEASure:DUAL:VAMPlit
ude
[][,] (see page 464)
:MEASure:DUAL:VAMPlit
ude?
[][,] (see page 464)
, ::=
CHANnel with N2820A probe
connected
::= 1 to (# analog channels)
in NR1 format
::= the amplitude
of the selected waveform in volts
in NR3 format
Table 17
:MEASure Commands Summary (continued)
Command
Query
Options and Query Returns
Commands Quick Reference
5
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
93
:MEASure:DUAL:VAVerag
e []
[,][,] (see page 465)
:MEASure:DUAL:VAVerag
e? []
[,][,] (see page 465)
::= {CYCLe | DISPlay}
, ::=
CHANnel with N2820A probe
connected
::= 1 to (# analog channels)
in NR1 format
::= calculated
average voltage in NR3 format
:MEASure:DUAL:VBASe
[][,] (see page 466)
:MEASure:DUAL:VBASe?
[][,] (see page 466)
, ::=
CHANnel with N2820A probe
connected
::= 1 to (# analog channels)
in NR1 format
::= voltage at the
base of the selected waveform in
NR3 format
:MEASure:DUAL:VPP
[][,] (see page 467)
:MEASure:DUAL:VPP?
[][,] (see page 467)
, ::=
CHANnel with N2820A probe
connected
::= 1 to (# analog channels)
in NR1 format
::= voltage
peak-to-peak of the selected
waveform in NR3 format
:MEASure:DUAL:VRMS
[]
[,]
[,][,] (see page 468)
:MEASure:DUAL:VRMS?
[]
[,]
[,][,] (see page 468)
::= {CYCLe | DISPlay}
::= {AC | DC}
, ::=
CHANnel with N2820A probe
connected
::= 1 to (# analog channels)
in NR1 format
::= calculated
RMS voltage in NR3 format
Table 17
:MEASure Commands Summary (continued)
Command
Query
Options and Query Returns
5
Commands Quick Reference
:MEASure:DUTYcycle
[] (see
page 469)
:MEASure:DUTYcycle?
[] (see
page 469)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= ratio of
positive pulse width to period in
NR3 format
:MEASure:FALLtime
[] (see
page 470)
:MEASure:FALLtime?
[] (see
page 470)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= time in
seconds between the lower and
upper thresholds in NR3 format
:MEASure:FFT:ACPR
,
,
[,]
(see page 471)
:MEASure:FFT:ACPR?
,
,
[,]
(see page 471)
::= width of main
range and sideband channels, Hz
in NR3 format
::= spacing
between main range and sideband
channels, Hz in NR3 format
::= {CENTer | HIGH |
LOW}
::= sideband 1 to 5
::= {FUNCtion |
MATH | FFT} (source must be an
FFT waveform)
::= 1 to (# math functions)
in NR1 format
::= adjacent
channel power ratio, dBV in NR3
format
Table 17
:MEASure Commands Summary (continued)
Command
Query
Options and Query Returns
Commands Quick Reference
5
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
95
:MEASure:FFT:CPOWer
[] (see
page 472)
:MEASure:FFT:CPOWer?
[] (see
page 472)
::= {FUNCtion |
MATH | FFT} (source must be an
FFT waveform)
::= 1 to (# math functions)
in NR1 format
::= spectral
channel power, dBV in NR3 format
:MEASure:FFT:OBW
[,] (see page 473)
:MEASure:FFT:OBW?
[,] (see page 473)
::= percent of
spectral power occupied
bandwidth is measured for in NR3
format
::= {FUNCtion |
MATH | FFT} (source must be an
FFT waveform)
::= 1 to (# math functions)
in NR1 format
::= occupied
bandwidth, Hz in NR3 format
:MEASure:FFT:THD
[] (see
page 474)
:MEASure:FFT:THD?
[] (see
page 474)
::= {FUNCtion |
MATH | FFT} (source must be an
FFT waveform)
::= 1 to (# math functions)
in NR1 format
::= total
harmonic distortion ratio
percent in NR3 format
:MEASure:FREQuency
[] (see
page 475)
:MEASure:FREQuency?
[] (see
page 475)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= frequency in
Hertz in NR3 format
Table 17
:MEASure Commands Summary (continued)
Command
Query
Options and Query Returns
5
Commands Quick Reference
:MEASure:NDUTy
[] (see
page 476)
:MEASure:NDUTy?
[] (see
page 476)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= ratio of
negative pulse width to period in
NR3 format
:MEASure:NEDGes
[] (see
page 477)
:MEASure:NEDGes?
[] (see
page 477)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= the falling
edge count in NR3 format
:MEASure:NPULses
[] (see
page 478)
:MEASure:NPULses?
[] (see
page 478)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= the falling
pulse count in NR3 format
Table 17
:MEASure Commands Summary (continued)
Command
Query
Options and Query Returns
Commands Quick Reference
5
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
97
:MEASure:NWIDth
[] (see
page 479)
:MEASure:NWIDth?
[] (see
page 479)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= negative
pulse width in seconds-NR3 format
:MEASure:OVERshoot
[] (see
page 480)
:MEASure:OVERshoot?
[] (see
page 480)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= the percent of
the overshoot of the selected
waveform in NR3 format
:MEASure:PEDGes
[] (see
page 482)
:MEASure:PEDGes?
[] (see
page 482)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= the rising
edge count in NR3 format
Table 17
:MEASure Commands Summary (continued)
Command
Query
Options and Query Returns
5
Commands Quick Reference
:MEASure:PERiod
[] (see
page 483)
:MEASure:PERiod?
[] (see
page 483)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= waveform
period in seconds in NR3 format
:MEASure:PHASe
[]
[,] (see
page 484)
:MEASure:PHASe?
[]
[,] (see
page 484)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= the phase
angle value in degrees in NR3
format
:MEASure:PPULses
[] (see
page 485)
:MEASure:PPULses?
[] (see
page 485)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= the rising
pulse count in NR3 format
Table 17
:MEASure Commands Summary (continued)
Command
Query
Options and Query Returns
Commands Quick Reference
5
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
99
:MEASure:PREShoot
[] (see
page 486)
:MEASure:PREShoot?
[] (see
page 486)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= the percent of
preshoot of the selected waveform
in NR3 format
:MEASure:PWIDth
[] (see
page 487)
:MEASure:PWIDth?
[] (see
page 487)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= width of
positive pulse in seconds in NR3
format
n/a
:MEASure:RESults?
(see
page 488)
::=
comma-separated list of
measurement results
:MEASure:RISetime
[] (see
page 491)
:MEASure:RISetime?
[] (see
page 491)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= rise time in
seconds in NR3 format
Table 17
:MEASure Commands Summary (continued)
Command
Query
Options and Query Returns
5
Commands Quick Reference
:MEASure:SDEViation
[] (see
page 492)
:MEASure:SDEViation?
[] (see
page 492)
::= {CHANnel |
FUNCtion | MATH |
WMEMory}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= calculated
std deviation in NR3 format
:MEASure:SHOW {{0 |
OFF} | {1 | ON}} (see
page 493)
:MEASure:SHOW? (see
page 493)
{0 | 1}
:MEASure:SOURce
[,] (see
page 494)
:MEASure:SOURce? (see
page 494)
::= {CHANnel |
FUNCtion | MATH |
WMEMory | EXTernal}
::= 1 to (# analog channels)
in NR1 format
::= 1 to (# math functions)
in NR1 format
::= 1 to (# ref waveforms) in
NR1 format
::= { |
NONE}
:MEASure:STATistics
(see page 496)
:MEASure:STATistics?
(see page 496)
::= {{ON | 1} | CURRent |
MEAN | MINimum | MAXimum | STDDev
| COUNt}
ON ::= all statistics returned
:MEASure:STATistics:D
ISPlay {{0 | OFF} |
{1 | ON}} (see
page 497)
:MEASure:STATistics:D
ISPlay? (see page 497)
{0 | 1}
:MEASure:STATistics:I
NCRement (see
page 498)
n/a
n/a
:MEASure:STATistics:M
COunt (see
page 499)
:MEASure:STATistics:M
COunt? (see page 499)
::= {INFinite |
}
::= 2 to 2000 in NR1
format
Table 17
:MEASure Commands Summary (continued)
Command
Query
Options and Query Returns
Installation instructions for the Tektronix TDS1000B Series Test Equipment. The manual elaborates on features and operational safety, product handling, hardware instructions.
Instruction guide for the Hanna Instruments HI96107 Test Equipment. It provides instructions for technical troubleshooting, product specifications, operating conditions.
Official installation manual for the Campbell CNR1 Test Equipment. It provides detailed operation instructions and detailing setup, device overview, maintenance procedures, hardware instructions.