Keysight M9241A Scpi Programmer's Manual

Specifications

Brand: Keysight
Category: Test Equipment
Model: M9241A (Scpi Programmer's Manual)
File Type: PDF
File Size: —
Pages: 1502

Read Online

Read the Keysight M9241A Scpi Programmer's Manual online using the built-in PDF viewer.

Text of the manual

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

Notices © Keysight Technologies, Inc. 2005-2018 No part of this manual may be reproduced in any form or by any means (including electronic storage and retrieval or translation into a foreign language) without prior agreement and written consent from Keysight Technologies, Inc. as governed by United States and international copyright laws. Revision Version 07.21.0002 Edition October 8, 2018 Available in electronic format only Published by: Keysight Technologies, Inc. 1900 Garden of the Gods Road Colorado Springs, CO 80907 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, Keysight 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. Keysight 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 Keysight 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 License 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. U.S. Government Rights The Software is "commercial computer software," as defined by Federal Acquisition Regulation ("FAR") 2.101. Pursuant to FAR 12.212 and 27.405-3 and Department of Defense FAR Supplement ("DFARS") 227.7202, the U.S. government acquires commercial computer software under the same terms by which the software is customarily provided to the public. Accordingly, Keysight provides the Software to U.S. government customers under its standard commercial license, which is embodied in its End User License Agreement (EULA), a copy of which can be found at www.keysight.com/find/sweula. The license set forth in the EULA represents the exclusive authority by which the U.S. government may use, modify, distribute, or disclose the Software. The EULA and the license set forth therein, does not require or permit, among other things, that Keysight: (1) Furnish technical information related to commercial computer software or commercial computer software documentation that is not customarily provided to the public; or (2) Relinquish to, or otherwise provide, the government rights in excess of these rights customarily provided to the public to use, modify, reproduce, release, perform, display, or disclose commercial computer software or commercial computer software documentation. No additional government requirements beyond those set forth in the EULA shall apply, except to the extent that those terms, rights, or licenses are explicitly required from all providers of commercial computer software pursuant to the FAR and the DFARS and are set forth specifically in writing elsewhere in the EULA. Keysight shall be under no obligation to update, revise or otherwise modify the Software. With respect to any technical data as defined by FAR 2.101, pursuant to FAR 12.211 and 27.404.2 and DFARS 227.7102, the U.S. government acquires no greater than Limited Rights as defined in FAR 27.401 or DFAR 227.7103-5 (c), as applicable in any technical data. Safety Notices CAUTION A CAUTION notice denotes a hazard. It calls attention to an operating procedure, practice, or the like that, if not correctly performed or adhered to, could result in damage to the product or loss of important data. Do not proceed beyond a CAUTION notice until the indicated conditions are fully understood and met. WARNING 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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

• 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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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).

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

• 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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

4 Sequential (Blocking) vs. Overlapped Commands 5 Commands Quick Reference Command Summary / 66 Syntax Elements / 170 Number Format / 170 (Line Terminator) / 170 [ ] (Optional Syntax Terms) / 170 { } (Braces) / 170 ::= (Defined As) / 170 < > (Angle Brackets) / 171 ... (Ellipsis) / 171 n,..,p (Value Ranges) / 171 d (Digits) / 171 Quoted ASCII String / 171 Definite-Length Block Response Data / 171 6 Common (*) Commands *CLS (Clear Status) / 178 *ESE (Standard Event Status Enable) / 179 *ESR (Standard Event Status Register) / 181 *IDN (Identification Number) / 183 *LRN (Learn Device Setup) / 184 *OPC (Operation Complete) / 185 *OPT (Option Identification) / 186 *RCL (Recall) / 188 *RST (Reset) / 189 *SAV (Save) / 192 *SRE (Service Request Enable) / 193 *STB (Read Status Byte) / 195 *TRG (Trigger) / 197 *TST (Self Test) / 198 *WAI (Wait To Continue) / 199 7 Root (:) Commands :AER (Arm Event Register) / 204 :AUToscale / 205 :AUToscale:AMODE / 207 :AUToscale:CHANnels / 208 :AUToscale:FDEBug / 209 :BLANk / 210

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

9 :DIGitize / 211 :HWEenable (Hardware Event Enable Register) / 213 :HWERegister:CONDition (Hardware Event Condition Register) / 215 :HWERegister[:EVENt] (Hardware Event Event Register) / 216 :MTEenable (Mask Test Event Enable Register) / 217 :MTERegister[:EVENt] (Mask Test Event Event Register) / 219 :OPEE (Operation Status Enable Register) / 221 :OPERegister:CONDition (Operation Status Condition Register) / 223 :OPERegister[:EVENt] (Operation Status Event Register) / 226 :OVLenable (Overload Event Enable Register) / 229 :OVLRegister (Overload Event Register) / 231 :RUN / 233 :SERial / 234 :SINGle / 235 :STATus / 236 :STOP / 237 :TER (Trigger Event Register) / 238 :VIEW / 239 8 :ACQuire Commands :ACQuire:AALias / 244 :ACQuire:COMPlete / 245 :ACQuire:COUNt / 246 :ACQuire:DAALias / 247 :ACQuire:MODE / 248 :ACQuire:POINts / 249 :ACQuire:RSIGnal / 250 :ACQuire:SEGMented:ANALyze / 251 :ACQuire:SEGMented:COUNt / 252 :ACQuire:SEGMented:INDex / 253 :ACQuire:SRATe / 256 :ACQuire:TYPE / 257 9 :CALibrate Commands :CALibrate:DATE / 261 :CALibrate:LABel / 262 :CALibrate:OUTPut / 263 :CALibrate:PROTected / 265 :CALibrate:STARt / 266 :CALibrate:STATus / 267 :CALibrate:TEMPerature / 268

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

:CALibrate:TIME / 269 10 :CHANnel Commands :CHANnel:BWLimit / 275 :CHANnel:COUPling / 276 :CHANnel:DISPlay / 277 :CHANnel:IMPedance / 278 :CHANnel:INVert / 279 :CHANnel:LABel / 280 :CHANnel:OFFSet / 281 :CHANnel:PROBe / 282 :CHANnel:PROBe:HEAD[:TYPE] / 283 :CHANnel:PROBe:ID / 284 :CHANnel:PROBe:MMODel / 285 :CHANnel:PROBe:RSENse / 286 :CHANnel:PROBe:SKEW / 287 :CHANnel:PROBe:STYPe / 288 :CHANnel:PROBe:ZOOM / 289 :CHANnel:PROTection / 290 :CHANnel:RANGe / 291 :CHANnel:SCALe / 292 :CHANnel:UNITs / 293 :CHANnel:VERNier / 294 11 :COUNter Commands :COUNter:CURRent / 297 :COUNter:ENABle / 298 :COUNter:MODE / 299 :COUNter:NDIGits / 300 :COUNter:SOURce / 301 :COUNter:TOTalize:CLEar / 302 :COUNter:TOTalize:GATE:ENABle / 303 :COUNter:TOTalize:GATE:POLarity / 304 :COUNter:TOTalize:GATE:SOURce / 305 :COUNter:TOTalize:SLOPe / 306 12 :DEMO Commands :DEMO:FUNCtion / 308 :DEMO:OUTPut / 310

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

11 13 :DISPlay Commands :DISPlay:ANNotation / 314 :DISPlay:ANNotation:BACKground / 315 :DISPlay:ANNotation:COLor / 316 :DISPlay:ANNotation:TEXT / 317 :DISPlay:ANNotation:X1Position / 318 :DISPlay:ANNotation:Y1Position / 319 :DISPlay:CLEar / 320 :DISPlay:DATA / 321 :DISPlay:GRATicule:ALABels / 322 :DISPlay:GRATicule:INTensity / 323 :DISPlay:GRATicule:TYPE / 324 :DISPlay:INTensity:WAVeform / 325 :DISPlay:LABel / 326 :DISPlay:LABList / 327 :DISPlay:MENU / 328 :DISPlay:MESSage:CLEar / 329 :DISPlay:PERSistence / 330 :DISPlay:SIDebar / 331 :DISPlay:VECTors / 332 14 :DVM Commands :DVM:ARANge / 334 :DVM:CURRent / 335 :DVM:ENABle / 336 :DVM:MODE / 337 :DVM:SOURce / 338 15 :EXTernal Trigger Commands :EXTernal:BWLimit / 340 :EXTernal:PROBe / 341 :EXTernal:RANGe / 342 :EXTernal:UNITs / 343 16 :FRANalysis Commands :FRANalysis:DATA / 347 :FRANalysis:ENABle / 348 :FRANalysis:FREQuency:MODE / 349 :FRANalysis:FREQuency:SINGle / 350 :FRANalysis:FREQuency:STARt / 351 :FRANalysis:FREQuency:STOP / 352

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

:FRANalysis:PPDecade / 353 :FRANalysis:RUN / 354 :FRANalysis:SOURce:INPut / 355 :FRANalysis:SOURce:OUTPut / 356 :FRANalysis:TRACe / 357 :FRANalysis:WGEN:LOAD / 358 :FRANalysis:WGEN:VOLTage / 359 :FRANalysis:WGEN:VOLTage:PROFile / 360 17 :FUNCtion Commands :FUNCtion:AVERage:COUNt / 367 :FUNCtion:CLEar / 368 :FUNCtion:DISPlay / 369 :FUNCtion[:FFT]:BSIZe / 370 :FUNCtion[:FFT]:CENTer / 371 :FUNCtion[:FFT]:DETection:POINts / 372 :FUNCtion[:FFT]:DETection:TYPE / 373 :FUNCtion[:FFT]:FREQuency:STARt / 374 :FUNCtion[:FFT]:FREQuency:STOP / 375 :FUNCtion[:FFT]:GATE / 376 :FUNCtion[:FFT]:PHASe:REFerence / 377 :FUNCtion[:FFT]:RBWidth / 378 :FUNCtion[:FFT]:READout / 379 :FUNCtion[:FFT]:SPAN / 380 :FUNCtion[:FFT]:SRATe / 381 :FUNCtion[:FFT]:VTYPe / 382 :FUNCtion[:FFT]:WINDow / 383 :FUNCtion:FREQuency:HIGHpass / 384 :FUNCtion:FREQuency:LOWPass / 385 :FUNCtion:INTegrate:IOFFset / 386 :FUNCtion:LINear:GAIN / 387 :FUNCtion:LINear:OFFSet / 388 :FUNCtion:OFFSet / 389 :FUNCtion:OPERation / 390 :FUNCtion:RANGe / 394 :FUNCtion:REFerence / 395 :FUNCtion:SCALe / 396 :FUNCtion:SMOoth:POINts / 397 :FUNCtion:SOURce1 / 398 :FUNCtion:SOURce2 / 400 :FUNCtion:TRENd:NMEasurement / 401

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

13 18 :HCOPY Commands :HCOPY:SDUMp:DATA / 404 :HCOPY:SDUMp:FORMat / 405 19 :LISTer Commands :LISTer:DATA / 408 :LISTer:DISPlay / 409 :LISTer:REFerence / 410 20 :MARKer Commands :MARKer:DYDX / 414 :MARKer:MODE / 415 :MARKer:X1:DISPlay / 416 :MARKer:X1Position / 417 :MARKer:X1Y1source / 418 :MARKer:X2:DISPlay / 419 :MARKer:X2Position / 420 :MARKer:X2Y2source / 421 :MARKer:XDELta / 422 :MARKer:XUNits / 423 :MARKer:XUNits:USE / 424 :MARKer:Y1:DISPlay / 425 :MARKer:Y1Position / 426 :MARKer:Y2:DISPlay / 427 :MARKer:Y2Position / 428 :MARKer:YDELta / 429 :MARKer:YUNits / 430 :MARKer:YUNits:USE / 431 21 :MEASure Commands :MEASure:ALL / 451 :MEASure:AREa / 452 :MEASure:BRATe / 453 :MEASure:BWIDth / 454 :MEASure:CLEar / 455 :MEASure:COUNter / 456 :MEASure:DEFine / 457 :MEASure:DELay / 460 :MEASure:DELay:DEFine / 462 :MEASure:DUAL:CHARge / 463 :MEASure:DUAL:VAMPlitude / 464

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

:MEASure:DUAL:VAVerage / 465 :MEASure:DUAL:VBASe / 466 :MEASure:DUAL:VPP / 467 :MEASure:DUAL:VRMS / 468 :MEASure:DUTYcycle / 469 :MEASure:FALLtime / 470 :MEASure:FFT:ACPR / 471 :MEASure:FFT:CPOWer / 472 :MEASure:FFT:OBW / 473 :MEASure:FFT:THD / 474 :MEASure:FREQuency / 475 :MEASure:NDUTy / 476 :MEASure:NEDGes / 477 :MEASure:NPULses / 478 :MEASure:NWIDth / 479 :MEASure:OVERshoot / 480 :MEASure:PEDGes / 482 :MEASure:PERiod / 483 :MEASure:PHASe / 484 :MEASure:PPULses / 485 :MEASure:PREShoot / 486 :MEASure:PWIDth / 487 :MEASure:RESults / 488 :MEASure:RISetime / 491 :MEASure:SDEViation / 492 :MEASure:SHOW / 493 :MEASure:SOURce / 494 :MEASure:STATistics / 496 :MEASure:STATistics:DISPlay / 497 :MEASure:STATistics:INCRement / 498 :MEASure:STATistics:MCOunt / 499 :MEASure:STATistics:RESet / 500 :MEASure:STATistics:RSDeviation / 501 :MEASure:TEDGe / 502 :MEASure:TVALue / 504 :MEASure:VAMPlitude / 506 :MEASure:VAVerage / 507 :MEASure:VBASe / 508 :MEASure:VMAX / 509 :MEASure:VMIN / 510 :MEASure:VPP / 511 :MEASure:VRATio / 512

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

15 :MEASure:VRMS / 513 :MEASure:VTIMe / 514 :MEASure:VTOP / 515 :MEASure:WINDow / 516 :MEASure:XMAX / 517 :MEASure:XMIN / 518 22 :MEASure Power Commands :MEASure:ANGLe / 524 :MEASure:APParent / 525 :MEASure:CPLoss / 526 :MEASure:CRESt / 527 :MEASure:EFFiciency / 528 :MEASure:ELOSs / 529 :MEASure:FACTor / 530 :MEASure:IPOWer / 531 :MEASure:OFFTime / 532 :MEASure:ONTime / 533 :MEASure:OPOWer / 534 :MEASure:PCURrent / 535 :MEASure:PLOSs / 536 :MEASure:RDSon / 537 :MEASure:REACtive / 538 :MEASure:REAL / 539 :MEASure:RIPPle / 540 :MEASure:TRESponse / 541 :MEASure:VCESat / 542 23 :MTESt Commands :MTESt:ALL / 548 :MTESt:AMASk:CREate / 549 :MTESt:AMASk:SOURce / 550 :MTESt:AMASk:UNITs / 551 :MTESt:AMASk:XDELta / 552 :MTESt:AMASk:YDELta / 553 :MTESt:COUNt:FWAVeforms / 554 :MTESt:COUNt:RESet / 555 :MTESt:COUNt:TIME / 556 :MTESt:COUNt:WAVeforms / 557 :MTESt:DATA / 558 :MTESt:DELete / 559

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

:MTESt:ENABle / 560 :MTESt:LOCK / 561 :MTESt:RMODe / 562 :MTESt:RMODe:FACTion:MEASure / 563 :MTESt:RMODe:FACTion:SAVE / 564 :MTESt:RMODe:FACTion:STOP / 565 :MTESt:RMODe:SIGMa / 566 :MTESt:RMODe:TIME / 567 :MTESt:RMODe:WAVeforms / 568 :MTESt:SCALe:BIND / 569 :MTESt:SCALe:X1 / 570 :MTESt:SCALe:XDELta / 571 :MTESt:SCALe:Y1 / 572 :MTESt:SCALe:Y2 / 573 :MTESt:SOURce / 574 :MTESt:TITLe / 575 24 :POWer Commands :POWer:CLResponse / 585 :POWer:CLResponse:APPLy / 586 :POWer:CLResponse:DATA / 587 :POWer:CLResponse:DATA:GMARgin / 588 :POWer:CLResponse:DATA:GMARgin:FREQuency / 589 :POWer:CLResponse:DATA:PMARgin / 590 :POWer:CLResponse:DATA:PMARgin:FREQuency / 591 :POWer:CLResponse:FREQuency:MODE / 592 :POWer:CLResponse:FREQuency:SINGle / 593 :POWer:CLResponse:FREQuency:STARt / 594 :POWer:CLResponse:FREQuency:STOP / 595 :POWer:CLResponse:PPDecade / 596 :POWer:CLResponse:SOURce:INPut / 597 :POWer:CLResponse:SOURce:OUTPut / 598 :POWer:CLResponse:TRACe / 599 :POWer:CLResponse:WGEN:LOAD / 600 :POWer:CLResponse:WGEN:VOLTage / 601 :POWer:CLResponse:WGEN:VOLTage:PROFile / 602 :POWer:DESKew / 603 :POWer:EFFiciency:APPLy / 604 :POWer:EFFiciency:TYPE / 605 :POWer:ENABle / 606 :POWer:HARMonics:APPLy / 607

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

17 :POWer:HARMonics:DATA / 608 :POWer:HARMonics:DISPlay / 609 :POWer:HARMonics:FAILcount / 610 :POWer:HARMonics:LINE / 611 :POWer:HARMonics:POWerfactor / 612 :POWer:HARMonics:RPOWer / 613 :POWer:HARMonics:RPOWer:USER / 614 :POWer:HARMonics:RUNCount / 615 :POWer:HARMonics:STANdard / 616 :POWer:HARMonics:STATus / 617 :POWer:HARMonics:THD / 618 :POWer:INRush:APPLy / 619 :POWer:INRush:EXIT / 620 :POWer:INRush:NEXT / 621 :POWer:ITYPe / 622 :POWer:MODulation:APPLy / 623 :POWer:MODulation:SOURce / 624 :POWer:MODulation:TYPE / 625 :POWer:ONOFf:APPLy / 626 :POWer:ONOFf:EXIT / 627 :POWer:ONOFf:NEXT / 628 :POWer:ONOFf:TEST / 629 :POWer:ONOFf:THResholds / 630 :POWer:PSRR / 632 :POWer:PSRR:APPLy / 633 :POWer:PSRR:DATA / 634 :POWer:PSRR:FREQuency:MAXimum / 635 :POWer:PSRR:FREQuency:MINimum / 636 :POWer:PSRR:FREQuency:MODE / 637 :POWer:PSRR:FREQuency:SINGle / 638 :POWer:PSRR:PPDecade / 639 :POWer:PSRR:SOURce:INPut / 640 :POWer:PSRR:SOURce:OUTPut / 641 :POWer:PSRR:TRACe / 642 :POWer:PSRR:WGEN:LOAD / 643 :POWer:PSRR:WGEN:VOLTage / 644 :POWer:PSRR:WGEN:VOLTage:PROFile / 645 :POWer:QUALity:APPLy / 646 :POWer:RIPPle:APPLy / 647 :POWer:SIGNals:AUTosetup / 648 :POWer:SIGNals:CYCLes:HARMonics / 649 :POWer:SIGNals:CYCLes:QUALity / 650

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

:POWer:SIGNals:DURation:EFFiciency / 651 :POWer:SIGNals:DURation:MODulation / 652 :POWer:SIGNals:DURation:ONOFf:OFF / 653 :POWer:SIGNals:DURation:ONOFf:ON / 654 :POWer:SIGNals:DURation:RIPPle / 655 :POWer:SIGNals:DURation:TRANsient / 656 :POWer:SIGNals:IEXPected / 657 :POWer:SIGNals:OVERshoot / 658 :POWer:SIGNals:VMAXimum:INRush / 659 :POWer:SIGNals:VMAXimum:ONOFf:OFF / 660 :POWer:SIGNals:VMAXimum:ONOFf:ON / 661 :POWer:SIGNals:VSTeady:ONOFf:OFF / 662 :POWer:SIGNals:VSTeady:ONOFf:ON / 663 :POWer:SIGNals:VSTeady:TRANsient / 664 :POWer:SIGNals:SOURce:CURRent / 665 :POWer:SIGNals:SOURce:VOLTage / 666 :POWer:SLEW:APPLy / 667 :POWer:SLEW:SOURce / 668 :POWer:SWITch:APPLy / 669 :POWer:SWITch:CONDuction / 670 :POWer:SWITch:IREFerence / 671 :POWer:SWITch:RDS / 672 :POWer:SWITch:VCE / 673 :POWer:SWITch:VREFerence / 674 :POWer:TRANsient:APPLy / 675 :POWer:TRANsient:EXIT / 676 :POWer:TRANsient:IINitial / 677 :POWer:TRANsient:INEW / 678 :POWer:TRANsient:NEXT / 679 25 :RECall Commands :RECall:ARBitrary[:STARt] / 683 :RECall:DBC[:STARt] / 684 :RECall:FILename / 685 :RECall:LDF[:STARt] / 686 :RECall:MASK[:STARt] / 687 :RECall:PWD / 688 :RECall:SETup[:STARt] / 689 :RECall:WMEMory[:STARt] / 690

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

19 26 :SAVE Commands :SAVE:ARBitrary[:STARt] / 695 :SAVE:FILename / 696 :SAVE:IMAGe[:STARt] / 697 :SAVE:IMAGe:FACTors / 698 :SAVE:IMAGe:FORMat / 699 :SAVE:IMAGe:INKSaver / 700 :SAVE:IMAGe:PALette / 701 :SAVE:LISTer[:STARt] / 702 :SAVE:MASK[:STARt] / 703 :SAVE:MULTi[:STARt] / 704 :SAVE:POWer[:STARt] / 705 :SAVE:PWD / 706 :SAVE:RESults:[STARt] / 707 :SAVE:RESults:FORMat:CURSor / 708 :SAVE:RESults:FORMat:MASK / 709 :SAVE:RESults:FORMat:MEASurement / 710 :SAVE:RESults:FORMat:SEARch / 711 :SAVE:RESults:FORMat:SEGMented / 712 :SAVE[:SETup[:STARt]] / 713 :SAVE:WAVeform[:STARt] / 714 :SAVE:WAVeform:FORMat / 715 :SAVE:WAVeform:LENGth / 716 :SAVE:WAVeform:LENGth:MAX / 717 :SAVE:WAVeform:SEGMented / 718 :SAVE:WMEMory:SOURce / 719 :SAVE:WMEMory[:STARt] / 720 27 :SBUS Commands General :SBUS Commands / 723 :SBUS:DISPlay / 724 :SBUS:MODE / 725 :SBUS:A429 Commands / 726 :SBUS:A429:AUTosetup / 728 :SBUS:A429:BASE / 729 :SBUS:A429:BAUDrate / 730 :SBUS:A429:COUNt:ERRor / 731 :SBUS:A429:COUNt:RESet / 732 :SBUS:A429:COUNt:WORD / 733 :SBUS:A429:FORMat / 734 :SBUS:A429:SIGNal / 735

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

:SBUS:A429:SOURce / 736 :SBUS:A429:SPEed / 737 :SBUS:A429:TRIGger:LABel / 738 :SBUS:A429:TRIGger:PATTern:DATA / 739 :SBUS:A429:TRIGger:PATTern:SDI / 740 :SBUS:A429:TRIGger:PATTern:SSM / 741 :SBUS:A429:TRIGger:RANGe / 742 :SBUS:A429:TRIGger:TYPE / 743 :SBUS:CAN Commands / 745 :SBUS:CAN:COUNt:ERRor / 748 :SBUS:CAN:COUNt:OVERload / 749 :SBUS:CAN:COUNt:RESet / 750 :SBUS:CAN:COUNt:SPEC / 751 :SBUS:CAN:COUNt:TOTal / 752 :SBUS:CAN:COUNt:UTILization / 753 :SBUS:CAN:DISPlay / 754 :SBUS:CAN:FDSPoint / 755 :SBUS:CAN:FDSTandard / 756 :SBUS:CAN:SAMPlepoint / 757 :SBUS:CAN:SIGNal:BAUDrate / 758 :SBUS:CAN:SIGNal:DEFinition / 759 :SBUS:CAN:SIGNal:FDBaudrate / 760 :SBUS:CAN:SOURce / 761 :SBUS:CAN:TRIGger / 762 :SBUS:CAN:TRIGger:IDFilter / 765 :SBUS:CAN:TRIGger:PATTern:DATA / 766 :SBUS:CAN:TRIGger:PATTern:DATA:DLC / 767 :SBUS:CAN:TRIGger:PATTern:DATA:LENGth / 768 :SBUS:CAN:TRIGger:PATTern:DATA:STARt / 769 :SBUS:CAN:TRIGger:PATTern:ID / 770 :SBUS:CAN:TRIGger:PATTern:ID:MODE / 771 :SBUS:CAN:TRIGger:SYMBolic:MESSage / 772 :SBUS:CAN:TRIGger:SYMBolic:SIGNal / 773 :SBUS:CAN:TRIGger:SYMBolic:VALue / 774 :SBUS:CXPI Commands / 775 :SBUS:CXPI:BAUDrate / 777 :SBUS:CXPI:PARity / 778 :SBUS:CXPI:SOURce / 779 :SBUS:CXPI:TOLerance / 780 :SBUS:CXPI:TRIGger / 781 :SBUS:CXPI:TRIGger:IDFilter / 783

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

21 :SBUS:CXPI:TRIGger:PTYPe / 784 :SBUS:CXPI:TRIGger:PATTern:DATA / 785 :SBUS:CXPI:TRIGger:PATTern:DATA:LENGth / 786 :SBUS:CXPI:TRIGger:PATTern:DATA:STARt / 787 :SBUS:CXPI:TRIGger:PATTern:ID / 788 :SBUS:CXPI:TRIGger:PATTern:INFO:CT / 789 :SBUS:CXPI:TRIGger:PATTern:INFO:DLC / 790 :SBUS:CXPI:TRIGger:PATTern:INFO:NM / 791 :SBUS:IIC Commands / 792 :SBUS:IIC:ASIZe / 793 :SBUS:IIC[:SOURce]:CLOCk / 794 :SBUS:IIC[:SOURce]:DATA / 795 :SBUS:IIC:TRIGger:PATTern:ADDRess / 796 :SBUS:IIC:TRIGger:PATTern:DATA / 797 :SBUS:IIC:TRIGger:PATTern:DATa2 / 798 :SBUS:IIC:TRIGger:QUALifier / 799 :SBUS:IIC:TRIGger[:TYPE] / 800 :SBUS:LIN Commands / 802 :SBUS:LIN:DISPlay / 804 :SBUS:LIN:PARity / 805 :SBUS:LIN:SAMPlepoint / 806 :SBUS:LIN:SIGNal:BAUDrate / 807 :SBUS:LIN:SOURce / 808 :SBUS:LIN:STANdard / 809 :SBUS:LIN:SYNCbreak / 810 :SBUS:LIN:TRIGger / 811 :SBUS:LIN:TRIGger:ID / 813 :SBUS:LIN:TRIGger:PATTern:DATA / 814 :SBUS:LIN:TRIGger:PATTern:DATA:LENGth / 816 :SBUS:LIN:TRIGger:PATTern:FORMat / 817 :SBUS:LIN:TRIGger:SYMBolic:FRAMe / 818 :SBUS:LIN:TRIGger:SYMBolic:SIGNal / 819 :SBUS:LIN:TRIGger:SYMBolic:VALue / 820 :SBUS:M1553 Commands / 821 :SBUS:M1553:AUTosetup / 822 :SBUS:M1553:BASE / 823 :SBUS:M1553:SOURce / 824 :SBUS:M1553:TRIGger:PATTern:DATA / 825 :SBUS:M1553:TRIGger:RTA / 826 :SBUS:M1553:TRIGger:TYPE / 827

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

:SBUS:MANChester Commands / 828 :SBUS:MANChester:BASE / 830 :SBUS:MANChester:BAUDrate / 831 :SBUS:MANChester:BITorder / 832 :SBUS:MANChester:DISPlay / 833 :SBUS:MANChester:DSIZe / 834 :SBUS:MANChester:HSIZe / 835 :SBUS:MANChester:IDLE:BITS / 836 :SBUS:MANChester:LOGic / 837 :SBUS:MANChester:SOURce / 838 :SBUS:MANChester:SSIZe / 839 :SBUS:MANChester:STARt / 840 :SBUS:MANChester:TOLerance / 841 :SBUS:MANChester:TRIGger / 842 :SBUS:MANChester:TRIGger:PATTern:VALue:DATA / 843 :SBUS:MANChester:TRIGger:PATTern:VALue:WIDTh / 844 :SBUS:MANChester:TSIZe / 845 :SBUS:MANChester:WSIZe / 846 :SBUS:NRZ Commands / 847 :SBUS:NRZ:BASE / 849 :SBUS:NRZ:BAUDrate / 850 :SBUS:NRZ:BITorder / 851 :SBUS:NRZ:DISPlay / 852 :SBUS:NRZ:DSIZe / 853 :SBUS:NRZ:FSIZe / 854 :SBUS:NRZ:HSIZe / 855 :SBUS:NRZ:IDLE:BITS / 856 :SBUS:NRZ:IDLE:STATe / 857 :SBUS:NRZ:LOGic / 858 :SBUS:NRZ:SOURce / 859 :SBUS:NRZ:STARt / 860 :SBUS:NRZ:TRIGger / 861 :SBUS:NRZ:TRIGger:PATTern:VALue:DATA / 862 :SBUS:NRZ:TRIGger:PATTern:VALue:WIDTh / 863 :SBUS:NRZ:TSIZe / 864 :SBUS:NRZ:WSIZe / 865 :SBUS:SENT Commands / 866 :SBUS:SENT:CLOCk / 868 :SBUS:SENT:CRC / 869 :SBUS:SENT:DISPlay / 870 :SBUS:SENT:FORMat / 872

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

23 :SBUS:SENT:IDLE / 874 :SBUS:SENT:LENGth / 875 :SBUS:SENT:PPULse / 876 :SBUS:SENT:SIGNal:DISPlay / 878 :SBUS:SENT:SIGNal:LENGth / 879 :SBUS:SENT:SIGNal:MULTiplier / 881 :SBUS:SENT:SIGNal:OFFSet / 883 :SBUS:SENT:SIGNal:ORDer / 885 :SBUS:SENT:SIGNal:STARt / 887 :SBUS:SENT:SOURce / 889 :SBUS:SENT:TOLerance / 890 :SBUS:SENT:TRIGger / 891 :SBUS:SENT:TRIGger:FAST:DATA / 893 :SBUS:SENT:TRIGger:SLOW:DATA / 894 :SBUS:SENT:TRIGger:SLOW:ID / 896 :SBUS:SENT:TRIGger:SLOW:ILENgth / 898 :SBUS:SENT:TRIGger:TOLerance / 899 :SBUS:UART Commands / 900 :SBUS:UART:BASE / 902 :SBUS:UART:BAUDrate / 903 :SBUS:UART:BITorder / 904 :SBUS:UART:COUNt:ERRor / 905 :SBUS:UART:COUNt:RESet / 906 :SBUS:UART:COUNt:RXFRames / 907 :SBUS:UART:COUNt:TXFRames / 908 :SBUS:UART:FRAMing / 909 :SBUS:UART:PARity / 910 :SBUS:UART:POLarity / 911 :SBUS:UART:SOURce:RX / 912 :SBUS:UART:SOURce:TX / 913 :SBUS:UART:TRIGger:BASE / 914 :SBUS:UART:TRIGger:BURSt / 915 :SBUS:UART:TRIGger:DATA / 916 :SBUS:UART:TRIGger:IDLE / 917 :SBUS:UART:TRIGger:QUALifier / 918 :SBUS:UART:TRIGger:TYPE / 919 :SBUS:UART:WIDTh / 920 :SBUS:USBPd Commands / 921 :SBUS:USBPd:SOURce / 922 :SBUS:USBPd:TRIGger / 923 :SBUS:USBPd:TRIGger:HEADer / 924

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

:SBUS:USBPd:TRIGger:HEADer:CMESsage / 926 :SBUS:USBPd:TRIGger:HEADer:DMESsage / 928 :SBUS:USBPd:TRIGger:HEADer:EMESsage / 929 :SBUS:USBPd:TRIGger:HEADer:VALue / 931 :SBUS:USBPd:TRIGger:HEADer:QUALifier / 932 28 :SEARch Commands General :SEARch Commands / 934 :SEARch:COUNt / 935 :SEARch:EVENt / 936 :SEARch:MODE / 937 :SEARch:STATe / 938 :SEARch:EDGE Commands / 939 :SEARch:EDGE:SLOPe / 940 :SEARch:EDGE:SOURce / 941 :SEARch:GLITch Commands / 942 :SEARch:GLITch:GREaterthan / 943 :SEARch:GLITch:LESSthan / 944 :SEARch:GLITch:POLarity / 945 :SEARch:GLITch:QUALifier / 946 :SEARch:GLITch:RANGe / 947 :SEARch:GLITch:SOURce / 948 :SEARch:PEAK Commands / 949 :SEARch:PEAK:EXCursion / 950 :SEARch:PEAK:NPEaks / 951 :SEARch:PEAK:SOURce / 952 :SEARch:PEAK:THReshold / 953 :SEARch:RUNT Commands / 954 :SEARch:RUNT:POLarity / 955 :SEARch:RUNT:QUALifier / 956 :SEARch:RUNT:SOURce / 957 :SEARch:RUNT:TIME / 958 :SEARch:TRANsition Commands / 959 :SEARch:TRANsition:QUALifier / 960 :SEARch:TRANsition:SLOPe / 961 :SEARch:TRANsition:SOURce / 962 :SEARch:TRANsition:TIME / 963 :SEARch:SERial:A429 Commands / 964 :SEARch:SERial:A429:LABel / 965

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

25 :SEARch:SERial:A429:MODE / 966 :SEARch:SERial:A429:PATTern:DATA / 967 :SEARch:SERial:A429:PATTern:SDI / 968 :SEARch:SERial:A429:PATTern:SSM / 969 :SEARch:SERial:CAN Commands / 970 :SEARch:SERial:CAN:MODE / 971 :SEARch:SERial:CAN:PATTern:DATA / 973 :SEARch:SERial:CAN:PATTern:DATA:LENGth / 974 :SEARch:SERial:CAN:PATTern:ID / 975 :SEARch:SERial:CAN:PATTern:ID:MODE / 976 :SEARch:SERial:CAN:SYMBolic:MESSage / 977 :SEARch:SERial:CAN:SYMBolic:SIGNal / 978 :SEARch:SERial:CAN:SYMBolic:VALue / 979 :SEARch:SERial:IIC Commands / 980 :SEARch:SERial:IIC:MODE / 981 :SEARch:SERial:IIC:PATTern:ADDRess / 983 :SEARch:SERial:IIC:PATTern:DATA / 984 :SEARch:SERial:IIC:PATTern:DATA2 / 985 :SEARch:SERial:IIC:QUALifier / 986 :SEARch:SERial:LIN Commands / 987 :SEARch:SERial:LIN:ID / 989 :SEARch:SERial:LIN:MODE / 990 :SEARch:SERial:LIN:PATTern:DATA / 991 :SEARch:SERial:LIN:PATTern:DATA:LENGth / 992 :SEARch:SERial:LIN:PATTern:FORMat / 993 :SEARch:SERial:LIN:SYMBolic:FRAMe / 994 :SEARch:SERial:LIN:SYMBolic:SIGNal / 995 :SEARch:SERial:LIN:SYMBolic:VALue / 996 :SEARch:SERial:M1553 Commands / 997 :SEARch:SERial:M1553:MODE / 998 :SEARch:SERial:M1553:PATTern:DATA / 999 :SEARch:SERial:M1553:RTA / 1000 :SEARch:SERial:SENT Commands / 1001 :SEARch:SERial:SENT:FAST:DATA / 1002 :SEARch:SERial:SENT:MODE / 1003 :SEARch:SERial:SENT:SLOW:DATA / 1004 :SEARch:SERial:SENT:SLOW:ID / 1005 :SEARch:SERial:UART Commands / 1006 :SEARch:SERial:UART:DATA / 1007

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

:SEARch:SERial:UART:MODE / 1008 :SEARch:SERial:UART:QUALifier / 1009 29 :SYSTem Commands :SYSTem:DATE / 1014 :SYSTem:DSP / 1015 :SYSTem:ERRor / 1016 :SYSTem:GUI:SHOW / 1017 :SYSTem:LOCK / 1018 :SYSTem:PERSona[:MANufacturer] / 1019 :SYSTem:PERSona[:MANufacturer]:DEFault / 1020 :SYSTem:PRECision / 1021 :SYSTem:PRECision:LENGth / 1022 :SYSTem:PRESet / 1023 :SYSTem:PROTection:LOCK / 1026 :SYSTem:RLOGger / 1027 :SYSTem:RLOGger:DESTination / 1028 :SYSTem:RLOGger:DISPlay / 1029 :SYSTem:RLOGger:FNAMe / 1030 :SYSTem:RLOGger:STATe / 1031 :SYSTem:RLOGger:TRANsparent / 1032 :SYSTem:RLOGger:WMODe / 1033 :SYSTem:SETup / 1034 :SYSTem:TIME / 1036 :SYSTem:TOUCh / 1037 30 :TIMebase Commands :TIMebase:MODE / 1041 :TIMebase:POSition / 1042 :TIMebase:RANGe / 1043 :TIMebase:REFClock / 1044 :TIMebase:REFerence / 1045 :TIMebase:REFerence:LOCation / 1046 :TIMebase:SCALe / 1047 :TIMebase:VERNier / 1048 :TIMebase:WINDow:POSition / 1049 :TIMebase:WINDow:RANGe / 1050 :TIMebase:WINDow:SCALe / 1051 31 :TRIGger Commands General :TRIGger Commands / 1055

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

27 :TRIGger:FORCe / 1057 :TRIGger:HFReject / 1058 :TRIGger:HOLDoff / 1059 :TRIGger:HOLDoff:MAXimum / 1060 :TRIGger:HOLDoff:MINimum / 1061 :TRIGger:HOLDoff:RANDom / 1062 :TRIGger:LEVel:ASETup / 1063 :TRIGger:LEVel:HIGH / 1064 :TRIGger:LEVel:LOW / 1065 :TRIGger:MODE / 1066 :TRIGger:NREJect / 1067 :TRIGger:SWEep / 1068 :TRIGger:DELay Commands / 1069 :TRIGger:DELay:ARM:SLOPe / 1070 :TRIGger:DELay:ARM:SOURce / 1071 :TRIGger:DELay:TDELay:TIME / 1072 :TRIGger:DELay:TRIGger:COUNt / 1073 :TRIGger:DELay:TRIGger:SLOPe / 1074 :TRIGger:DELay:TRIGger:SOURce / 1075 :TRIGger:EBURst Commands / 1076 :TRIGger:EBURst:COUNt / 1077 :TRIGger:EBURst:IDLE / 1078 :TRIGger:EBURst:SLOPe / 1079 :TRIGger:EBURst:SOURce / 1080 :TRIGger[:EDGE] Commands / 1081 :TRIGger[:EDGE]:COUPling / 1082 :TRIGger[:EDGE]:LEVel / 1083 :TRIGger[:EDGE]:REJect / 1084 :TRIGger[:EDGE]:SLOPe / 1085 :TRIGger[:EDGE]:SOURce / 1086 :TRIGger:GLITch Commands / 1087 :TRIGger:GLITch:GREaterthan / 1088 :TRIGger:GLITch:LESSthan / 1089 :TRIGger:GLITch:LEVel / 1090 :TRIGger:GLITch:POLarity / 1091 :TRIGger:GLITch:QUALifier / 1092 :TRIGger:GLITch:RANGe / 1093 :TRIGger:GLITch:SOURce / 1094 :TRIGger:NFC Commands / 1095 :TRIGger:NFC:AEVent / 1096

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

:TRIGger:NFC:ATTime / 1097 :TRIGger:NFC:RPOLarity / 1098 :TRIGger:NFC:SOURce / 1099 :TRIGger:NFC:STANdard / 1100 :TRIGger:NFC:TEVent / 1101 :TRIGger:NFC:TIMeout / 1103 :TRIGger:NFC:TIMeout:ENABle / 1104 :TRIGger:NFC:TIMeout:TIME / 1105 :TRIGger:OR Commands / 1106 :TRIGger:OR / 1107 :TRIGger:PATTern Commands / 1108 :TRIGger:PATTern / 1109 :TRIGger:PATTern:FORMat / 1111 :TRIGger:PATTern:GREaterthan / 1112 :TRIGger:PATTern:LESSthan / 1113 :TRIGger:PATTern:QUALifier / 1114 :TRIGger:PATTern:RANGe / 1115 :TRIGger:PXI Commands / 1116 :TRIGger:PXI:MALine:ENABle / 1118 :TRIGger:PXI:MODE / 1119 :TRIGger:PXI:MSLot / 1120 :TRIGger:PXI:SALine / 1121 :TRIGger:PXI:SYNC / 1122 :TRIGger:PXI:TLINe / 1123 :TRIGger:RUNT Commands / 1124 :TRIGger:RUNT:POLarity / 1125 :TRIGger:RUNT:QUALifier / 1126 :TRIGger:RUNT:SOURce / 1127 :TRIGger:RUNT:TIME / 1128 :TRIGger:SHOLd Commands / 1129 :TRIGger:SHOLd:SLOPe / 1130 :TRIGger:SHOLd:SOURce:CLOCk / 1131 :TRIGger:SHOLd:SOURce:DATA / 1132 :TRIGger:SHOLd:TIME:HOLD / 1133 :TRIGger:SHOLd:TIME:SETup / 1134 :TRIGger:TRANsition Commands / 1135 :TRIGger:TRANsition:QUALifier / 1136 :TRIGger:TRANsition:SLOPe / 1137 :TRIGger:TRANsition:SOURce / 1138

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

29 :TRIGger:TRANsition:TIME / 1139 :TRIGger:TV Commands / 1140 :TRIGger:TV:LINE / 1141 :TRIGger:TV:MODE / 1142 :TRIGger:TV:POLarity / 1143 :TRIGger:TV:SOURce / 1144 :TRIGger:TV:STANdard / 1145 :TRIGger:TV:UDTV:ENUMber / 1146 :TRIGger:TV:UDTV:HSYNc / 1147 :TRIGger:TV:UDTV:HTIMe / 1148 :TRIGger:TV:UDTV:PGTHan / 1149 :TRIGger:ZONE Commands / 1150 :TRIGger:ZONE:SOURce / 1151 :TRIGger:ZONE:STATe / 1152 :TRIGger:ZONE:MODE / 1153 :TRIGger:ZONE:PLACement / 1154 :TRIGger:ZONE:VALidity / 1155 :TRIGger:ZONE:STATe / 1156 32 :WAVeform Commands :WAVeform:BYTeorder / 1165 :WAVeform:COUNt / 1166 :WAVeform:DATA / 1167 :WAVeform:FORMat / 1169 :WAVeform:POINts / 1170 :WAVeform:POINts:MODE / 1172 :WAVeform:PREamble / 1174 :WAVeform:SEGMented:COUNt / 1177 :WAVeform:SEGMented:TTAG / 1178 :WAVeform:SOURce / 1179 :WAVeform:SOURce:SUBSource / 1183 :WAVeform:TYPE / 1184 :WAVeform:UNSigned / 1185 :WAVeform:VIEW / 1186 :WAVeform:XINCrement / 1187 :WAVeform:XORigin / 1188 :WAVeform:XREFerence / 1189 :WAVeform:YINCrement / 1190 :WAVeform:YORigin / 1191 :WAVeform:YREFerence / 1192

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

33 :WGEN Commands :WGEN:ARBitrary:BYTeorder / 1198 :WGEN:ARBitrary:DATA / 1199 :WGEN:ARBitrary:DATA:ATTRibute:POINts / 1202 :WGEN:ARBitrary:DATA:CLEar / 1203 :WGEN:ARBitrary:DATA:DAC / 1204 :WGEN:ARBitrary:INTerpolate / 1205 :WGEN:ARBitrary:STORe / 1206 :WGEN:FREQuency / 1207 :WGEN:FUNCtion / 1208 :WGEN:FUNCtion:PULSe:WIDTh / 1212 :WGEN:FUNCtion:RAMP:SYMMetry / 1213 :WGEN:FUNCtion:SQUare:DCYCle / 1214 :WGEN:MODulation:AM:DEPTh / 1215 :WGEN:MODulation:AM:FREQuency / 1216 :WGEN:MODulation:FM:DEViation / 1217 :WGEN:MODulation:FM:FREQuency / 1218 :WGEN:MODulation:FSKey:FREQuency / 1219 :WGEN:MODulation:FSKey:RATE / 1220 :WGEN:MODulation:FUNCtion / 1221 :WGEN:MODulation:FUNCtion:RAMP:SYMMetry / 1222 :WGEN:MODulation:NOISe / 1223 :WGEN:MODulation:STATe / 1224 :WGEN:MODulation:TYPE / 1225 :WGEN:OUTPut / 1227 :WGEN:OUTPut:LOAD / 1228 :WGEN:OUTPut:MODE / 1229 :WGEN:OUTPut:POLarity / 1230 :WGEN:OUTPut:SINGle / 1231 :WGEN:PERiod / 1232 :WGEN:RST / 1233 :WGEN:VOLTage / 1234 :WGEN:VOLTage:HIGH / 1235 :WGEN:VOLTage:LOW / 1236 :WGEN:VOLTage:OFFSet / 1237 34 :WMEMory Commands :WMEMory:CLEar / 1241 :WMEMory:DISPlay / 1242 :WMEMory:LABel / 1243 :WMEMory:SAVE / 1244

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

31 :WMEMory:SKEW / 1245 :WMEMory:YOFFset / 1246 :WMEMory:YRANge / 1247 :WMEMory:YSCale / 1248 35 Obsolete and Discontinued Commands :CHANnel:LABel / 1255 :CHANnel2:SKEW / 1256 :CHANnel:INPut / 1257 :CHANnel:PMODe / 1258 :DISPlay:CONNect / 1259 :ERASe / 1260 :EXTernal:PMODe / 1261 :FUNCtion:GOFT:OPERation / 1262 :FUNCtion:GOFT:SOURce1 / 1263 :FUNCtion:GOFT:SOURce2 / 1264 :FUNCtion:SOURce / 1265 :FUNCtion:VIEW / 1266 :MEASure:LOWer / 1267 :MEASure:SCRatch / 1268 :MEASure:TDELta / 1269 :MEASure:THResholds / 1270 :MEASure:TMAX / 1271 :MEASure:TMIN / 1272 :MEASure:TSTArt / 1273 :MEASure:TSTOp / 1274 :MEASure:TVOLt / 1275 :MEASure:UPPer / 1276 :MEASure:VDELta / 1277 :MEASure:VSTArt / 1278 :MEASure:VSTOp / 1279 :MTESt:AMASk:{SAVE | STORe} / 1280 :MTESt:AVERage / 1281 :MTESt:AVERage:COUNt / 1282 :MTESt:LOAD / 1283 :MTESt:RUMode / 1284 :MTESt:RUMode:SOFailure / 1285 :MTESt:{STARt | STOP} / 1286 :MTESt:TRIGger:SOURce / 1287 :SAVE:IMAGe:AREA / 1288 :SBUS:LIN:SIGNal:DEFinition / 1289

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

:SYSTem:MENU / 1290 :TIMebase:DELay / 1291 :TRIGger:TV:TVMode / 1292 36 Error Messages 37 Status Reporting Status Reporting Data Structures / 1303 Status Byte Register (STB) / 1306 Service Request Enable Register (SRE) / 1308 Trigger Event Register (TER) / 1309 Output Queue / 1310 Message Queue / 1311 (Standard) Event Status Register (ESR) / 1312 (Standard) Event Status Enable Register (ESE) / 1313 Error Queue / 1314 Operation Status Event Register (:OPERegister[:EVENt]) / 1315 Operation Status Condition Register (:OPERegister:CONDition) / 1317 Arm Event Register (AER) / 1318 Overload Event Register (:OVLRegister) / 1319 Hardware Event Event Register (:HWERegister[:EVENt]) / 1320 Hardware Event Condition Register (:HWERegister:CONDition) / 1321 Mask Test Event Event Register (:MTERegister[:EVENt]) / 1322 Clearing Registers and Queues / 1323 Status Reporting Decision Chart / 1324 Example: Checking for Armed Status / 1325 Example: Waiting for IO Operation Complete / 1330 38 Synchronizing Acquisitions Synchronization in the Programming Flow / 1334 Set Up the Oscilloscope / 1334 Acquire a Waveform / 1334 Retrieve Results / 1334 Blocking Synchronization / 1335

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes

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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

49 5 Choose Connect > Exit from the menu to exit the Keysight Interactive IO application.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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:

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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).

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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 ������������������������������������������ ����������� ��������������� ����������������� ���������������� �����������

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes

SCPI Programmer's Guide 5 Commands Quick Reference Command Summary / 66 Syntax Elements / 170

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

5 Commands Quick Reference Command Summary • Common (*) Commands Summary (see page 68) • Root (:) Commands Summary (see page 72) • :ACQuire Commands Summary (see page 74) • :CALibrate Commands Summary (see page 75) • :CHANnel Commands Summary (see page 76) • :COUNter Commands Summary (see page 78) • :DEMO Commands Summary (see page 79) • :DISPlay Commands Summary (see page 79) • :DVM Commands Summary (see page 81) • :EXTernal Trigger Commands Summary (see page 81) • :FRANalysis Commands Summary (see page 81) • :FUNCtion Commands Summary (see page 83) • :HARDcopy Commands Summary (see page 87) • :LISTer Commands Summary (see page 88) • :MARKer Commands Summary (see page 88) • :MEASure Commands Summary (see page 90) • :MEASure Power Commands Summary (see page 106) • :MTESt Commands Summary (see page 110) • :POWer Commands Summary (see page 112) • :RECall Commands Summary (see page 120) • :SAVE Commands Summary (see page 121) • General :SBUS Commands Summary (see page 124) • :SBUS:A429 Commands Summary (see page 124) • :SBUS:CAN Commands Summary (see page 126) • :SBUS:CXPI Commands Summary (see page 128) • :SBUS:IIC Commands Summary (see page 130) • :SBUS:LIN Commands Summary (see page 131) • :SBUS:M1553 Commands Summary (see page 133) • :SBUS:MANChester Commands Summary (see page 133) • :SBUS:NRZ Commands Summary (see page 135) • :SBUS:SENT Commands Summary (see page 136) • :SBUS:UART Commands Summary (see page 138) • :SBUS:USBPd Commands Summary (see page 140)

Commands Quick Reference

5 Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide 67 • General :SEARch Commands Summary (see page 141) • :SEARch:EDGE Commands Summary (see page 142) • :SEARch:GLITch Commands Summary (see page 142) • :SEARch:PEAK Commands Summary (see page 143) • :SEARch:RUNT Commands Summary (see page 143) • :SEARch:TRANsition Commands Summary (see page 144) • :SEARch:SERial:A429 Commands Summary (see page 144) • :SEARch:SERial:CAN Commands Summary (see page 145) • :SEARch:SERial:IIC Commands Summary (see page 145) • :SEARch:SERial:LIN Commands Summary (see page 146) • :SEARch:SERial:M1553 Commands Summary (see page 147) • :SEARch:SERial:SENT Commands Summary (see page 148) • :SEARch:SERial:UART Commands Summary (see page 148) • :SYSTem Commands Summary (see page 149) • :TIMebase Commands Summary (see page 151) • General :TRIGger Commands Summary (see page 152) • :TRIGger:DELay Commands Summary (see page 153) • :TRIGger:EBURst Commands Summary (see page 153) • :TRIGger[:EDGE] Commands Summary (see page 154) • :TRIGger:GLITch Commands Summary (see page 155) • :TRIGger:NFC Commands Summary (see page 156) • :TRIGger:OR Commands Summary (see page 156) • :TRIGger:PATTern Commands Summary (see page 157) • :TRIGger:PXI Commands Summary (see page 158) • :TRIGger:RUNT Commands Summary (see page 158) • :TRIGger:SHOLd Commands Summary (see page 159) • :TRIGger:TRANsition Commands Summary (see page 159) • :TRIGger:TV Commands Summary (see page 160) • :TRIGger:ZONE Commands Summary (see page 161) • :WAVeform Commands Summary (see page 161) • :WGEN Commands Summary (see page 164) • :WMEMory Commands Summary (see page 168)

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Commands Quick Reference

5 Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide 69 n/a *OPT? (see page 186) ::= 0,0, ::= , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Table 2 Common (*) Commands Summary (continued) Command Query Options and Query Returns

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

5 Commands Quick Reference n/a *OPT? (see page 186) (cont'd) ::= {0 | All} ::= 0 ::= {0 | MEMUP} ::= {0 | EMBD} ::= {0 | AUTO} ::= {0 | FRA} ::= {0 | PWR} ::= {0 | COMP} ::= {0 | SGM} ::= {0 | MASK} ::= {0 | EDK} ::= {0 | WAVEGEN} ::= {0 | AERO} ::= {0 | VID} ::= {0 | ADVMATH} ::= {0 | DVMCTR} ::= {0 | RML} ::= {0 | SENSOR} ::= {0 | CANFD} ::= {0 | CXPI} ::= {0 | NFC} ::= {0 | NRZ} ::= {0 | USBPD} *RCL (see page 188) n/a ::= {0 | 1 | 4 | 5 | 6 | 7 | 8 | 9} *RST (see page 189) n/a See *RST (Reset) (see page 189) *SAV (see page 192) n/a ::= {0 | 1 | 4 | 5 | 6 | 7 | 8 | 9} Table 2 Common (*) Commands Summary (continued) Command Query Options and Query Returns

Commands Quick Reference

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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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.

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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 (see page 328) n/a ::= {MASK | MEASure | SEGMented | LISTer | POWer} :DISPlay:MESSage:CLEa r (see page 329) n/a n/a :DISPlay:PERSistence (see page 330) :DISPlay:PERSistence? (see page 330) ::= {MINimum | INFinite |

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}

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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}

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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

Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide

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

Other Test Equipment Manuals