Page 2
EULA shall apply, except to the extent that purpose. Keysight shall not be liable for those terms, rights, or licenses are explicitly errors or for incidental or consequential...
In This Book This book is your guide to SCPI programming with the P9241/42/43A oscilloscopes: Table 1 Keysight P9241/42/43A 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...
Page 4
27, “:SYSTem Commands,” starting on page 861, describes commands that control basic system functions of the oscilloscope. • Chapter 28, “:TIMebase Commands,” starting on page 887, describes commands that control all horizontal sweep functions. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 5
38, “Programming Examples,” starting on page 1205. 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).
Version 7.21 at Introduction / 34 Command Differences From M9241/42/43A PXIe Oscilloscopes / 35 2 Setting Up Step 1. Install Keysight IO Libraries Suite software / 38 Step 2. Connect and set up the oscilloscope / 39 Step 3. Verify the oscilloscope connection / 42...
Page 29
Acquire a Waveform / 1176 Retrieve Results / 1176 Blocking Synchronization / 1177 Polling Synchronization With Timeout / 1178 Synchronizing with a Single-Shot Device Under Test (DUT) / 1180 Synchronization with an Averaging Acquisition / 1182 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 30
SICL Example in C / 1292 SICL Example in Visual Basic / 1301 SCPI.NET Examples / 1312 SCPI.NET Example in C# / 1312 SCPI.NET Example in Visual Basic .NET / 1318 SCPI.NET Example in IronPython / 1324 Index Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 1 What's New What's New in Version 7.30 / 32 Version 7.21 at Introduction / 34 Command Differences From M9241/42/43A PXIe Oscilloscopes / 35...
What's New What's New in Version 7.30 New features in version 7.30 of the Keysight P9241/42/43A oscilloscope software are: • New Slew Rate and Y at X measurements along with improvements to the Time at Edge measurement. • The new Digitizer (acquisition) mode lets you choose the acquisition sample rate and memory depth instead of having them be determined automatically based on the horizontal time per division setting.
Page 33
Current Command Equivalent Behavior Differences :MEASure:VTIMe (see :MEASure:YATX (see With :MEASure:YATX, there is a page 1121) page 497) command for installing the measurement on the oscilloscope's display. :MEASure:VTIMe had no command, only a query. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
What's New Version 7.21 at Introduction The Keysight P9241/42/43A oscilloscopes were introduced with version 7.21 of oscilloscope operating software. The command set is most closely related to the InfiniiVision M9241/42/43A PXIe oscilloscopes (and the 3000T X-Series, 4000 X-Series, 3000 X-Series, 7000A/B Series, 6000 Series, and 54620/54640 Series oscilloscopes before them).
What's New Command Differences From M9241/42/43A PXIe Oscilloscopes The Keysight P9241/42/43A oscilloscopes command set is most closely related to the InfiniiVision M9241/42/43A PXIe oscilloscopes (and the 3000T X-Series, 4000 X-Series, 3000 X-Series, 7000A/B Series, 6000 Series, and 54620/54640 Series oscilloscopes before them).
Page 36
What's New Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Step 2. Connect and set up the oscilloscope / 39 Step 3. Verify the oscilloscope connection / 42 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...
Setting Up Step 1. Install Keysight IO Libraries Suite software Download the Keysight IO Libraries Suite software from the Keysight web site • http://www.keysight.com/find/iolib Run the setup file, and follow its installation instructions. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
When the To get an oscilloscope's HiSLIP (VISA) address: Controller PC is On the host PC, click on the Keysight IO Control icon in the taskbar and choose also the Host PC Connection Expert from the popup menu. In the Connection Expert window's Instruments tab, select the connected oscilloscope under the LAN (TCPIP0) interface.
Page 40
Controller PC is In the oscilloscope's Front Panel graphical user interface, choose (Menu) > Another Computer Utilities > I/O Menu. on the Network In the dialog box that appears, take note of the HiSLIP address. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 41
Setting Up Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Setting Up Step 3. Verify the oscilloscope connection On the controller PC, click on the Keysight IO Control icon in the taskbar and choose Utilities > Interactive IO from the popup menu. In the Keysight Interactive IO application, choose Connect > Connect..
Page 43
Setting Up Choose Connect > Exit from the menu to exit the Keysight Interactive IO application. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 44
Setting Up Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The getting started examples show how to send oscilloscope setup, data capture, and query commands, and they show how to read query results. Language for Program Examples N OT E The programming examples in this guide are written in Visual Basic using the Keysight VISA COM library.
Any additional commands sent while :DIGitize is working are buffered until :DIGitize is complete. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
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.
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): Choose Tools >...
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.
The actual commands and syntax for initializing the instrument are discussed in Chapter “Common (*) Commands,” starting on page 155. Refer to the Keysight IO Libraries Suite documentation for information on initializing the interface. 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.
: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 P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 52
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. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
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. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
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: Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
For more information, see Chapter 35, “Status Reporting,” starting on page 1143 which explains how to check the status of the instrument. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 57
Keysight P9241/42/43A 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.
Page 58
(Blocking) Command See Also • "*OPC (Operation Complete)" on page 168 • "*ESR (Standard Event Status Register)" on page 164 • Chapter 36, “Synchronizing Acquisitions,” starting on page 1175 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
• :SBUS<n>:SENT Commands Summary (see page 118) • :SBUS<n>:UART Commands Summary (see page 120) • :SBUS<n>:USBPd Commands Summary (see page 122) • General :SEARch Commands Summary (see page 123) • :SEARch:EDGE Commands Summary (see page 124) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 61
• :TRIGger:TV Commands Summary (see page 141) • :TRIGger:ZONE Commands Summary (see page 142) • :WAVeform Commands Summary (see page 143) • :WGEN Commands Summary (see page 146) • :WMEMory<r> Commands Summary (see page 150) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 62
IEEE 488.2 # format page 168) page 168) *OPC (see *OPC? (see ASCII "1" is placed in the output queue when all pending device operations have completed. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 65
0 to 255; an integer in NR1 format. <mask> ::= following values: Bit Weight Name Enables --- ------ ---- ---------- OPER Operation Status Reg ---- (Not used.) Event Status Bit Message Available ---- (Not used.) Message User Trigger Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 66
<value> (see (see :AUToscale:CHANnels :AUToscale:CHANnels? <value> ::= {ALL | DISPlayed}} page 190) page 190) <value> (see (see :AUToscale:FDEBug {{0 :AUToscale:FDEBug? {0 | 1} page 191) | OFF} | {1 | ON}} (see page 191) (see Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 67
:OPEE? (see <n> ::= 15-bit integer in NR1 page 203) format :OPERegister:CONDitio <n> ::= 15-bit integer in NR1 page 205) n? (see format :OPERegister[:EVENt]? <n> ::= 15-bit integer in NR1 page 208) (see format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 68
SBUS{1 | 2} | WMEMory<r>} <n> ::= 1 to (# analog channels) in NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 69
Dex <index> (see Dex? (see 1000 in NR1 format page 237) :ACQuire:SRATe[:ANALo :ACQuire:SRATe[:ANALo <rate> ::= {AUTO | <sample_rate>} page 240) g] <rate> (see g]? (see <sample_rate> ::= desired analog page 240) sample rate in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 70
<status_string> ::= an ASCII status string :CALibrate:TEMPeratur <return value> ::= degrees C page 254) e? (see delta since last cal in NR3 format :CALibrate:TIME? (see <return value> ::= page 255) <hours>,<minutes>,<seconds>; all in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 71
<n> ::= 1 to (# analog channels) in NR1 format :CHANnel<n>:PROBe:ID? <probe id> ::= unquoted ASCII page 269) (see string up to 11 characters <n> ::= 1 to (# analog channels) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 72
<n> ::= 1 to (# analog channels) in NR1 format :CHANnel<n>:VERNier :CHANnel<n>:VERNier? {0 | 1} page 277) {{0 | OFF} | {1 | (see <n> ::= 1 to (# analog channels) page 277) ON}} (see in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 73
<n> ::= 1 to (# analog channels) page 289) page 289) (see in NR1 format :COUNter:TOTalize:SLO :COUNter:TOTalize:SLO <slope> ::= {{NEGative | FALLing} page 290) Pe <slope> (see Pe? (see | {POSitive | RISing}} page 290) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 74
<value> ::= an integer from 0 to >:Y1Position <value> >:Y1Position? (see (480 - height of annotation) in page 303) page 303) (see NR1 format. <n> ::= an integer from 1 to 4 in NR1 format. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 76
[SWEep | SINGle] (see comma-separated data with page 331) newlines at the end of each row :FRANalysis:ENABle :FRANalysis:ENABle? {0 | 1} page 332) {{0 | OFF} | {1 | (see page 332) ON}} (see Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 77
:FRANalysis:TRACe? <selection> ::= {NONE | ALL | page 341) <selection> (see (see GAIN | PHASe}[,{GAIN | PHASe}] page 341) :FRANalysis:WGEN:LOAD :FRANalysis:WGEN:LOAD <impedance> ::= {ONEMeg | FIFTy} page 342) <impedance> (see ? (see page 342) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 78
:FUNCtion<m>[:FFT]:DE :FUNCtion<m>[:FFT]:DE <type> ::= {OFF | SAMPle | Tection:TYPE <type> Tection:TYPE? (see PPOSitive | PNEGative | NORMal | page 357) page 357) (see AVERage} <m> ::= 1 to (# math functions) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 79
Legal values are 1 Hz to 100 GHz. <m> ::= 1 to (# math functions) in NR1 format :FUNCtion<m>[:FFT]:SR <sample_rate> ::= Hz in NR3 page 365) ATe? (see format <m> ::= 1 to (# math functions) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 80
<offset> (see (see screen in NR3 format. page 373) The range of legal values is +/-10 times the current sensitivity of the selected function. <m> ::= 1 to (# math functions) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 81
<suffix> ::= {V | dB} page 380) <m> ::= 1 to (# math functions) in NR1 format :FUNCtion<m>:SMOoth:P :FUNCtion<m>:SMOoth:P <points> ::= odd integer in NR1 page 381) OINts <points> (see OINts? (see format page 381) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 82
Query Options and Query Returns :HCOPY:SDUMp:DATA? <display_data> ::= binary block page 388) (see data in IEEE-488.2 # format. :HCOPY:SDUMp:FORMat :HCOPY:SDUMp:FORMat? <format> ::= {BMP | BMP8bit | page 389) <format> (see (see PNG} page 389) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 83
NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= <source> :MARKer:X2:DISPlay :MARKer:X2:DISPlay? <setting> ::= {0 | 1} page 403) {{0 | OFF} | {1 | (see page 403) ON}} (see Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 84
:MARKer:Y2Position :MARKer:Y2Position? <position> ::= Y2 cursor position page 412) <position>[suffix] (see value in NR3 format page 412) (see [suffix] ::= {V | mV | dB} <return_value> ::= Y2 cursor position value in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 85
<n> ::= 1 to (# of analog channels) in NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= bit rate in Hz, NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 87
NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= ratio of positive pulse width to period in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 88
[<source>] (see MATH<m> | FFT} (source must be an page 449) page 449) FFT waveform) <m> ::= 1 to (# math functions) in NR1 format <return_value> ::= spectral channel power, dBV in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 89
<n> ::= 1 to (# analog channels) in NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= frequency in Hertz in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 90
<n> ::= 1 to (# analog channels) in NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= the falling pulse count in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 91
<n> ::= 1 to (# analog channels) in NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= the rising edge count in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 92
<n> ::= 1 to (# analog channels) in NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= the rising pulse count in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 93
<n> ::= 1 to (# analog channels) in NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= rise time in seconds in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 94
<return_value> ::= {<source> | NONE} :MEASure:STATistics :MEASure:STATistics? <type> ::= {{ON | 1} | CURRent | page 474) page 474) <type> (see (see MEAN | MINimum | MAXimum | STDDev | COUNt} ON ::= all statistics returned Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 95
<n> ::= 1 to (# of analog channels) in NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= time in seconds of the specified transition Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 96
NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= the amplitude of the selected waveform in volts in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 97
NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= maximum voltage of the selected waveform in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 98
<n> ::= 1 to (# analog channels) in NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= the ratio value in dB in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 99
<r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= voltage at the top of the waveform in NR3 format :MEASure:WINDow :MEASure:WINDow? (see <type> ::= {MAIN | ZOOM | AUTO | page 494) page 494) <type> (see GATE} Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 106
NOTE: Only ADD or SUBtract math operations can be saved as reference waveforms. <return_value> ::= <source> :SAVE:WMEMory[:STARt] <file_name> ::= quoted ASCII [<file_name>] (see string page 571) If extension included in file name, it must be ".h5". Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 107
<source> ::= {CHANnel<n>} page 588) <source> (see (see <n> ::= 1 to (# analog channels) page 588) in NR1 format :SBUS<n>:A429:SPEed :SBUS<n>:A429:SPEed? <speed> ::= {LOW | HIGH | USER} page 589) page 589) <speed> (see (see Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 109
DBaudrate? (see to 10000000 in 100 b/s page 612) page 612) (see increments. :SBUS<n>:CAN:SOURce :SBUS<n>:CAN:SOURce? <source> ::= CHANnel<n> page 613) <source> (see (see <n> ::= 1 to (# analog channels) page 613) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 110
::= {0,..,9 | A,..,F | X | $} :SBUS<n>:CAN:TRIGger: :SBUS<n>:CAN:TRIGger: <value> ::= {STANdard | EXTended} PATTern:ID:MODE PATTern:ID:MODE? (see page 623) page 623) <value> (see :SBUS<n>:CAN:TRIGger: :SBUS<n>:CAN:TRIGger: <name> ::= quoted ASCII string SYMBolic:MESSage SYMBolic:MESSage? page 624) page 624) <name> (see (see Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 111
636) :SBUS<n>:CXPI:TRIGger :SBUS<n>:CXPI:TRIGger <string> ::= "nn...n" where n ::= :PATTern:DATA :PATTern:DATA? (see {0 | 1 | X} page 637) <string> (see <string ::= "0xnn...n" where n page 637) ::= {0,..,9 | A,..,F | X} Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 112
<n> ::= 1 to (# analog channels) page 646) in NR1 format :SBUS<n>:IIC[:SOURce] :SBUS<n>:IIC[:SOURce] <source> ::= CHANnel<n> page 647) :DATA <source> (see :DATA? (see <n> ::= 1 to (# analog channels) page 647) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 113
660) <source> (see (see <n> ::= 1 to (# analog channels) page 660) in NR1 format :SBUS<n>:LIN:STANdard :SBUS<n>:LIN:STANdard <std> ::= {LIN13 | LIN13NLC | page 661) page 661) <std> (see ? (see LIN20} Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 114
(see :SBUS<n>:LIN:TRIGger: :SBUS<n>:LIN:TRIGger: <name> ::= quoted ASCII string SYMBolic:SIGNal SYMBolic:SIGNal? (see page 671) page 671) <name> (see :SBUS<n>:LIN:TRIGger: :SBUS<n>:LIN:TRIGger: <data> ::= value in NR3 format SYMBolic:VALue <data> SYMBolic:VALue? (see page 672) page 672) (see Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 115
683) (see :SBUS<n>:MANChester:B :SBUS<n>:MANChester:B <bitorder> ::= {MSBFirst | ITorder <bitorder> ITorder? (see LSBFirst} page 684) page 684) (see :SBUS<n>:MANChester:D :SBUS<n>:MANChester:D <format> ::= {BIT | WORD} page 685) ISPlay <format> (see ISPlay? (see page 685) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 116
<string ::= "0xnn...n" where n page 695) ::= {0,..,9 | A,..,F | X | $} :SBUS<n>:MANChester:T :SBUS<n>:MANChester:T <width> ::= integer from 4 to 128 RIGger:PATTern:VALue: RIGger:PATTern:VALue: in NR1 format page 696) WIDTh <width> (see WIDTh? (see page 696) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 117
709) Te <state> (see Te? (see page 709) :SBUS<n>:NRZ:LOGic :SBUS<n>:NRZ:LOGic? <logic> ::= {HIGH | LOW} page 710) page 710) <logic> (see (see :SBUS<n>:NRZ:SOURce :SBUS<n>:NRZ:SOURce? <source> ::= {CHANnel<n>} page 711) <source> (see (see page 711) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 118
<#_nibbles> ::= from 1-6, in NR1 page 727) <#_nibbles> (see (see format. page 727) :SBUS<n>:SENT:PPULse :SBUS<n>:SENT:PPULse? {0 | 1 | SPC} page 728) {{0 | OFF} | {1 | ON} (see page 728) | SPC} (see Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 119
:SBUS<n>:SENT:TRIGger <string> ::= "nnnn..." where n :FAST:DATA <string> :FAST:DATA? (see ::= {0 | 1 | X} page 745) page 745) (see <string> ::= "0xn..." where n ::= {0,..,9 | A,..,F | X | $} Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 120
<bitorder> (see r? (see MSBFirst} page 756) :SBUS<n>:UART:COUNt:E <frame_count> ::= integer in NR1 page 757) RRor? (see format :SBUS<n>:UART:COUNt:R page 758) ESet (see :SBUS<n>:UART:COUNt:R <frame_count> ::= integer in NR1 XFRames? (see format page 759) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 121
<base> ::= {ASCii | HEX} page 766) :BASE <base> (see :BASE? (see page 766) :SBUS<n>:UART:TRIGger :SBUS<n>:UART:TRIGger <value> ::= {OFF | 1 to 4096 in page 767) :BURSt <value> (see :BURSt? (see NR1 format} page 767) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 124
(see [suffix] ::= {s | ms | us | ns | :SEARch:GLITch:SOURce :SEARch:GLITch:SOURce <source> ::= CHANnel<n> page 800) <source> (see ? (see <n> ::= 1 to (# analog channels) page 800) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 125
<n> ::= 1 to (# analog channels) page 809) in NR1 format :SEARch:RUNT:TIME :SEARch:RUNT:TIME? <time> ::= floating-point number page 810) <time>[suffix] (see (see in NR3 format page 810) [suffix] ::= {s | ms | us | ns | Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 126
| 1}, length always 2 bits page 820) page 820) (see :SEARch:SERial:A429:P :SEARch:SERial:A429:P <string> ::= "nn" where n ::= {0 ATTern:SSM <string> ATTern:SSM? (see | 1}, length always 2 bits page 821) page 821) (see Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 128
HEX, <string> ::= "0xnn...n" where n ::= {0,..,9 | A,..,F | X :SEARch:SERial:LIN:PA :SEARch:SERial:LIN:PA <length> ::= integer from 1 to 8 TTern:DATA:LENGth TTern:DATA:LENGth? in NR1 format page 843) <length> (see (see page 843) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 129
<hexadecimal>, page 851) <binary>, or <string> from 0-31 < hexadecimal > ::= #Hnn where n ::= {0,..,9|A,..,F} <binary> ::= #Bnn...n where n ::= {0 | 1} for binary <string> ::= "0xnn" where n::= {0,..,9|A,..,F} Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 132
890) <pos> (see (see event to the display reference point in NR3 format :TIMebase:RANGe :TIMebase:RANGe? (see <range_value> ::= time for 10 div page 891) <range_value> (see in seconds in NR3 format page 891) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 133
<holdoff_time> ::= 60 ns to 10 s page 907) <holdoff_time> (see (see in NR3 format page 907) :TRIGger:HOLDoff:MAXi :TRIGger:HOLDoff:MAXi <max_holdoff> ::= maximum page 908) mum <max_holdoff> mum? (see holdoff time in seconds in NR3 page 908) (see format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 134
<slope> ::= {NEGative | POSitive} page 918) OPe <slope> (see OPe? (see page 918) :TRIGger:DELay:ARM:SO :TRIGger:DELay:ARM:SO <source> ::= CHANnel<n> page 919) URce <source> (see URce? (see <n> ::= 1 to (# analog channels) page 919) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 135
<slope> ::= {NEGative | POSitive} page 927) page 927) <slope> (see ? (see :TRIGger:EBURst:SOURc :TRIGger:EBURst:SOURc <source> ::= CHANnel<n> page 928) e <source> (see e? (see <n> ::= 1 to (# analog channels) page 928) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 136
[suffix] ::= {s | ms | us | ns | :TRIGger:GLITch:LESSt :TRIGger:GLITch:LESSt <less_than_time> ::= page 937) han? (see floating-point number in NR3 <less_than_time>[suff format page 937) ix] (see [suffix] ::= {s | ms | us | ns | Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 137
{{0 | OFF} | {1 | y? (see page 946) ON}} (see :TRIGger:NFC:SOURce :TRIGger:NFC:SOURce? <source> ::= CHANnel<n> page 947) <source> (see (see <n> ::= 1 to (# analog channels) page 947) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 138
R = rising edge, F = falling edge, E = either edge, X = don't care. Each character in the string is for an analog channel as shown on the soft front panel display. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 139
(see 10 seconds in NR3 format <less_than_time>[suff <greater_than_time> ::= 10 ns to ix], 9.99 seconds in NR3 format <greater_than_time>[s page 963) [suffix] ::= {s | ms | us | ns | uffix] (see Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 140
[suffix] ::= {s | ms | us | ns | :TRIGger:SHOLd:TIME:S :TRIGger:SHOLd:TIME:S <time> ::= floating-point number page 974) ETup <time>[suffix] ETup? (see in NR3 format page 974) (see [suffix] ::= {s | ms | us | ns | Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 142
<height>, <x_center>, <height> ::= height of zone in <y_center> (see volts page 994) <x_center> ::= center of zone in seconds <y_center> ::= center of zone in volts <n> ::= 1-2 in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 143
<# points> ::= {100 | 250 | 500 | 1000 | 2000 ... 8000000 in 1-2-5 sequence | <points_mode>} if waveform points mode is MAXimum or RAW <points_mode> ::= {NORMal | MAXimum | RAW} Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 144
OUNt? (see 1000 in NR1 format :WAVeform:SEGMented:T <time_tag> ::= in NR3 format page 1019) TAG? (see :WAVeform:SEGMented:X <xlist_type> ::= {RELXorigin | LISt? <xlist_type> ABSXorigin | TTAG} page 1020) (see <return_value> ::= X-info for all segments Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 145
NR3 format :WAVeform:YORigin? <return_value> ::= y-origin in page 1033) (see the current preamble in NR3 format :WAVeform:YREFerence? <return_value> ::= y-reference page 1034) (see value in the current preamble in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 146
<w> ::= 1 to (# WaveGen outputs) in NR1 format :WGEN<w>:ARBitrary:IN :WGEN<w>:ARBitrary:IN {0 | 1} Terpolate {{0 | OFF} Terpolate? (see <w> ::= 1 to (# WaveGen outputs) page 1047) | {1 | ON}} (see in NR1 format page 1047) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 147
<w> ::= 1 to (# WaveGen outputs) in NR1 format :WGEN<w>:MODulation:A :WGEN<w>:MODulation:A <percent> ::= AM depth percentage M:DEPTh <percent> M:DEPTh? (see from 0% to 100% in NR1 format page 1057) page 1057) (see <w> ::= 1 in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 148
<w> ::= 1 in NR1 format page 1067) :WGEN<w>:OUTPut {{0 | :WGEN<w>:OUTPut? (see {0 | 1} page 1069) OFF} | {1 | ON}} (see <w> ::= 1 to (# WaveGen outputs) page 1069) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 149
<w> ::= 1 to (# WaveGen outputs) in NR1 format :WGEN<w>:VOLTage:OFFS :WGEN<w>:VOLTage:OFFS <offset> ::= offset in volts in page 1079) et <offset> (see et? (see NR3 format page 1079) <w> ::= 1 to (# WaveGen outputs) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 150
<skew> ::= time in seconds in NR3 format :WMEMory<r>:YOFFset :WMEMory<r>:YOFFset? <r> ::= 1 to (# ref waveforms) in page 1088) <offset>[suffix] (see (see NR1 format page 1088) <offset> ::= vertical offset value in NR3 format [suffix] ::= {V | mV} Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 151
:WMEMory<r>:YSCale :WMEMory<r>:YSCale? <r> ::= 1 to (# ref waveforms) in page 1090) <scale>[suffix] (see (see NR1 format page 1090) <scale> ::= vertical units per division value in NR3 format [suffix] ::= {V | mV} Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
ON or OFF may be selected, not both. ::= (Defined As) ::= means "defined as". For example, <A> ::= <B> indicates that <A> can be replaced by <B> in any statement containing <A>. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
A quoted ASCII string is a string delimited by either double quotes (") or single quotes ('). Some command parameters require a quoted ASCII string. For example, when using the Keysight VISA COM library in Visual Basic, the command: myScope.WriteString ":CHANNEL1:LABEL 'One'"...
Page 154
Commands Quick Reference <1000 bytes of data> is the actual data Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 6 Common (*) Commands Commands defined by IEEE 488.2 standard that are common to all instruments. "Introduction to Common (*) Commands" on page 159. Table 64 Common (*) Commands Summary Command Query Options and Query Returns...
Page 158
0 to 255; an integer in NR1 format. <mask> ::= following values: Bit Weight Name Enables --- ------ ---- ---------- OPER Operation Status Reg ---- (Not used.) Event Status Bit Message Available ---- (Not used.) Message User Trigger Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 159
:AUToscale; :ACQuire:COUNt 256" sets the acquire type, completes the autoscale, then sets the acquire count. In this example, :ACQuire must be sent again after the :AUToscale command in order to re-enter the ACQuire subsystem and set the count. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 160
Common (*) Commands Each of the status registers has an enable (mask) register. By setting the bits in the enable N OTE register, you can select the status information you want to use. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Event when a device-dependent error is detected. Query Error Event when a query error is detected. Request Control Event when the device is requesting control. (Not used.) Operation Complete Event when an operation is complete. Query Syntax *ESE? Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 163
See Also • "Introduction to Common (*) Commands" on page 159 • "*ESR (Standard Event Status Register)" on page 164 • "*OPC (Operation Complete)" on page 168 • "*CLS (Clear Status)" on page 161 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
A device-dependent error has been detected. Query Error A query error has been detected. Request Control The device is requesting control. (Not used.) Operation Complete Operation is complete. Return Format <status><NL> <status> ::= 0,..,255; an integer in NR1 format. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 165
"Introduction to Common (*) Commands" on page 159 • "*ESE (Standard Event Status Enable)" on page 162 • "*OPC (Operation Complete)" on page 168 • "*CLS (Clear Status)" on page 161 • ":SYSTem:ERRor" on page 867 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
X.XX.XX ::= the software revision of the instrument See Also • "Introduction to Common (*) Commands" on page 159 • "*OPT (Option Identification)" on page 169 • ":SYSTem:PERSona[:MANufacturer]" on page 870 • ":SYSTem:PERSona[:MANufacturer]:DEFault" on page 871 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<learn string> specifies the current instrument setup. The block size is subject to change with different firmware revisions. The *LRN? query return format has changed from previous Keysight oscilloscopes to match N OTE the IEEE 488.2 specification which says that the query result must contain ":SYST:SET " before the binary block data.
"Synchronization with an Averaging Acquisition" on page 1182 • "Set Up the Oscilloscope" on page 1176 • "Example: Blocking and Polling Synchronization" on page 1184 • "Example: Waiting for IO Operation Complete" on page 1172 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 170
<Software Bundle> ::= {0 | P9240BDLB} The *OPT? query returns the following: Module Module Id No modules attached 0,0,0,0,0,0,0,0,0,0,0,0,0,0,SGM,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ADVMATH,0,0 ,0,0,0,0,0,0,0,0,RML,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 See Also • "Introduction to Common (*) Commands" on page 159 • "*IDN (Identification Number)" on page 166 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9} The *RCL command restores the state of the instrument from the specified save/recall register. See Also • "Introduction to Common (*) Commands" on page 159 • "*SAV (Save)" on page 175 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Channel 1 Channel 2 Volts/division 5.00 V Offset 0.00 Coupling Probe attenuation AutoProbe (if AutoProbe is connected), otherwise 1.0:1 Vernier Invert BW limit Impedance 1 M Ohm Units Volts Skew Cursor Menu Source Channel 1 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 173
Mode Auto Coupling Source Channel 1 Level 0.0 V Slope Positive HF Reject and noise reject Holdoff 40 ns External probe attenuation 10:1 External Units Volts External Impedance 1 M Ohm (cannot be changed) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 174
It is not necessary to reinitialize them unless the default ' setting is not suitable for your application. myScope.WriteString "*RST" ' Reset the oscilloscope to the defaults. See complete example programs at: Chapter 38, “Programming Examples,” starting on page 1205 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The *SAV command stores the current state of the instrument in a save register. The data parameter specifies the register where the data will be saved. See Also • "Introduction to Common (*) Commands" on page 159 • "*RCL (Recall)" on page 171 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Service Request Enable Register contains a mask value for the bits to be enabled in the Status Byte Register. A one in the Service Request Enable Register enables the corresponding bit in the Status Byte Register. A zero disables the bit. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 177
<mask> ::= sum of all bits that are set, 0,..,255; an integer in NR1 format See Also • "Introduction to Common (*) Commands" on page 159 • "*STB (Read Status Byte)" on page 178 • "*CLS (Clear Status)" on page 161 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
(Master Summary Status) bit is reported on bit 6 instead of the RQS (request service) bit. The MSS indicates whether or not the device has at least one reason for requesting service. Return Format <value><NL> <value> ::= 0,..,255; an integer in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 179
To read the instrument's status byte with RQS reported on bit 6, use the interface Serial Poll. N OTE See Also • "Introduction to Common (*) Commands" on page 159 • "*SRE (Service Request Enable)" on page 176 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The *TRG command has the same effect as the :DIGitize command with no parameters. See Also • "Introduction to Common (*) Commands" on page 159 • ":DIGitize" on page 193 • ":RUN" on page 215 • ":STOP" on page 219 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
If the test fails, refer to the troubleshooting section of the Service Guide. Return Format <result><NL> <result> ::= 0 or non-zero value; an integer in NR1 format See Also • "Introduction to Common (*) Commands" on page 159 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
(see page 1196) Command Syntax *WAI The *WAI command has no function in the oscilloscope, but is parsed for compatibility with other instruments. See Also • "Introduction to Common (*) Commands" on page 159 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 7 Root (:) Commands Control many of the basic functions of the oscilloscope and reside at the root level of the command tree. See "Introduction to Root (:) Commands" on page 185. Table 69 Root (:) Commands Summary...
Page 185
These commands are always recognized by the parser if they are prefixed with a Commands colon, regardless of current command tree position. After executing a root-level command, the parser is positioned at the root of the command tree. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
• Reference waveforms. • Zoomed (delayed) time base mode. For further information on :AUToscale, see the User's Guide. See Also • "Introduction to Root (:) Commands" on page 185 • ":AUToscale:CHANnels" on page 190 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 188
' AUTOSCALE - This command evaluates all the input signals and sets ' the correct conditions to display all of the active signals. myScope.WriteString ":AUToscale" ' Same as pressing Auto Scale key. See complete example programs at: Chapter 38, “Programming Examples,” starting on page 1205 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :AUToscale:FDEBug? query returns the current autoscale fast debug setting. Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to Root (:) Commands" on page 185 • ":AUToscale" on page 187 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Enable register as an integer number. Return Format <value><NL> <value> ::= integer in NR1 format. See Also • "Introduction to Root (:) Commands" on page 185 • ":AER (Arm Event Register)" on page 186 • ":CHANnel<n>:PROTection" on page 273 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 196
208 • ":OVLenable (Overload Event Enable Register)" on page 211 • ":OVLRegister (Overload Event Register)" on page 213 • "*STB (Read Status Byte)" on page 178 • "*SRE (Service Request Enable)" on page 176 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Mask test failed. Complet Mask Test Complete Mask test is complete. Query Syntax :MTEenable? The :MTEenable? query returns the current value contained in the Mask Test Event Enable register as an integer number. Return Format <value><NL> Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 200
208 • ":OVLenable (Overload Event Enable Register)" on page 211 • ":OVLRegister (Overload Event Register)" on page 213 • "*STB (Read Status Byte)" on page 178 • "*SRE (Service Request Enable)" on page 176 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • "Introduction to Root (:) Commands" on page 185 • ":CHANnel<n>:PROTection" on page 273 • ":OPEE (Operation Status Enable Register)" on page 203 • ":OPERegister:CONDition (Operation Status Condition Register)" on page 205 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 202
Root (:) Commands • ":OVLenable (Overload Event Enable Register)" on page 211 • ":OVLRegister (Overload Event Register)" on page 213 • "*STB (Read Status Byte)" on page 178 • "*SRE (Service Request Enable)" on page 176 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
USB interface and then request waveform data, the IOC bit will be set when the IO operation completes. Hardware Event Event when hardware event occurs. OVLR Overload Event when 50Ω input overload occurs. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 204
"*SRE (Service Request Enable)" on page 176 • "Operation Status Event Register (:OPERegister[:EVENt])" on page 1157 • "Example: Checking for Armed Status" on page 1167 • "Example: Waiting for IO Operation Complete" on page 1172 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
IOC bit will be set when the IO operation completes. Hardware Event Event when hardware event occurs. OVLR Overload A 50Ω input overload has occurred. (Not used.) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 206
• ":OVLRegister (Overload Event Register)" on page 213 • "*STB (Read Status Byte)" on page 178 • "*SRE (Service Request Enable)" on page 176 • ":MTERegister[:EVENt] (Mask Test Event Event Register)" on page 201 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 207
• "*OPC (Operation Complete)" on page 168 • "Operation Status Condition Register (:OPERegister:CONDition)" page 1159 • "Example: Checking for Armed Status" on page 1167 • "Example: Waiting for IO Operation Complete" on page 1172 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
IOC bit will be set when the IO operation completes. Hardware Event Event when hardware event occurs. OVLR Overload A 50Ω input overload has occurred. (Not used.) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 209
205 • ":OVLenable (Overload Event Enable Register)" on page 211 • ":OVLRegister (Overload Event Register)" on page 213 • "*STB (Read Status Byte)" on page 178 • "*SRE (Service Request Enable)" on page 176 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 210
"*OPC (Operation Complete)" on page 168 • "Operation Status Event Register (:OPERegister[:EVENt])" on page 1157 • "Example: Checking for Armed Status" on page 1167 • "Example: Waiting for IO Operation Complete" on page 1172 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
- STOP stops the data acquisition and turns off AUTOSTORE. ' myScope.WriteString ":RUN" ' Start data acquisition. ' myScope.WriteString ":STOP" ' Stop the data acquisition. See complete example programs at: Chapter 38, “Programming Examples,” starting on page 1205 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Root (:) Commands :SERial (see page 1196) Query Syntax :SERial? The :SERial? query returns the serial number of the instrument. Return Format: Unquoted string<NL> See Also • "Introduction to Root (:) Commands" on page 185 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
This is the same as pressing the Single key on the front panel. See Also • "Introduction to Root (:) Commands" on page 185 • ":RUN" on page 215 • ":STOP" on page 219 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • "Introduction to Root (:) Commands" on page 185 • ":RUN" on page 215 • ":SINGle" on page 217 Example Code • "Example Code" on page 215 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= {1 | 0}; a 16-bit integer in NR1 format. See Also • "Introduction to Root (:) Commands" on page 185 • "*SRE (Service Request Enable)" on page 176 • "*STB (Read Status Byte)" on page 178 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 8 :ACQuire Commands Set the parameters for acquiring and storing data. See "Introduction to :ACQuire Commands" on page 224. Table 80 :ACQuire Commands Summary Command Query Options and Query Returns :ACQuire:AALias? (see {1 | 0}...
Page 224
(also known as smoothing). This mode is used to reduce noise at slower sweep speeds where the digitizer samples faster than needed to fill memory for the displayed time range. Instead of decimating samples, they are Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 225
Use :ACQuire? to query setup information for the ACQuire subsystem. Return Format The following is a sample response from the :ACQuire? query. In this case, the query was issued following a *RST command. :ACQ:MODE RTIM;TYPE NORM;COMP 100;COUNT 8;SEGM:COUN 2 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
This control can be directly disabled or disabled automatically. Return Format <value><NL> <value> ::= {1 | 0} See Also • "Introduction to :ACQuire Commands" on page 224 • ":ACQuire:DAALias" on page 229 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The parameter determines the percentage of time ' buckets needed to be "full" before an acquisition is considered ' to be complete. myScope.WriteString ":ACQuire:COMPlete 100" See complete example programs at: Chapter 38, “Programming Examples,” starting on page 1205 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<count_argument> ::= an integer from 2 to 65536 in NR1 format See Also • "Introduction to :ACQuire Commands" on page 224 • ":ACQuire:TYPE" on page 242 • ":DIGitize" on page 193 • ":WAVeform:COUNt" on page 1006 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :ACQuire:DAALias? query returns the oscilloscope's current disable anti-alias mode setting. Return Format <mode><NL> <mode> ::= {DIS | AUTO} See Also • "Introduction to :ACQuire Commands" on page 224 • ":ACQuire:AALias" on page 226 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :ACQuire:DIGitizer? query returns whether Digitizer mode is off or on. Return Format <setting><NL> <setting> ::= {0 | 1} See Also • ":ACQuire:SRATe[:ANALog]" on page 240 • ":ACQuire:SRATe[:ANALog]:AUTO" on page 241 • ":ACQuire:POINts[:ANALog]" on page 232 • ":ACQuire:POINts[:ANALog]:AUTO" on page 233 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:ACQuire:MODE? The :ACQuire:MODE? query returns the acquisition mode of the oscilloscope. Return Format <mode_argument><NL> <mode_argument> ::= {RTIM | SEGM} See Also • "Introduction to :ACQuire Commands" on page 224 • ":ACQuire:TYPE" on page 242 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • "Introduction to :ACQuire Commands" on page 224 • ":ACQuire:SRATe[:ANALog]" on page 240 • ":ACQuire:POINts[:ANALog]:AUTO" on page 233 • ":ACQuire:DIGitizer" on page 230 • ":DIGitize" on page 193 • ":WAVeform:POINts" on page 1010 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :ACQuire:POINts[:ANALog]:AUTO? query returns the automatic analog memory depth setting. Return Format <setting><NL> <setting> ::= {0 | 1} See Also • ":ACQuire:DIGitizer" on page 230 • ":ACQuire:POINts[:ANALog]" on page 232 • ":ACQuire:SRATe[:ANALog]" on page 240 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :ACQuire:RSIGnal? The :ACQuire:RSIGnal? query returns the current reference signal mode. Return Format <ref_signal_mode><NL> <ref_signal_mode> ::= {OFF | OUT | IN} See Also • ":TIMebase:REFClock" on page 892 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
In order to use this command, the oscilloscope must be stopped and in segmented acquisition mode, with either quick measurements or infinite persistence on. See Also • ":ACQuire:MODE" on page 231 • ":ACQuire:SEGMented:COUNt" on page 236 • "Introduction to :ACQuire Commands" on page 224 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
235 • "Introduction to :ACQuire Commands" on page 224 Example Code ' Segmented memory commands example. ' ------------------------------------------------------------------- Option Explicit Public myMgr As VisaComLib.ResourceManager Public myScope As VisaComLib.FormattedIO488 Public varQueryResult As Variant Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 238
= varQueryResult ' For each segment: Dim dblTimeTag As Double Dim lngI As Long For lngI = lngSegments To 1 Step -1 ' Set the segmented memory index. myScope.WriteString ":ACQuire:SEGMented:INDex " + CStr(lngI) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 239
":WAVeform:SEGMented:TTAG?" dblTimeTag = myScope.ReadNumber Debug.Print "Segment " + CStr(lngI) + " time tag: " _ + FormatNumber(dblTimeTag, 12) Next lngI Exit Sub VisaComError: MsgBox "VISA COM Error:" + vbCrLf + Err.Description End Sub Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <sample_rate><NL> <sample_rate> ::= sample rate in NR3 format See Also • "Introduction to :ACQuire Commands" on page 224 • ":ACQuire:POINts[:ANALog]" on page 232 • ":ACQuire:SRATe[:ANALog]:AUTO" on page 241 • ":ACQuire:DIGitizer" on page 230 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :ACQuire:SRATe[:ANALog]:AUTO? query returns the automatic analog sample rate setting. Return Format <setting><NL> <setting> ::= {0 | 1} See Also • ":ACQuire:DIGitizer" on page 230 • ":ACQuire:SRATe[:ANALog]" on page 240 • ":ACQuire:POINts[:ANALog]" on page 232 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The obsolete command ACQuire:TYPE:REALtime is functionally equivalent to sending N OTE ACQuire:MODE RTIME; TYPE NORMal. Query Syntax :ACQuire:TYPE? The :ACQuire:TYPE? query returns the current acquisition type. Return Format <acq_type><NL> <acq_type> ::= {NORM | AVER | HRES | PEAK} Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 243
1014 Example Code ' AQUIRE_TYPE - Sets the acquisition mode, which can be NORMAL, ' PEAK, or AVERAGE. myScope.WriteString ":ACQuire:TYPE NORMal" See complete example programs at: Chapter 38, “Programming Examples,” starting on page 1205 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 9 :CALibrate Commands Utility commands for viewing calibration status and for starting the user calibration procedure. See "Introduction to :CALibrate Commands" on page 246. Table 81 :CALibrate Commands Summary Command Query Options and Query Returns :CALibrate:DATE? (see <return value>...
Page 246
Commands (CAL PROTECT). • Saving and querying the calibration label string. • Reporting the calibration time and date. • Reporting changes in the temperature since the last calibration. • Starting the user calibration procedure. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
1196) Query Syntax :CALibrate:DATE? The :CALibrate:DATE? query returns the date of the last calibration. Return Format <date><NL> <date> ::= year,month,day in NR1 format<NL> See Also • "Introduction to :CALibrate Commands" on page 246 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :CALibrate:LABel? query returns the contents of the calibration label string. Return Format <string><NL> <string>::= unquoted ASCII string of up to 32 characters in length See Also • "Introduction to :CALibrate Commands" on page 246 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
• For NFC-A, the second event is SDD_REQ. • For NFC-B, the second event is ATTRIB. • For NFC-F, the second event is ATR_REQ. When the oscilloscope triggers, the Aux Out line goes low. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 250
The :CALibrate:OUTPut query returns the current source of the Aux Out signal. Return Format <signal><NL> <signal> ::= {TRIG | MASK | WAVE | NFC | TSO | OFF} See Also • "Introduction to :CALibrate Commands" on page 246 • ":WGEN<w>:FUNCtion" on page 1050 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
PROTECT) button state. The value PROTected indicates calibration is disabled, and UNPRotected indicates calibration is enabled. Return Format <switch><NL> <switch> ::= {"PROTected" | "UNPRotected"} See Also • "Introduction to :CALibrate Commands" on page 246 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
UNPROTECTED, and you must connect BNC cables from the TRIG OUT connector to the analog channel inputs. See the User's Guide for details. See Also • "Introduction to :CALibrate Commands" on page 246 • ":CALibrate:PROTected" on page 251 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<status_code> ::= an integer status code <status_string> ::= an ASCII status string The status codes and strings can be: Status Code Status String Calibrated Not Calibrated See Also • "Introduction to :CALibrate Commands" on page 246 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :CALibrate:TEMPerature? query returns the change in temperature since the last user calibration procedure. Return Format <return value><NL> <return value> ::= degrees C delta since last cal in NR3 format See Also • "Introduction to :CALibrate Commands" on page 246 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
1196) Query Syntax :CALibrate:TIME? The :CALibrate:TIME? query returns the time of the last calibration. Return Format <date><NL> <date> ::= hour,minutes,seconds in NR1 format See Also • "Introduction to :CALibrate Commands" on page 246 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 10 :CHANnel<n> Commands Control all oscilloscope functions associated with individual analog channels or groups of channels. See "Introduction to :CHANnel<n> Commands" on page 259. Table 82 :CHANnel<n> Commands Summary Command Query Options and Query Returns :CHANnel<n>:BWLimit...
Page 258
NR1 format :CHANnel<n>:RANGe :CHANnel<n>:RANGe? <range> ::= Vertical full-scale page 274) <range>[suffix] (see (see range value in NR3 format page 274) [suffix] ::= {V | mV} <n> ::= 1 to (# analog channels) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 259
The following are sample responses from the :CHANnel<n>? query. In this case, the query was issued following a *RST command. :CHAN1:RANG +40.0E+00;OFFS +0.00000E+00;COUP DC;IMP ONEM;DISP 1;BWL 0; INV 0;LAB "1";UNIT VOLT;PROB +10E+00;PROB:SKEW +0.00E+00;STYP SING Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
25 MHz. Query Syntax :CHANnel<n>:BWLimit? The :CHANnel<n>:BWLimit? query returns the current setting of the low-pass filter. Return Format <bwlimit><NL> <bwlimit> ::= {1 | 0} See Also • "Introduction to :CHANnel<n> Commands" on page 259 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :CHANnel<n>:COUPling? The :CHANnel<n>:COUPling? query returns the current coupling for the specified channel. Return Format <coupling value><NL> <coupling value> ::= {AC | DC} See Also • "Introduction to :CHANnel<n> Commands" on page 259 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:CHANnel<n>:IMPedance? The :CHANnel<n>:IMPedance? query returns the current input impedance setting for the specified channel. Return Format <impedance value><NL> <impedance value> ::= {ONEM | FIFT} See Also • "Introduction to :CHANnel<n> Commands" on page 259 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :CHANnel<n>:INVert? The :CHANnel<n>:INVert? query returns the current state of the channel inversion. Return Format <invert value><NL> <invert value> ::= {0 | 1} See Also • "Introduction to :CHANnel<n> Commands" on page 259 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<offset><NL> <offset> ::= Vertical offset value in NR3 format See Also • "Introduction to :CHANnel<n> Commands" on page 259 • ":CHANnel<n>:RANGe" on page 274 • ":CHANnel<n>:SCALe" on page 275 • ":CHANnel<n>:PROBe" on page 267 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
' selected channel. The probe attenuation factor may be set ' from 0.001 to 10000. myScope.WriteString ":CHANnel1:PROBe 10" ' Set Probe to 10:1. See complete example programs at: Chapter 38, “Programming Examples,” starting on page 1205 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :CHANnel<n>:PROBe:SKEW? query returns the current probe skew setting for the selected channel. Return Format <skew value><NL> <skew value> ::= skew value in NR3 format See Also • "Introduction to :CHANnel<n> Commands" on page 259 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :CHANnel<n>:PROBe:STYPe? query returns the current probe signal type setting for the selected channel. Return Format <signal type><NL> <signal type> ::= {DIFF | SING} See Also • "Introduction to :CHANnel<n> Commands" on page 259 • ":CHANnel<n>:OFFSet" on page 266 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
NORM (normal) is returned. Return Format {NORM | TRIP}<NL> See Also • "Introduction to :CHANnel<n> Commands" on page 259 • ":CHANnel<n>:COUPling" on page 261 • ":CHANnel<n>:IMPedance" on page 263 • ":CHANnel<n>:PROBe" on page 267 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
' range value is 8 times the volts per division. myScope.WriteString ":CHANnel1:RANGe 8" ' Set the vertical range to 8 volts. See complete example programs at: Chapter 38, “Programming Examples,” starting on page 1205 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <scale value><NL> <scale value> ::= vertical units per division in NR3 format See Also • "Introduction to :CHANnel<n> Commands" on page 259 • ":CHANnel<n>:RANGe" on page 274 • ":CHANnel<n>:PROBe" on page 267 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <units><NL> <units> ::= {VOLT | AMP} See Also • "Introduction to :CHANnel<n> Commands" on page 259 • ":CHANnel<n>:RANGe" on page 274 • ":CHANnel<n>:PROBe" on page 267 • ":EXTernal:UNITs" on page 327 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :CHANnel<n>:VERNier? The :CHANnel<n>:VERNier? query returns the current state of the channel's vernier setting. Return Format <vernier value><NL> <vernier value> ::= {0 | 1} See Also • "Introduction to :CHANnel<n> Commands" on page 259 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 11 :COUNter Commands These commands control the counter feature. See "Introduction to :COUNter Commands" on page 280. Table 83 :COUNter Commands Summary Command Query Options and Query Returns :COUNter:CURRent? <value> ::= current counter value...
Page 280
Use :COUNter? to query setup information for the COUNter subsystem. Return Format The following is a sample response from the :COUNter? query. In this case, the query was issued following the *RST command. :COUN:ENAB 0;SOUR CHAN1;MODE FREQ;NDIG 5 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :COUNter:CURRent? query returns the current counter value. Return Format <value><NL> <value> ::= current counter value in NR3 format See Also • ":COUNter:ENABle" on page 282 • ":COUNter:MODE" on page 283 • ":COUNter:NDIGits" on page 284 • ":COUNter:SOURce" on page 285 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :COUNter:ENABle? query returns whether the counter is enabled or disabled. Return Format <off_on><NL> {0 | 1} See Also • ":COUNter:CURRent" on page 281 • ":COUNter:MODE" on page 283 • ":COUNter:NDIGits" on page 284 • ":COUNter:SOURce" on page 285 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :COUNter:SOURce? query returns the currently set counter source channel. Return Format <source><NL> See Also • ":COUNter:CURRent" on page 281 • ":COUNter:ENABle" on page 282 • ":COUNter:MODE" on page 283 • ":COUNter:NDIGits" on page 284 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :DEMO:OUTPut? query returns the current state of the demo signal output setting. Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :DEMO Commands" on page 291 • ":DEMO:FUNCtion" on page 292 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 295
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 13 :DISPlay Commands Control how waveforms, graticule, and text are displayed and written on the screen. See "Introduction to :DISPlay Commands" on page 297. Table 85 :DISPlay Commands Summary Command Query Options and Query Returns :DISPlay:ANNotation<n...
Page 297
Use :DISPlay? to query the setup information for the DISPlay subsystem. Return Format The following is a sample response from the :DISPlay? query. In this case, the query was issued following a *RST command. :DISP:LAB 0;VECT 1;PERS MIN Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • ":DISPlay:ANNotation<n>:TEXT" on page 301 • ":DISPlay:ANNotation<n>:COLor" on page 300 • ":DISPlay:ANNotation<n>:BACKground" on page 299 • ":DISPlay:ANNotation<n>:X1Position" on page 302 • ":DISPlay:ANNotation<n>:Y1Position" on page 303 • "Introduction to :DISPlay Commands" on page 297 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • ":DISPlay:ANNotation<n>" on page 298 • ":DISPlay:ANNotation<n>:TEXT" on page 301 • ":DISPlay:ANNotation<n>:COLor" on page 300 • ":DISPlay:ANNotation<n>:X1Position" on page 302 • ":DISPlay:ANNotation<n>:Y1Position" on page 303 • "Introduction to :DISPlay Commands" on page 297 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • ":DISPlay:ANNotation<n>" on page 298 • ":DISPlay:ANNotation<n>:TEXT" on page 301 • ":DISPlay:ANNotation<n>:BACKground" on page 299 • ":DISPlay:ANNotation<n>:X1Position" on page 302 • ":DISPlay:ANNotation<n>:Y1Position" on page 303 • "Introduction to :DISPlay Commands" on page 297 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • ":DISPlay:ANNotation<n>" on page 298 • ":DISPlay:ANNotation<n>:COLor" on page 300 • ":DISPlay:ANNotation<n>:BACKground" on page 299 • ":DISPlay:ANNotation<n>:X1Position" on page 302 • ":DISPlay:ANNotation<n>:Y1Position" on page 303 • "Introduction to :DISPlay Commands" on page 297 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= an integer from 0 to (800 - width of annotation) in NR1 form See Also • ":DISPlay:ANNotation<n>:Y1Position" on page 303 • ":DISPlay:ANNotation<n>" on page 298 • ":DISPlay:ANNotation<n>:COLor" on page 300 • ":DISPlay:ANNotation<n>:BACKground" on page 299 • ":DISPlay:ANNotation<n>:TEXT" on page 301 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= an integer from 0 to (480 - height of annotation) in NR1 for mat. See Also • ":DISPlay:ANNotation<n>:X1Position" on page 302 • ":DISPlay:ANNotation<n>" on page 298 • ":DISPlay:ANNotation<n>:COLor" on page 300 • ":DISPlay:ANNotation<n>:BACKground" on page 299 • ":DISPlay:ANNotation<n>:TEXT" on page 301 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
If the oscilloscope is running, all of the data for active channels and functions is erased; however, new data is displayed on the next acquisition. See Also • "Introduction to :DISPlay Commands" on page 297 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
' Open file f or output. Put #1, , byteData ' Write data. Close #1 ' Close file. myScope.IO.Timeout = 5000 See complete example programs at: Chapter 38, “Programming Examples,” starting on page 1205 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :DISPlay:GRATicule:INTensity command sets the graticule (grid) intensity. Query Syntax :DISPlay:GRATicule:INTensity? The :DISPlay:GRATicule:INTensity? query returns the graticule (grid) intensity setting. Return Format <value><NL> See Also • ":DISPlay:GRATicule:ALABels" on page 306 • ":DISPlay:GRATicule:TYPE" on page 308 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :DISPlay:INTensity:WAVeform? The :DISPlay:INTensity:WAVeform? query returns the waveform intensity setting. Return Format <value><NL> <value> ::= an integer from 0 to 100 in NR1 format. See Also • "Introduction to :DISPlay Commands" on page 297 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Example Code ' DISP_LABEL - Turns label names ON or OFF on the analyzer display. myScope.WriteString ":DISPlay:LABel ON" ' Turn on labels. See complete example programs at: Chapter 38, “Programming Examples,” starting on page 1205 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<binary block> ::= an ordered list of up to 75 labels, a maximum of 32 characters each, separated by newline characters. See Also • "Introduction to :DISPlay Commands" on page 297 • ":DISPlay:LABel" on page 310 • ":CHANnel<n>:LABel" on page 265 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:DISPlay:MENU <menu> <menu> ::= {MASK | MEASure | SEGMented | LISTer | OFF} The :DISPlay:MENU command changes the front panel softkey menu or turns it off. When off, channel setup information is displayed instead. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:DISPlay Commands :DISPlay:MESSage:CLEar (see page 1196) Command Syntax :DISPlay:MESSage:CLEar The :DISPlay:MESSage:CLEar command removes all user messages that are currently on screen. See Also • ":SYSTem:DSP" on page 866 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
1196) Command Syntax :DISPlay:VECTors <vectors> <vectors> ::= {1 | ON} Vector display is always ON in the P9241/42/43A oscilloscopes. When vectors are turned on, the oscilloscope displays lines connecting sampled data points. Query Syntax :DISPlay:VECTors? The :DISPlay:VECTors? query returns the vectors setting.
Page 317
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 14 :DVM Commands These commands control the digital voltmeter (DVM) feature. Table 86 :DVM Commands Summary Command Query Options and Query Returns :DVM:ARANge {{0 | :DVM:ARANge? (see {0 | 1} page 318) OFF} | {1 | ON}} (see...
The :DVM:ARANge? query returns a flag indicating whether the digital voltmeter's Auto Range capability is on or off. Return Format <setting><NL> <setting> ::= {0 | 1} See Also • ":DVM:SOURce" on page 322 • ":DVM:ENABle" on page 320 • ":DVM:MODE" on page 321 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
+9.9E+37 is returned. Return Format <dvm_value><NL> <dvm_value> ::= floating-point number in NR3 format See Also • ":DVM:SOURce" on page 322 • ":DVM:ENABle" on page 320 • ":DVM:MODE" on page 321 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :DVM:ENABle? query returns a flag indicating whether the digital voltmeter (DVM) analysis feature is on or off. Return Format <setting><NL> <setting> ::= {0 | 1} See Also • ":DVM:SOURce" on page 322 • ":DVM:MODE" on page 321 • ":DVM:ARANge" on page 318 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :DVM:MODE? query returns the selected DVM mode. Return Format <dvm_mode><NL> <dvm_mode> ::= {ACRM | DC | DCRM} See Also • ":DVM:ENABle" on page 320 • ":DVM:SOURce" on page 322 • ":DVM:ARANge" on page 318 • ":DVM:CURRent" on page 319 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<source><NL> <source> ::= {CHAN<n>} <n> ::= 1-2 or 1-4 in NR1 format See Also • ":DVM:ENABle" on page 320 • ":DVM:MODE" on page 321 • ":DVM:ARANge" on page 318 • ":DVM:CURRent" on page 319 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 323
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 15 :EXTernal Trigger Commands Control the input characteristics of the external trigger input. See "Introduction to :EXTernal Trigger Commands" on page 323. Table 87 :EXTernal Trigger Commands Summary Command Query Options and Query Returns...
The :EXTernal:BWLimit? query returns the current setting of the low-pass filter (always 0). Return Format <bwlimit><NL> <bwlimit> ::= 0 See Also • "Introduction to :EXTernal Trigger Commands" on page 323 • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:HFReject" on page 906 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<attenuation> ::= probe attenuation ratio in NR3 format See Also • "Introduction to :EXTernal Trigger Commands" on page 323 • ":EXTernal:RANGe" on page 326 • "Introduction to :TRIGger Commands" on page 901 • ":CHANnel<n>:PROBe" on page 267 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<range_argument><NL> <range_argument> ::= external trigger range value in NR3 format See Also • "Introduction to :EXTernal Trigger Commands" on page 323 • ":EXTernal:PROBe" on page 325 • "Introduction to :TRIGger Commands" on page 901 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • "Introduction to :EXTernal Trigger Commands" on page 323 • "Introduction to :TRIGger Commands" on page 901 • ":EXTernal:RANGe" on page 326 • ":EXTernal:PROBe" on page 325 • ":CHANnel<n>:UNITs" on page 276 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 329
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 16 :FRANalysis Commands Control oscilloscope functions associated with the Frequency Response Analysis (FRA) feature, which is available in oscilloscope models that have a license-enabled built-in waveform generator. See "Introduction to :FRANalysis Commands" on page 330.
Page 330
Use :FRANalysis? to query setup information for the FRANalysis subsystem. Return Format The following is a sample response from the :FRANalysis? query. In this case, the query was issued following a *RST command. :FRAN:SOUR:INP CHAN1;OUTP CHAN2;:FRAN:FREQ:STAR +100E+00; STOP +20.000000E+06;:FRAN:WGEN:VOLT +200.0E-03;LOAD FIFT Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :FRANalysis:PPDecade? The :FRANalysis:PPDecade? query returns the points per decade setting. Return Format <value><NL> See Also • ":FRANalysis:FREQuency:STARt" on page 335 • ":FRANalysis:FREQuency:STOP" on page 336 • ":FRANalysis:WGEN:VOLTage:PROFile" on page 344 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
"NONE" if neither gain nor phase data is included. Return Format <selection_list><NL> <selection_list> ::= {"NONE" | "GAIN" | "PHASe" | "GAIN,PHASe"} See Also • ":FRANalysis:RUN" on page 338 • ":FRANalysis:DATA" on page 331 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :FRANalysis:WGEN:VOLTage:PROFile? query returns the voltage profile setting. Return Format <setting><NL> <setting> ::= {0 | 1} See Also • ":FRANalysis:WGEN:VOLTage" on page 343 • ":FRANalysis:PPDecade" on page 337 • ":FRANalysis:FREQuency:STARt" on page 335 • ":FRANalysis:FREQuency:STOP" on page 336 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 345
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 17 :FUNCtion<m> Commands Control math functions in the oscilloscope. See "Introduction to :FUNCtion<m> Commands" on page 349. Table 89 :FUNCtion<m> Commands Summary Command Query Options and Query Returns :FUNCtion<m>:AVERage: :FUNCtion<m>:AVERage: <count> ::= an integer from 2 to...
Page 346
Legal values are 1 Hz to 100 GHz. <m> ::= 1 to (# math functions) in NR1 format :FUNCtion<m>[:FFT]:SR <sample_rate> ::= Hz in NR3 page 365) ATe? (see format <m> ::= 1 to (# math functions) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 347
<offset> (see (see screen in NR3 format. page 373) The range of legal values is +/-10 times the current sensitivity of the selected function. <m> ::= 1 to (# math functions) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 348
<suffix> ::= {V | dB} page 380) <m> ::= 1 to (# math functions) in NR1 format :FUNCtion<m>:SMOoth:P :FUNCtion<m>:SMOoth:P <points> ::= odd integer in NR1 page 381) OINts <points> (see OINts? (see format page 381) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 349
See ":FUNCtion<m>:OPERation" on page 374. The SOURce1, DISPlay, RANGe, and OFFSet (or REFerence) commands apply to any function. Reporting the Setup Use :FUNCtion<m>? to query setup information for the FUNCtion subsystem. Return Format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 350
:FUNCtion<m> Commands The following is a sample response from the :FUNCtion1? query. In this case, the query was issued following a *RST command. :FUNC1:OPER ADD;DISP 0;SOUR1 CHAN1;SOUR2 CHAN2;RANG +8.00E+00;OFFS +0.0E+00 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:FUNCtion<m>:AVERage:COUNt? The :FUNCtion<m>:AVERage:COUNt? query returns the number of waveforms to be averaged together. Return Format <count><NL> <count> ::= an integer from 2 to 65536 in NR1 format See Also • ":FUNCtion<m>:OPERation" on page 374 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:FUNCtion<m> Commands :FUNCtion<m>:CLEar (see page 1196) Command Syntax :FUNCtion<m>:CLEar When the :FUNCtion<m>:OPERation is AVERage, MAXHold, or MINHold, the :FUNCtion<m>:CLEar command clears the number of evaluated waveforms. See Also • ":FUNCtion<m>:AVERage:COUNt" on page 351 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:FUNCtion<m>[:FFT]:BSIZe? <m> ::= 1-4 in NR1 format The :FUNCtion<m>[:FFT]:BSIZe? query returns the Bin Size setting for the FFT. Return Format <bin_size><NL> <bin_size> ::= Hz in NR3 format See Also • ":FUNCtion<m>[:FFT]:READout<n>" on page 363 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:FUNCtion<m>:SPAN value, they no longer track the :TIMebase:RANGe value. See Also • "Introduction to :FUNCtion<m> Commands" on page 349 • ":FUNCtion<m>[:FFT]:SPAN" on page 364 • ":TIMebase:RANGe" on page 891 • ":TIMebase:SCALe" on page 895 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The maximum number of points is the measurement record limit of 64K. Query Syntax :FUNCtion<m>[:FFT]:DETection:POINts? The :FUNCtion<m>[:FFT]:DETection:POINts? query returns the FFT detector points setting. Return Format <number_of_buckets><NL> <number_of_buckets> ::= an integer in NR1 format See Also • ":FUNCtion<m>[:FFT]:DETection:TYPE" on page 357 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :FUNCtion<m>[:FFT]:FREQuency:STARt? query returns the current start frequency in Hertz. Return Format <frequency><NL> <frequency> ::= the start frequency in NR3 format. See Also • ":FUNCtion<m>[:FFT]:FREQuency:STOP" on page 359 • ":FUNCtion<m>[:FFT]:CENTer" on page 355 • ":FUNCtion<m>[:FFT]:SPAN" on page 364 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :FUNCtion<m>[:FFT]:FREQuency:STOP? query returns returns the current stop frequency in Hertz. Return Format <frequency><NL> <frequency> ::= the stop frequency in NR3 format. See Also • ":FUNCtion<m>[:FFT]:FREQuency:STARt" on page 358 • ":FUNCtion<m>[:FFT]:CENTer" on page 355 • ":FUNCtion<m>[:FFT]:SPAN" on page 364 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :FUNCtion<m>[:FFT]:GATE? query returns the gate setting. Return Format <gating><NL> <gating> ::= {NONE | ZOOM} See Also • ":FUNCtion<m>[:FFT]:VTYPe" on page 366 • ":FUNCtion<m>[:FFT]:WINDow" on page 367 • "Introduction to :FUNCtion<m> Commands" on page 349 • ":FUNCtion<m>:OPERation" on page 374 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :FUNCtion<m>[:FFT]:PHASe:REFerence? The :FUNCtion<m>[:FFT]:PHASe:REFerence? query returns the selected reference point. Return Format <ref_point><NL> <ref_point> ::= {TRIGger | DISPlay} See Also • ":FUNCtion<m>:OPERation" on page 374 • "Introduction to :FUNCtion<m> Commands" on page 349 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:FUNCtion<m>[:FFT]:RBWidth? <m> ::= 1-4 in NR1 format The :FUNCtion<m>[:FFT]:RBWidth? query returns the Resolution Bandwidth setting for the FFT. Return Format <resolution_bw><NL> <resolution_bw> ::= Hz in NR3 format See Also • ":FUNCtion<m>[:FFT]:READout<n>" on page 363 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :FUNCtion<m>[:FFT]:READout<n>? query returns the readout selection. Return Format <readout_type><NL> <readout_type> ::= {SRAT | BSIZ | RBW} See Also • ":FUNCtion<m>[:FFT]:BSIZe" on page 354 • ":FUNCtion<m>[:FFT]:RBWidth" on page 362 • ":FUNCtion<m>[:FFT]:SRATe" on page 365 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<span> ::= the current frequency span in NR3 format. Legal values are 1 Hz to 100 GHz. See Also • "Introduction to :FUNCtion<m> Commands" on page 349 • ":FUNCtion<m>[:FFT]:CENTer" on page 355 • ":TIMebase:RANGe" on page 891 • ":TIMebase:SCALe" on page 895 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:FUNCtion<m>[:FFT]:SRATe? <m> ::= 1-4 in NR1 format The :FUNCtion<m>[:FFT]:SRATe? query returns the Sample Rate setting for the FFT. Return Format <sample_rate><NL> <sample_rate> ::= Hz in NR3 format See Also • ":FUNCtion<m>[:FFT]:READout<n>" on page 363 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<units> ::= {DEC | VRMS} for the FFT (magnitude) operation <units> ::= {DEGR | RAD} for the FFTPhase operation See Also • ":FUNCtion<m>[:FFT]:GATE" on page 360 • "Introduction to :FUNCtion<m> Commands" on page 349 • ":FUNCtion<m>:OPERation" on page 374 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :FUNCtion<m>[:FFT]:WINDow? query returns the value of the window selected for the FFT function. Return Format <window><NL> <window> ::= {RECT | HANN | FLAT | BHAR | BART} See Also • ":FUNCtion<m>[:FFT]:GATE" on page 360 • "Introduction to :FUNCtion<m> Commands" on page 349 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The high-pass filter is a single-pole high pass filter. Query Syntax :FUNCtion<m>:FREQuency:HIGHpass? The :FUNCtion<m>:FREQuency:HIGHpass query returns the high-pass filter's cutoff frequency. Return Format <3dB_freq><NL> <3dB_freq> ::= -3dB cutoff frequency value in NR3 format See Also • ":FUNCtion<m>:OPERation" on page 374 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The low-pass filter is a 4th order Bessel-Thompson filter. Query Syntax :FUNCtion<m>:FREQuency:LOWPass? The :FUNCtion<m>:FREQuency:LOWPass query returns the low-pass filter's cutoff frequency. Return Format <3dB_freq><NL> <3dB_freq> ::= -3dB cutoff frequency value in NR3 format See Also • ":FUNCtion<m>:OPERation" on page 374 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :FUNCtion<m>:INTegrate:IOFFset? query returns the current input offset value. Return Format <input_offset><NL> <input_offset> ::= DC offset correction in NR3 format. See Also • "Introduction to :FUNCtion<m> Commands" on page 349 • ":FUNCtion<m>:OPERation" on page 374 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :FUNCtion<m>:LINear:GAIN command specifies the 'A' value in the Ax + B operation. Query Syntax :FUNCtion<m>:LINear:GAIN? The :FUNCtion<m>:LINear:GAIN query returns the gain value. Return Format <value><NL> <value> ::= 'A' in Ax + B, value in NR3 format See Also • ":FUNCtion<m>:OPERation" on page 374 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :FUNCtion<m>:LINear:OFFSet command specifies the 'B' value in the Ax + B operation. Query Syntax :FUNCtion<m>:LINear:OFFSet? The :FUNCtion<m>:LINear:OFFSet query returns the offset value. Return Format <value><NL> <value> ::= 'B' in Ax + B, value in NR3 format See Also • ":FUNCtion<m>:OPERation" on page 374 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<offset> ::= the value at center screen in NR3 format. See Also • "Introduction to :FUNCtion<m> Commands" on page 349 • ":FUNCtion<m>:RANGe" on page 378 • ":FUNCtion<m>:REFerence" on page 379 • ":FUNCtion<m>:SCALe" on page 380 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
(Hz), and the vertical cursors change from volts to degrees or radians. • LINear — Ax + B — The LINear commands set the gain (A) and offset (B) values for this function. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 375
The smoothing operator limits the bandwidth of the source waveform. The smoothing operator can be used, for example, to smooth measurement trend waveforms. • ENVelope — Envelope — The resulting math waveform is the amplitude envelope for an amplitude modulated (AM) input signal. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 376
| SQRT | MAGN | ABS | SQU | LN | LOG | EXP | TEN | LOWP | HIGH | AVER | SMO | ENV | LIN | MAX | MIN | PEAK | MAXH | MINH | TREN} Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 377
":FUNCtion<m>:LINear:GAIN" on page 371 • ":FUNCtion<m>:LINear:OFFSet" on page 372 • ":FUNCtion<m>:FREQuency:LOWPass" on page 369 • ":FUNCtion<m>:FREQuency:HIGHpass" on page 368 • ":FUNCtion<m>:AVERage:COUNt" on page 351 • ":FUNCtion<m>:SMOoth:POINts" on page 381 • ":FUNCtion<m>:TRENd:NMEasurement" on page 385 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :FUNCtion<m>:RANGe? query returns the current full-scale range value for the selected function. Return Format <range><NL> <range> ::= the full-scale vertical axis value in NR3 format. See Also • "Introduction to :FUNCtion<m> Commands" on page 349 • ":FUNCtion<m>:SCALe" on page 380 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<level> ::= the current reference level in NR3 format. See Also • "Introduction to :FUNCtion<m> Commands" on page 349 • ":FUNCtion<m>:OFFSet" on page 373 • ":FUNCtion<m>:RANGe" on page 378 • ":FUNCtion<m>:SCALe" on page 380 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<scale value> ::= vertical units/div value in NR3 format See Also • "Introduction to :FUNCtion<m> Commands" on page 349 • ":FUNCtion<m>:DISPlay" on page 353 • ":FUNCtion<m>:OPERation" on page 374 • ":FUNCtion<m>:RANGe" on page 378 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
You can choose an odd number of points, from 3 up to half of the measurement record. Query Syntax :FUNCtion<m>:SMOoth:POINts? The :FUNCtion<m>:SMOoth:POINts? query returns the number of smoothing points specified. Return Format <points><NL> See Also • ":FUNCtion<m>:OPERation" on page 374 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 382
Another shorthand notation for SOURce1 in this command/query (besides SOUR1) is SOUR. N OTE When :FUNCtion<m>:OPERation is TRENd, the :FUNCtion<m>:SOURce1 command reports error -221,"Settings conflict" because the TRENd function operates on a measurement and not a source waveform. Query Syntax :FUNCtion<m>:SOURce1? Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 383
When :FUNCtion<m>:OPERation is TRENd, the :FUNCtion<m>:SOURce1? query returns the source of the measurement. Return Format <value><NL> <value> ::= {CHAN<n> | FUNC<c> | WMEM<r> | BUS<b>} See Also • "Introduction to :FUNCtion<m> Commands" on page 349 • ":FUNCtion<m>:OPERation" on page 374 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 384
Return Format <value><NL> <value> ::= {CHAN<n> | WMEM<r> | NONE} See Also • "Introduction to :FUNCtion<m> Commands" on page 349 • ":FUNCtion<m>:OPERation" on page 374 • ":FUNCtion<m>:SOURce1" on page 382 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :FUNCtion<m>:TRENd:NMEasurement? query returns the selected measurement. If no measurements are installed, the :FUNCtion<m>:TRENd:NMEasurement? query will return NONE. Return Format MEAS<n><NL> <n> ::= # of installed measurement, from 1 to 8 See Also • ":FUNCtion<m>:OPERation" on page 374 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Screen image data is returned in the IEEE-488.2 # binary block data format. Return Format <display_data><NL> <display_data> ::= binary block data in IEEE-488.2 # format. See Also • ":HCOPY:SDUMp:FORMat" on page 389 • ":DISPlay:DATA" on page 305 • "*RST (Reset)" on page 172 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
(instead of a setup or data format). Return Format <format><NL> <format> ::= {PNG | BMP | BMP8} See Also • ":HCOPY:SDUMp:DATA" on page 388 • ":DISPlay:DATA" on page 305 • "*RST (Reset)" on page 172 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 391
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 19 :LISTer Commands Table 91 :LISTer Commands Summary Command Query Options and Query Returns :LISTer:DATA? (see <binary_block> ::= page 392) comma-separated data with newlines at the end of each row :LISTer:DISPlay {{OFF :LISTer:DISPlay? (see...
<binary_block> ::= comma-separated data with newlines at the end of each row See Also • "Introduction to :LISTer Commands" on page 391 • ":LISTer:DISPlay" on page 393 • "Definite-Length Block Response Data" on page 153 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :LISTer:REFerence? query returns the Lister time reference setting. Return Format <time_ref><NL> <time_ref> ::= {TRIGger | PREVious} See Also • "Introduction to :LISTer Commands" on page 391 • ":SBUS<n>:DISPlay" on page 576 • ":LISTer:DATA" on page 392 • ":LISTer:DISPlay" on page 393 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 395
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 20 :MARKer Commands Set and query the settings of X-axis markers (X1 and X2 cursors) and the Y-axis markers (Y1 and Y2 cursors). See "Introduction to :MARKer Commands" page 397. Table 92 :MARKer Commands Summary...
Page 396
:MARKer:Y2Position :MARKer:Y2Position? <position> ::= Y2 cursor position page 412) <position>[suffix] (see value in NR3 format page 412) (see [suffix] ::= {V | mV | dB} <return_value> ::= Y2 cursor position value in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 397
Use :MARKer? to query setup information for the MARKer subsystem. Return Format The following is a sample response from the :MARKer? query. In this case, the query was issued following a *RST and ":MARKer:MODE MANual" command. :MARK:X1Y1 CHAN1;X2Y2 CHAN1;MODE MAN Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MARKer:X1:DISPlay command specifies whether the X1 cursor is displayed. Query Syntax :MARKer:X1:DISPlay? The :MARKer:X1:DISPlay? query returns the X1 cursor display setting. Return Format <setting><NL> <setting> ::= {0 | 1} See Also • ":MARKer:X1:DISPlay" on page 400 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MARKer:X2:DISPlay command specifies whether the X2 cursor is displayed. Query Syntax :MARKer:X2:DISPlay? The :MARKer:X2:DISPlay? query returns the X2 cursor display setting. Return Format <setting><NL> <setting> ::= {0 | 1} See Also • ":MARKer:X2:DISPlay" on page 403 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • "Introduction to :MARKer Commands" on page 397 • ":MARKer:MODE" on page 399 • ":MARKer:X1Position" on page 401 • ":MARKer:X2Y2source" on page 405 • ":MARKer:XUNits" on page 407 • ":MEASure:TSTOp" on page 1115 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MARKer:Y1:DISPlay command specifies whether the Y1 cursor is displayed. Query Syntax :MARKer:Y1:DISPlay? The :MARKer:Y1:DISPlay? query returns the Y1 cursor display setting. Return Format <setting><NL> <setting> ::= {0 | 1} See Also • ":MARKer:Y1:DISPlay" on page 409 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MARKer:Y2:DISPlay command specifies whether the Y2 cursor is displayed. Query Syntax :MARKer:Y2:DISPlay? The :MARKer:Y2:DISPlay? query returns the Y2 cursor display setting. Return Format <setting><NL> <setting> ::= {0 | 1} See Also • ":MARKer:Y2:DISPlay" on page 411 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 417
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 21 :MEASure Commands Select automatic measurements to be made and control time markers. See "Introduction to :MEASure Commands" on page 432. Table 93 :MEASure Commands Summary Command Query Options and Query Returns :MEASure:ALL (see...
Page 419
NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= ratio of positive pulse width to period in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 420
[<source>] (see MATH<m> | FFT} (source must be an page 449) page 449) FFT waveform) <m> ::= 1 to (# math functions) in NR1 format <return_value> ::= spectral channel power, dBV in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 421
<n> ::= 1 to (# analog channels) in NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= frequency in Hertz in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 422
<n> ::= 1 to (# analog channels) in NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= the falling pulse count in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 423
<n> ::= 1 to (# analog channels) in NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= the rising edge count in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 424
<n> ::= 1 to (# analog channels) in NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= the rising pulse count in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 425
<n> ::= 1 to (# analog channels) in NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= rise time in seconds in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 426
<return_value> ::= {<source> | NONE} :MEASure:STATistics :MEASure:STATistics? <type> ::= {{ON | 1} | CURRent | page 474) page 474) <type> (see (see MEAN | MINimum | MAXimum | STDDev | COUNt} ON ::= all statistics returned Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 427
<n> ::= 1 to (# of analog channels) in NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= time in seconds of the specified transition Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 428
NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= the amplitude of the selected waveform in volts in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 429
NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= maximum voltage of the selected waveform in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 430
<n> ::= 1 to (# analog channels) in NR1 format <m> ::= 1 to (# math functions) in NR1 format <r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= the ratio value in dB in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 431
<r> ::= 1 to (# ref waveforms) in NR1 format <return_value> ::= voltage at the top of the waveform in NR3 format :MEASure:WINDow :MEASure:WINDow? (see <type> ::= {MAIN | ZOOM | AUTO | page 494) page 494) <type> (see GATE} Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 433
Use the :MEASure? query to obtain setup information for the MEASure subsystem. (Currently, this is only :MEASure:SOURce.) Return Format The following is a sample response from the :MEASure? query. In this case, the query was issued following a *RST command. :MEAS:SOUR CHAN1,CHAN2;STAT ON Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:MEASure Commands :MEASure:ALL (see page 1196) Command Syntax :MEASure:ALL This command installs a Snapshot All measurement on the screen. See Also • "Introduction to :MEASure Commands" on page 432 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MEASure:AREa? query measures and returns the area value. Return Format <value><NL> <value> ::= the area value in volt-seconds in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value><NL> <value> ::= the bit rate value in Hertz See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 • ":MEASure:FREQuency" on page 452 • ":MEASure:PERiod" on page 460 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
= (last edge on screen - first edge on screen) Return Format <value><NL> <value> ::= burst width in seconds in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:MEASure Commands :MEASure:CLEar (see page 1196) Command Syntax :MEASure:CLEar This command clears all selected measurements and markers from the screen. See Also • "Introduction to :MEASure Commands" on page 432 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<source><NL> <source> ::= count in Hertz in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 • ":MEASure:FREQuency" on page 452 • ":MEASure:CLEar" on page 438 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The delay measurement now allows an edge occurrence of zero (0) to specify automatic edge selection. The limitation of this command is that you cannot specify a negative slope with an occurrence count of zero (0). Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 441
10%, 50%, and 90% values between Vbase and Vtop. • Threshold mode PERCent sets the measurement thresholds to any user-defined percentages between 5% and 95% of values between Vbase and Vtop. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 442
":MEASure:DELay" on page 443 • ":MEASure:DELay:DEFine" on page 445 • ":MEASure:SOURce" on page 472 • ":CHANnel<n>:RANGe" on page 274 • ":CHANnel<n>:SCALe" on page 275 • ":CHANnel<n>:PROBe" on page 267 • ":CHANnel<n>:UNITs" on page 276 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
In the :MEASure:DEFine command, you can set upper, middle, and lower threshold values. It is the middle threshold value that is used when performing the delay query. The standard upper, middle, and lower measurement thresholds are 90%, Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 444
<value> ::= floating-point number delay time in seconds in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:DELay:DEFine" on page 445 • ":MEASure:DEFine" on page 440 • ":MEASure:PHASe" on page 461 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= time in seconds between the lower threshold and upper threshold in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:RISetime" on page 468 • ":MEASure:SOURce" on page 472 • ":MEASure:SLEWrate" on page 471 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MEASure:FFT:ACPR? query returns the measured Adjacent Channel Power Ratio (ACPR) value. Return Format <return_value><NL> <return_value> ::= adjacent channel power ratio, dBV in NR3 format See Also • ":MEASure:FFT:CPOWer" on page 449 • ":MEASure:FFT:OBW" on page 450 • ":MEASure:FFT:THD" on page 451 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MEASure:FFT:CPOWer? query returns the measured Channel Power value. Return Format <return_value><NL> <return_value> ::= spectral channel power, dBV in NR3 format See Also • ":MEASure:FFT:ACPR" on page 448 • ":MEASure:FFT:OBW" on page 450 • ":MEASure:FFT:THD" on page 451 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MEASure:FFT:OBW? query returns the measured Occupied Bandwidth value. Return Format <return_value><NL> <return_value> ::= occupied bandwidth, Hz in NR3 format See Also • ":MEASure:FFT:ACPR" on page 448 • ":MEASure:FFT:CPOWer" on page 449 • ":MEASure:FFT:THD" on page 451 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MEASure:FFT:THD? query returns the measured Total Harmonic Distortion value. Return Format <return_value><NL> <return_value> ::= total harmonic distortion ratio percent in NR3 format See Also • ":MEASure:FFT:ACPR" on page 448 • ":MEASure:FFT:CPOWer" on page 449 • ":MEASure:FFT:OBW" on page 450 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<source> ::= frequency in Hertz in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 • ":MEASure:PERiod" on page 460 Example Code • "Example Code" on page 473 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= ratio of negative pulse width to period in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:PERiod" on page 460 • ":MEASure:NWIDth" on page 456 • ":MEASure:SOURce" on page 472 • ":MEASure:DUTYcycle" on page 446 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MEASure:NEDGes? query measures and returns the on-screen falling edge count. Return Format <value><NL> <value> ::= the falling edge count in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MEASure:NPULses? query measures and returns the on-screen falling pulse count. Return Format <value><NL> <value> ::= the falling pulse count in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= negative pulse width in seconds in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 • ":MEASure:PWIDth" on page 464 • ":MEASure:PERiod" on page 460 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<overshoot><NL> <overshoot>::= the percent of the overshoot of the selected waveform in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:PREShoot" on page 463 • ":MEASure:SOURce" on page 472 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 458
:MEASure Commands • ":MEASure:VMAX" on page 488 • ":MEASure:VTOP" on page 493 • ":MEASure:VBASe" on page 487 • ":MEASure:VMIN" on page 489 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MEASure:NEDGes? query measures and returns the on-screen rising edge count. Return Format <value><NL> <value> ::= the rising edge count in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= the phase angle value in degrees in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:DELay" on page 443 • ":MEASure:PERiod" on page 460 • ":MEASure:SOURce" on page 472 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MEASure:PPULses? query measures and returns the on-screen rising pulse count. Return Format <value><NL> <value> ::= the rising pulse count in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 • ":MEASure:VMIN" on page 489 • ":MEASure:VMAX" on page 488 • ":MEASure:VTOP" on page 493 • ":MEASure:VBASe" on page 487 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= width of positive pulse in seconds in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 • ":MEASure:NWIDth" on page 456 • ":MEASure:PERiod" on page 460 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
474 Example Code ' This program shows the InfiniiVision oscilloscopes' measurement ' statistics commands. ' ------------------------------------------------------------------- Option Explicit Public myMgr As VisaComLib.ResourceManager Public myScope As VisaComLib.FormattedIO488 Public varQueryResult As Variant Public strQueryResult As String Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 466
ResultsTypeArray(5) = "COUNt" ResultsTypeArray(6) = "ON" ' All results. Dim ResultType As Variant Dim ResultsList() Dim ValueColumnArray(6) As String ValueColumnArray(0) = "Meas_Lbl" ValueColumnArray(1) = "Current" ValueColumnArray(2) = "Min" ValueColumnArray(3) = "Max" ValueColumnArray(4) = "Mean" Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 467
Measurement + ", "; ResultType + ": " + _ FormatNumber(ResultsList(intCounter), 4) intCounter = intCounter + 1 End If Next Next Exit Sub VisaComError: MsgBox "VISA COM Error:" + vbCrLf + Err.Description End Sub Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= rise time in seconds in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 • ":MEASure:FALLtime" on page 447 • ":MEASure:SLEWrate" on page 471 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <value><NL> <value> ::= calculated std deviation value in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:VRMS" on page 492 • ":MEASure:SOURce" on page 472 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
This can return OFF when :MARKer:MODE selects a mode other than MEASurement. Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :MEASure Commands" on page 432 • ":MARKer:MODE" on page 399 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= slew rate in vertical units/second in NR3 format See Also • ":MEASure:DEFine" on page 440 • ":MEASure:SOURce" on page 472 • ":MEASure:RISetime" on page 468 • ":MEASure:FALLtime" on page 447 • "Introduction to :MEASure Commands" on page 432 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:STATistics" on page 474 • ":MEASure:STATistics:DISPlay" on page 475 • ":MEASure:STATistics:RESet" on page 478 • ":MEASure:RESults" on page 465 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
If the optional <source> parameter is not specified, the current :MEASure:SOURce setting is used. This command is not available if the source is a FFT (Fast Fourier Transform) waveform. N OTE Query Syntax :MEASure:TEDGe? [<slope>,]<occurrence>[,<source>] Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 481
' Make a phase difference measurement between channel 1 and 2. ' Query time at 1st rising edge on ch1. myScope.WriteString ":MEASURE:TEDGE? +2, CHAN1" ' Read time at edge 2 on ch 1. dblChan1Edge2 = myScope.ReadNumber Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 482
MsgBox "Phase = " + vbCrLf + CStr(dblPhase) See complete example programs at: Chapter 38, “Programming Examples,” starting on page 1205 See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:TVALue" on page 483 • ":MEASure:VTIMe" on page 1121 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
If the optional source parameter is specified, the current source is modified. This query is not available if the source is FFT (Fast Fourier Transform). N OTE Return Format <value><NL> Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 484
:MEASure Commands <value> ::= time in seconds of the specified value crossing in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:TEDGe" on page 480 • ":MEASure:VTIMe" on page 1121 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= the amplitude of the selected waveform in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 • ":MEASure:VBASe" on page 487 • ":MEASure:VTOP" on page 493 • ":MEASure:VPP" on page 490 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MEASure:VAVerage? query returns the average value of an integral number of periods of the signal. Return Format <value><NL> <value> ::= calculated average value in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<base_voltage> ::= value at the base of the selected waveform in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 • ":MEASure:VTOP" on page 493 • ":MEASure:VAMPlitude" on page 485 • ":MEASure:VMIN" on page 489 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= maximum vertical value of the selected waveform in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 • ":MEASure:VMIN" on page 489 • ":MEASure:VPP" on page 490 • ":MEASure:VTOP" on page 493 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= minimum vertical value of the selected waveform in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 • ":MEASure:VBASe" on page 487 • ":MEASure:VMAX" on page 488 • ":MEASure:VPP" on page 490 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= vertical peak to peak value in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 • ":MEASure:VMAX" on page 488 • ":MEASure:VMIN" on page 489 • ":MEASure:VAMPlitude" on page 485 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <value><NL> <value> ::= the ratio value in dB in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:VRMS" on page 492 • ":MEASure:SOURce" on page 472 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MEASure:VRMS? query measures and outputs the RMS measurement value. Return Format <value><NL> <value> ::= calculated dc RMS value in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= vertical value at the top of the waveform in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 • ":MEASure:VMAX" on page 488 • ":MEASure:VAMPlitude" on page 485 • ":MEASure:VBASe" on page 487 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MEASure:WINDow? query returns the current measurement window setting. Return Format <type><NL> <type> ::= {MAIN | ZOOM | AUTO | GATE} See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <value><NL> <value> ::= horizontal value of the maximum in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:XMIN" on page 496 • ":MEASure:TMAX" on page 1112 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <value><NL> <value> ::= horizontal value of the minimum in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:XMAX" on page 495 • ":MEASure:TMIN" on page 1113 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= vertical value at the specified horizontal location in NR3 format See Also • "Introduction to :MEASure Commands" on page 432 • ":MEASure:SOURce" on page 472 • ":MEASure:TEDGe" on page 480 • ":MEASure:TVALue" on page 483 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 22 :MTESt Commands The MTESt subsystem commands and queries control the mask test features. See "Introduction to :MTESt Commands" on page 501. Table 94 :MTESt Commands Summary Command Query Options and Query Returns :MTESt:ALL {{0 | OFF}...
Page 500
526) :MTESt:SCALe:XDELta :MTESt:SCALe:XDELta? <xdelta_value> ::= X delta value page 527) <xdelta_value> (see (see in NR3 format page 527) :MTESt:SCALe:Y1 :MTESt:SCALe:Y1? (see <y1_value> ::= Y1 value in NR3 page 528) <y1_value> (see format page 528) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 501
Public myScope As VisaComLib.FormattedIO488 Public varQueryResult As Variant Public strQueryResult As String Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Sub Main() On Error GoTo VisaComError ' Create the VISA COM I/O resource. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 502
' Create mask. myScope.WriteString ":MTESt:AMASk:CREate" Debug.Print "Auto-mask created, mask test automatically enabled." ' Set up timeout variables. Dim lngTimeout As Long ' Max millisecs to wait. Dim lngElapsed As Long lngTimeout = 60000 ' 60 seconds. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 503
Debug.Print "Mask test failed waveforms: " + strQueryResult myScope.WriteString ":MTESt:COUNt:TIME?" strQueryResult = myScope.ReadString Debug.Print "Mask test elapsed seconds: " + strQueryResult Exit Sub VisaComError: MsgBox "VISA COM Error:" + vbCrLf + Err.Description End Sub Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
• OFF — Just the selected source channel is included in the test. Query Syntax :MTESt:ENABle? The :MTESt:ENABle? query returns the current setting. Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :MTESt Commands" on page 501 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Command Syntax :MTESt:COUNt:RESet The :MTESt:COUNt:RESet command resets the mask statistics. See Also • "Introduction to :MTESt Commands" on page 501 • ":MTESt:COUNt:WAVeforms" on page 513 • ":MTESt:COUNt:FWAVeforms" on page 510 • ":MTESt:COUNt:TIME" on page 512 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<time> ::= elapsed seconds in NR3 format. See Also • "Introduction to :MTESt Commands" on page 501 • ":MTESt:COUNt:WAVeforms" on page 513 • ":MTESt:COUNt:FWAVeforms" on page 510 • ":MTESt:COUNt:RESet" on page 511 Example Code • "Example Code" on page 501 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<count> ::= number of waveforms in NR1 format. See Also • "Introduction to :MTESt Commands" on page 501 • ":MTESt:COUNt:FWAVeforms" on page 510 • ":MTESt:COUNt:TIME" on page 512 • ":MTESt:COUNt:RESet" on page 511 Example Code • "Example Code" on page 501 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
# format defined in the IEEE 488.2 specification. Return Format <mask><NL> <mask> ::= binary block data in IEEE 488.2 # format See Also • ":SAVE:MASK[:STARt]" on page 555 • ":RECall:MASK[:STARt]" on page 539 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:MTESt Commands :MTESt:DELete (see page 1196) Command Syntax :MTESt:DELete The :MTESt:DELete command clears the currently loaded mask. See Also • "Introduction to :MTESt Commands" on page 501 • ":MTESt:AMASk:CREate" on page 505 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
• OFF — Disables the mask test features. Query Syntax :MTESt:ENABle? The :MTESt:ENABle? query returns the current state of mask test features. Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :MTESt Commands" on page 501 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :MTESt:LOCK? The :MTESt:LOCK? query returns the current mask lock setting. Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :MTESt Commands" on page 501 • ":MTESt:SOURce" on page 530 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<rmode> ::= {FOR | SIGM | TIME | WAV} See Also • "Introduction to :MTESt Commands" on page 501 • ":MTESt:RMODe:SIGMa" on page 522 • ":MTESt:RMODe:TIME" on page 523 • ":MTESt:RMODe:WAVeforms" on page 524 Example Code • "Example Code" on page 501 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MTESt:RMODe:FACTion:MEASure? query returns the current mask failure measure setting. Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :MTESt Commands" on page 501 • ":MTESt:RMODe:FACTion:SAVE" on page 520 • ":MTESt:RMODe:FACTion:STOP" on page 521 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MTESt:RMODe:FACTion:SAVE? query returns the current mask failure save setting. Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :MTESt Commands" on page 501 • ":MTESt:RMODe:FACTion:MEASure" on page 519 • ":MTESt:RMODe:FACTion:STOP" on page 521 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MTESt:RMODe:FACTion:STOP? query returns the current mask failure stop setting. Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :MTESt Commands" on page 501 • ":MTESt:RMODe:FACTion:MEASure" on page 519 • ":MTESt:RMODe:FACTion:SAVE" on page 520 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <level><NL> <level> ::= from 0.1 to 9.3 in NR3 format See Also • "Introduction to :MTESt Commands" on page 501 • ":MTESt:RMODe" on page 518 Example Code • "Example Code" on page 501 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MTESt:RMODe:TIME? query returns the number of seconds currently set. Return Format <seconds><NL> <seconds> ::= from 1 to 86400 in NR3 format See Also • "Introduction to :MTESt Commands" on page 501 • ":MTESt:RMODe" on page 518 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :MTESt:RMODe:WAVeforms? query returns the number of waveforms currently set. Return Format <count><NL> <count> ::= number of waveforms in NR1 format from 1 to 2,000,000,000 See Also • "Introduction to :MTESt Commands" on page 501 • ":MTESt:RMODe" on page 518 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<x1_value> ::= X1 value in NR3 format See Also • "Introduction to :MTESt Commands" on page 501 • ":MTESt:SCALe:BIND" on page 525 • ":MTESt:SCALe:XDELta" on page 527 • ":MTESt:SCALe:Y1" on page 528 • ":MTESt:SCALe:Y2" on page 529 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<xdelta_value> ::= X delta value in NR3 format See Also • "Introduction to :MTESt Commands" on page 501 • ":MTESt:SCALe:BIND" on page 525 • ":MTESt:SCALe:X1" on page 526 • ":MTESt:SCALe:Y1" on page 528 • ":MTESt:SCALe:Y2" on page 529 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<y1_value> ::= Y1 value in NR3 format See Also • "Introduction to :MTESt Commands" on page 501 • ":MTESt:SCALe:BIND" on page 525 • ":MTESt:SCALe:X1" on page 526 • ":MTESt:SCALe:XDELta" on page 527 • ":MTESt:SCALe:Y2" on page 529 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<y2_value> ::= Y2 value in NR3 format See Also • "Introduction to :MTESt Commands" on page 501 • ":MTESt:SCALe:BIND" on page 525 • ":MTESt:SCALe:X1" on page 526 • ":MTESt:SCALe:XDELta" on page 527 • ":MTESt:SCALe:Y1" on page 528 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <source><NL> <source> ::= {CHAN<n> | NONE} <n> ::= 1 to (# analog channels) in NR1 format See Also • "Introduction to :MTESt Commands" on page 501 • ":MTESt:AMASk:SOURce" on page 506 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The title is displayed in the mask test dialog box and mask test tab when a mask file is loaded. Return Format <title><NL> <title> ::= a string of up to 128 ASCII characters. See Also • "Introduction to :MTESt Commands" on page 501 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 534
Use :RECall? to query setup information for the RECall subsystem. Return Format The following is a sample response from the :RECall? query. In this case, the query was issued following the *RST command. :REC:FIL "scope_0" Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The <wavegen_id> parameter specifies which waveform generator to recall the arbitrary waveform into. See Also • "Introduction to :RECall Commands" on page 534 • ":RECall:FILename" on page 537 • ":RECall:PWD" on page 540 • ":SAVE:ARBitrary[:STARt]" on page 547 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :RECall:FILename? query returns the current RECall filename. Return Format <base_name><NL> <base_name> ::= quoted ASCII string See Also • "Introduction to :RECall Commands" on page 534 • ":RECall:SETup[:STARt]" on page 541 • ":SAVE:FILename" on page 548 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
If a file extension is provided as part of a specified <file_name>, it must be ".msk". N OTE See Also • "Introduction to :RECall Commands" on page 534 • ":RECall:FILename" on page 537 • ":RECall:PWD" on page 540 • ":SAVE:MASK[:STARt]" on page 555 • ":MTESt:DATA" on page 514 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :RECall:PWD? query returns the currently set working directory for recall operations. Return Format <path_name><NL> <path_name> ::= quoted ASCII string See Also • "Introduction to :RECall Commands" on page 534 • ":SAVE:PWD" on page 557 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
If a file extension is provided as part of a specified <file_name>, it must be ".scp". N OTE See Also • "Introduction to :RECall Commands" on page 534 • ":RECall:FILename" on page 537 • ":RECall:PWD" on page 540 • ":SAVE[:SETup[:STARt]]" on page 564 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
(see ":SYSTem:SETup" on page 883). See Also • "Introduction to :RECall Commands" on page 534 • ":RECall:FILename" on page 537 • ":SAVE:WMEMory[:STARt]" on page 571 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 543
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 24 :SAVE Commands Save oscilloscope setups, screen images, and data. See "Introduction to :SAVE Commands" on page 546. Table 96 :SAVE Commands Summary Command Query Options and Query Returns :SAVE:ARBitrary:[STAR <file_spec> ::= {<internal_loc> t] [<file_spec>][, | <file_name>}...
Page 545
NOTE: Only ADD or SUBtract math operations can be saved as reference waveforms. <return_value> ::= <source> :SAVE:WMEMory[:STARt] <file_name> ::= quoted ASCII [<file_name>] (see string page 571) If extension included in file name, it must be ".h5". Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 546
Return Format The following is a sample response from the :SAVE? query. In this case, the query was issued following the *RST command. :SAVE:FIL "";:SAVE:IMAG:AREA GRAT;FACT 0;FORM TIFF;INKS 0;PAL MON;:SAVE:PWD "C:/setups/";:SAVE:WAV:FORM NONE;LENG 1000;SEGM CURR Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
If a file extension is provided as part of a specified <file_name>, it must be ".csv". N OTE See Also • "Introduction to :SAVE Commands" on page 546 • ":SAVE:FILename" on page 548 • ":SAVE:PWD" on page 557 • ":RECall:ARBitrary[:STARt]" on page 535 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • "Introduction to :SAVE Commands" on page 546 • ":SAVE:IMAGe[:STARt]" on page 549 • ":SAVE[:SETup[:STARt]]" on page 564 • ":SAVE:WAVeform[:STARt]" on page 565 • ":SAVE:PWD" on page 557 • ":RECall:FILename" on page 537 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • "Introduction to :SAVE Commands" on page 546 • ":SAVE:IMAGe:FACTors" on page 550 • ":SAVE:IMAGe:FORMat" on page 551 • ":SAVE:IMAGe:INKSaver" on page 552 • ":SAVE:IMAGe:PALette" on page 553 • ":SAVE:FILename" on page 548 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • "Introduction to :SAVE Commands" on page 546 • ":SAVE:IMAGe[:STARt]" on page 549 • ":SAVE:IMAGe:FACTors" on page 550 • ":SAVE:IMAGe:INKSaver" on page 552 • ":SAVE:IMAGe:PALette" on page 553 • ":SAVE:WAVeform:FORMat" on page 566 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
If a file extension is provided as part of a specified <file_name>, it must be ".csv". N OTE See Also • "Introduction to :SAVE Commands" on page 546 • ":SAVE:FILename" on page 548 • Chapter 19, “:LISTer Commands,” starting on page 391 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
If a file extension is provided as part of a specified <file_name>, it must be ".msk". N OTE See Also • "Introduction to :SAVE Commands" on page 546 • ":SAVE:FILename" on page 548 • ":SAVE:PWD" on page 557 • ":RECall:MASK[:STARt]" on page 539 • ":MTESt:DATA" on page 514 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
If a file extension is provided as part of a specified <file_name>, it must be ".h5". N OTE See Also • "Introduction to :SAVE Commands" on page 546 • ":SAVE:FILename" on page 548 • ":SAVE:PWD" on page 557 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SAVE:PWD? query returns the currently set working directory for save operations. Return Format <path_name><NL> <path_name> ::= quoted ASCII string See Also • "Introduction to :SAVE Commands" on page 546 • ":SAVE:FILename" on page 548 • ":RECall:PWD" on page 540 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • ":SAVE:RESults:FORMat:CURSor" on page 559 • ":SAVE:RESults:FORMat:MASK" on page 560 • ":SAVE:RESults:FORMat:MEASurement" on page 561 • ":SAVE:RESults:FORMat:SEARch" on page 562 • ":SAVE:RESults:FORMat:SEGMented" on page 563 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <off_on><NL> {0 | 1} See Also • ":SAVE:RESults:[STARt]" on page 558 • ":SAVE:RESults:FORMat:MASK" on page 560 • ":SAVE:RESults:FORMat:MEASurement" on page 561 • ":SAVE:RESults:FORMat:SEARch" on page 562 • ":SAVE:RESults:FORMat:SEGMented" on page 563 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <off_on><NL> {0 | 1} See Also • ":SAVE:RESults:[STARt]" on page 558 • ":SAVE:RESults:FORMat:CURSor" on page 559 • ":SAVE:RESults:FORMat:MEASurement" on page 561 • ":SAVE:RESults:FORMat:SEARch" on page 562 • ":SAVE:RESults:FORMat:SEGMented" on page 563 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <off_on><NL> {0 | 1} See Also • ":SAVE:RESults:[STARt]" on page 558 • ":SAVE:RESults:FORMat:CURSor" on page 559 • ":SAVE:RESults:FORMat:MASK" on page 560 • ":SAVE:RESults:FORMat:SEARch" on page 562 • ":SAVE:RESults:FORMat:SEGMented" on page 563 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <off_on><NL> {0 | 1} See Also • ":SAVE:RESults:[STARt]" on page 558 • ":SAVE:RESults:FORMat:CURSor" on page 559 • ":SAVE:RESults:FORMat:MASK" on page 560 • ":SAVE:RESults:FORMat:MEASurement" on page 561 • ":SAVE:RESults:FORMat:SEGMented" on page 563 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <off_on><NL> {0 | 1} See Also • ":SAVE:RESults:[STARt]" on page 558 • ":SAVE:RESults:FORMat:CURSor" on page 559 • ":SAVE:RESults:FORMat:MASK" on page 560 • ":SAVE:RESults:FORMat:MEASurement" on page 561 • ":SAVE:RESults:FORMat:SEARch" on page 562 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
If a file extension is provided as part of a specified <file_name>, it must be ".scp". N OTE See Also • "Introduction to :SAVE Commands" on page 546 • ":SAVE:FILename" on page 548 • ":SAVE:PWD" on page 557 • ":RECall:SETup[:STARt]" on page 541 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • "Introduction to :SAVE Commands" on page 546 • ":SAVE:WAVeform:FORMat" on page 566 • ":SAVE:WAVeform:LENGth" on page 567 • ":SAVE:FILename" on page 548 • ":RECall:SETup[:STARt]" on page 541 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
When NONE is returned, it indicates that an image file format is currently selected. See Also • "Introduction to :SAVE Commands" on page 546 • ":SAVE:WAVeform[:STARt]" on page 565 • ":SAVE:WAVeform:LENGth" on page 567 • ":SAVE:IMAGe:FORMat" on page 551 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<length> ::= 100 to max. length; an integer in NR1 format See Also • "Introduction to :SAVE Commands" on page 546 • ":SAVE:WAVeform:LENGth:MAX" on page 568 • ":SAVE:WAVeform[:STARt]" on page 565 • ":WAVeform:POINts" on page 1010 • ":SAVE:WAVeform:FORMat" on page 566 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SAVE:WAVeform:LENGth:MAX? query returns the current setting. Return Format <setting><NL> <setting> ::= {0 | 1} See Also • "Introduction to :SAVE Commands" on page 546 • ":SAVE:WAVeform[:STARt]" on page 565 • ":SAVE:WAVeform:LENGth" on page 567 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <option><NL> <option> ::= {ALL | CURR} See Also • "Introduction to :SAVE Commands" on page 546 • ":SAVE:WAVeform[:STARt]" on page 565 • ":SAVE:WAVeform:FORMat" on page 566 • ":SAVE:WAVeform:LENGth" on page 567 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
If a file extension is provided as part of a specified <file_name>, it must be ".h5". N OTE See Also • "Introduction to :SAVE Commands" on page 546 • ":SAVE:WMEMory:SOURce" on page 570 • ":RECall:WMEMory<r>[:STARt]" on page 542 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 573
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 25 :SBUS<n> Commands Control the modes and parameters for each serial bus decode/trigger type. See: • "Introduction to :SBUS<n> Commands" on page 573 • "General :SBUS<n> Commands" on page 575 • ":SBUS<n>:A429 Commands" on page 578 •...
Page 574
Return Format The following is a sample response from the :SBUS1? query. In this case, the query was issued following a *RST command. :SBUS1:DISP 0;MODE IIC;:SBUS1:IIC:ASIZ BIT7;:SBUS1:IIC:TRIG:TYPE STAR;QUAL EQU;:SBUS1:IIC:SOUR:CLOC CHAN1;DATA CHAN2;:SBUS1:IIC:TRIG:PATT:ADDR -1;DATA -1;DATA2 -1 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
"-241, Hardware missing" on page 1137 See Also • "Introduction to :SBUS<n> Commands" on page 573 • ":CHANnel<n>:DISPlay" on page 262 • ":VIEW" on page 221 • ":BLANk" on page 192 • ":STATus" on page 218 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<source> ::= {CHANnel<n>} page 588) <source> (see (see <n> ::= 1 to (# analog channels) page 588) in NR1 format :SBUS<n>:A429:SPEed :SBUS<n>:A429:SPEed? <speed> ::= {LOW | HIGH | USER} page 589) page 589) <speed> (see (see Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
10000 and 100000 and in 1000 b/s ingrements between 100000 and 1000000. Query Syntax :SBUS<n>:A429:BAUDrate? The :SBUS<n>:A429:BAUDrate? query returns the user-defined baud rate setting. Return Format <baudrate><NL> See Also • ":SBUS<n>:A429:SPEed" on page 589 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
1137 See Also • ":SBUS<n>:A429:COUNt:RESet" on page 584 • ":SBUS<n>:A429:COUNt:WORD" on page 585 • "Introduction to :SBUS<n> Commands" on page 573 • ":SBUS<n>:MODE" on page 577 • ":SBUS<n>:A429 Commands" on page 578 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
1137 See Also • ":SBUS<n>:A429:COUNt:WORD" on page 585 • ":SBUS<n>:A429:COUNt:ERRor" on page 583 • "Introduction to :SBUS<n> Commands" on page 573 • ":SBUS<n>:MODE" on page 577 • ":SBUS<n>:A429 Commands" on page 578 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
1137 See Also • ":SBUS<n>:A429:COUNt:RESet" on page 584 • ":SBUS<n>:A429:COUNt:ERRor" on page 583 • "Introduction to :SBUS<n> Commands" on page 573 • ":SBUS<n>:MODE" on page 577 • ":SBUS<n>:A429 Commands" on page 578 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
"-241, Hardware missing" on page 1137 See Also • "Introduction to :SBUS<n> Commands" on page 573 • ":SBUS<n>:MODE" on page 577 • ":SBUS<n>:A429:FORMat" on page 586 • ":SBUS<n>:A429:SPEed" on page 589 • ":SBUS<n>:A429:SOURce" on page 588 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • ":SBUS<n>:A429:BAUDrate" on page 582 • "Introduction to :SBUS<n> Commands" on page 573 • ":SBUS<n>:MODE" on page 577 • ":SBUS<n>:A429:SIGNal" on page 587 • ":SBUS<n>:A429:FORMat" on page 586 • ":SBUS<n>:A429:SOURce" on page 588 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:A429:TRIGger:LABel? query returns the current label value in decimal format. Return Format <value><NL> in decimal format Errors • "-241, Hardware missing" on page 1137 See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:A429:TRIGger:TYPE" on page 595 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<string><NL> in nondecimal format Errors • "-241, Hardware missing" on page 1137 See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:A429:TRIGger:TYPE" on page 595 • ":SBUS<n>:A429:TRIGger:PATTern:SDI" on page 592 • ":SBUS<n>:A429:TRIGger:PATTern:SSM" on page 593 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
"-241, Hardware missing" on page 1137 See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:A429:FORMat" on page 586 • ":SBUS<n>:A429:TRIGger:TYPE" on page 595 • ":SBUS<n>:A429:TRIGger:PATTern:DATA" on page 591 • ":SBUS<n>:A429:TRIGger:PATTern:SSM" on page 593 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
"-241, Hardware missing" on page 1137 See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:A429:FORMat" on page 586 • ":SBUS<n>:A429:TRIGger:TYPE" on page 595 • ":SBUS<n>:A429:TRIGger:PATTern:DATA" on page 591 • ":SBUS<n>:A429:TRIGger:PATTern:SDI" on page 592 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:A429:TRIGger:RANGe? query returns the current label values in decimal format. Return Format <min>,<max><NL> in decimal format Errors • "-241, Hardware missing" on page 1137 See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:A429:TRIGger:TYPE" on page 595 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Errors • "-241, Hardware missing" on page 1137 See Also • ":SBUS<n>:CAN:COUNt:RESet" on page 602 • "Introduction to :SBUS<n> Commands" on page 573 • ":SBUS<n>:MODE" on page 577 • ":SBUS<n>:CAN Commands" on page 597 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Errors • "-241, Hardware missing" on page 1137 See Also • ":SBUS<n>:CAN:COUNt:RESet" on page 602 • "Introduction to :SBUS<n> Commands" on page 573 • ":SBUS<n>:MODE" on page 577 • ":SBUS<n>:CAN Commands" on page 597 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Errors • "-241, Hardware missing" on page 1137 See Also • ":SBUS<n>:CAN:COUNt:RESet" on page 602 • "Introduction to :SBUS<n> Commands" on page 573 • ":SBUS<n>:MODE" on page 577 • ":SBUS<n>:CAN Commands" on page 597 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Errors • "-241, Hardware missing" on page 1137 See Also • ":SBUS<n>:CAN:COUNt:RESet" on page 602 • "Introduction to :SBUS<n> Commands" on page 573 • ":SBUS<n>:MODE" on page 577 • ":SBUS<n>:CAN Commands" on page 597 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Errors • "-241, Hardware missing" on page 1137 See Also • ":SBUS<n>:CAN:COUNt:RESet" on page 602 • "Introduction to :SBUS<n> Commands" on page 573 • ":SBUS<n>:MODE" on page 577 • ":SBUS<n>:CAN Commands" on page 597 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Lister window. Query Syntax :SBUS<n>:CAN:DISPlay? The :SBUS<n>:CAN:DISPlay? query returns the CAN decode display type. Return Format <type><NL> <type> ::= {HEX | SYMB} See Also • ":RECall:DBC[:STARt]" on page 536 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:SBUS<n>:CAN:FDSPoint? The :SBUS<n>:CAN:FDSPoint? query returns the current CAN FD sample point setting. Return Format <value><NL> <value> ::= even numbered percentages from 30 to 90 in NR3 format. See Also • ":SBUS<n>:CAN:SIGNal:FDBaudrate" on page 612 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
This setting has no effect on the processing of non-FD (classical) frames. Query Syntax :SBUS<n>:CAN:FDSTandard? The :SBUS<n>:CAN:FDSTandard? query returns the selected CAN FD frame decode standard. Return Format <std<NL> <std> ::= {ISO | NISO} See Also • ":SBUS<n>:CAN:FDSPoint" on page 607 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:CAN:SAMPlepoint? query returns the current CAN sample point setting. Return Format <percent><NL> <percent> ::= 30.0 to 90.0 in NR3 format See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:MODE" on page 577 • ":SBUS<n>:CAN:TRIGger" on page 614 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<baudrate> ::= integer from 10000 to 4000000 in 100 b/s increments, or 5000000 See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:MODE" on page 577 • ":SBUS<n>:CAN:TRIGger" on page 614 • ":SBUS<n>:CAN:SIGNal:DEFinition" on page 611 • ":SBUS<n>:CAN:SOURce" on page 613 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:CAN:SIGNal:FDBaudrate? query returns the current CAN FD baud rate setting. Return Format <baudrate><NL> <baudrate> ::= integer from 10000 to 10000000 in 100 b/s increments. See Also • ":SBUS<n>:CAN:FDSPoint" on page 607 • ":SBUS<n>:CAN:SIGNal:BAUDrate" on page 610 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:CAN:SOURce? query returns the current source for the CAN signal. Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:MODE" on page 577 • ":SBUS<n>:CAN:TRIGger" on page 614 • ":SBUS<n>:CAN:SIGNal:DEFinition" on page 611 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Triggers on the acknowledge bit if the polarity is incorrect. FORMerror Form Error Triggers on reserved bit errors. STUFferror Stuff Error Triggers on 6 consecutive 1s or 6 consecutive 0s, while in a non-error or non overload frame. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 615
| FORM | STUF | CRC | SPEC | ALL | BRSB | CRCD | EBA | EBP | OVER | MESS | MSIG | FDMS} Errors • "-241, Hardware missing" on page 1137 See Also • "Introduction to :SBUS<n> Commands" on page 573 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 616
":SBUS<n>:CAN:TRIGger:IDFilter" on page 617 • ":SBUS<n>:CAN:SIGNal:DEFinition" on page 611 • ":SBUS<n>:CAN:SOURce" on page 613 • ":RECall:DBC[:STARt]" on page 536 • ":SBUS<n>:CAN:TRIGger:SYMBolic:MESSage" on page 624 • ":SBUS<n>:CAN:TRIGger:SYMBolic:SIGNal" on page 625 • ":SBUS<n>:CAN:TRIGger:SYMBolic:VALue" on page 626 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
CAN IDs. Query Syntax :SBUS<n>:CAN:TRIGger:IDFilter? The :SBUS<n>:CAN:TRIGger:IDFilter? query returns the CAN trigger ID filter setting. Return Format <setting><NL> <setting> ::= {0 | 1} See Also • ":SBUS<n>:CAN:TRIGger" on page 614 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <string><NL> in nondecimal format Errors • "-241, Hardware missing" on page 1137 See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:CAN:TRIGger:PATTern:DATA:LENGth" on page 620 • ":SBUS<n>:CAN:TRIGger:PATTern:ID" on page 622 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :SBUS<n>:CAN:TRIGger:PATTern:DATA:STARt? The :SBUS<n>:CAN:TRIGger:PATTern:DATA:DLC? query returns the currently set DLC value. Return Format <dlc><NL> <dlc> ::= integer between -1 (don't care) and 64, in NR1 format. See Also • ":SBUS<n>:CAN:TRIGger:PATTern:DATA" on page 618 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<count> ::= integer from 1 to 8 in NR1 format Errors • "-241, Hardware missing" on page 1137 See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:CAN:TRIGger:PATTern:DATA" on page 618 • ":SBUS<n>:CAN:SOURce" on page 613 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:CAN:TRIGger:PATTern:DATA:STARt? query returns the starting byte position setting. Return Format <start><NL> <start> ::= integer between 0 and 63, in NR1 format. See Also • ":SBUS<n>:CAN:TRIGger:PATTern:DATA" on page 618 • ":SBUS<n>:CAN:TRIGger:PATTern:DATA:LENGth" on page 620 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<string><NL> in 29-bit binary string format Errors • "-241, Hardware missing" on page 1137 See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:CAN:TRIGger:PATTern:ID:MODE" on page 623 • ":SBUS<n>:CAN:TRIGger:PATTern:DATA" on page 618 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
"-241, Hardware missing" on page 1137 See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:MODE" on page 577 • ":SBUS<n>:CAN:TRIGger:PATTern:DATA" on page 618 • ":SBUS<n>:CAN:TRIGger:PATTern:DATA:LENGth" on page 620 • ":SBUS<n>:CAN:TRIGger:PATTern:ID" on page 622 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:CAN:TRIGger:SYMBolic:MESSage? query returns the specified message. Return Format <name><NL> <name> ::= quoted ASCII string See Also • ":RECall:DBC[:STARt]" on page 536 • ":SBUS<n>:CAN:TRIGger" on page 614 • ":SBUS<n>:CAN:TRIGger:SYMBolic:SIGNal" on page 625 • ":SBUS<n>:CAN:TRIGger:SYMBolic:VALue" on page 626 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:CAN:TRIGger:SYMBolic:SIGNal? query returns the specified signal. Return Format <name><NL> <name> ::= quoted ASCII string See Also • ":RECall:DBC[:STARt]" on page 536 • ":SBUS<n>:CAN:TRIGger" on page 614 • ":SBUS<n>:CAN:TRIGger:SYMBolic:MESSage" on page 624 • ":SBUS<n>:CAN:TRIGger:SYMBolic:VALue" on page 626 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:CAN:TRIGger:SYMBolic:VALue? query returns the specified signal value. Return Format <data><NL> <data> ::= value in NR3 format See Also • ":RECall:DBC[:STARt]" on page 536 • ":SBUS<n>:CAN:TRIGger" on page 614 • ":SBUS<n>:CAN:TRIGger:SYMBolic:MESSage" on page 624 • ":SBUS<n>:CAN:TRIGger:SYMBolic:SIGNal" on page 625 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<string ::= "0xnn...n" where n page 637) ::= {0,..,9 | A,..,F | X} :SBUS<n>:CXPI:TRIGger :SBUS<n>:CXPI:TRIGger <start> ::= integer between 0 and :PATTern:DATA:LENGth :PATTern:DATA:LENGth? 12, in NR1 format. page 638) <length> (see (see page 638) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 628
(don't care) and 255, in NR1 format, when trigger is in LDATa mode. :SBUS<n>:CXPI:TRIGger :SBUS<n>:CXPI:TRIGger <string> ::= "nn" where n ::= {0 :PATTern:INFO:NM :PATTern:INFO:NM? | 1 | X} page 643) <string> (see (see page 643) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<baudrate><NL> <baudrate> ::= integer from 9600 to 40000 in 100 b/s increments. See Also • ":SBUS<n>:CXPI:PARity" on page 630 • ":SBUS<n>:CXPI:SOURce" on page 631 • ":SBUS<n>:CXPI:TOLerance" on page 632 • ":SBUS<n>:CXPI:TRIGger" on page 633 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:CXPI:PARity? query returns the parity display setting. Return Format <setting><NL> <setting> ::= {0 | 1} See Also • ":SBUS<n>:CXPI:BAUDrate" on page 629 • ":SBUS<n>:CXPI:SOURce" on page 631 • ":SBUS<n>:CXPI:TOLerance" on page 632 • ":SBUS<n>:CXPI:TRIGger" on page 633 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:CXPI:SOURce? query returns the selected oscilloscope channel source. Return Format <source><NL> <source> ::= {CHAN<n>} See Also • ":SBUS<n>:CXPI:BAUDrate" on page 629 • ":SBUS<n>:CXPI:PARity" on page 630 • ":SBUS<n>:CXPI:TOLerance" on page 632 • ":SBUS<n>:CXPI:TRIGger" on page 633 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:CXPI:TOLerance? query returns the tolerance setting. Return Format <percent><NL> <percent> ::= from 1-30, in NR1 format. See Also • ":SBUS<n>:CXPI:BAUDrate" on page 629 • ":SBUS<n>:CXPI:PARity" on page 630 • ":SBUS<n>:CXPI:SOURce" on page 631 • ":SBUS<n>:CXPI:TRIGger" on page 633 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
• FRAMingerror — triggers when the stop bit of a byte is not logical 1. You can optionally filter by Frame ID and PTYPE as in the Frame ID trigger. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 634
":SBUS<n>:CXPI:TRIGger:PATTern:DATA" on page 637 • ":SBUS<n>:CXPI:TRIGger:PATTern:DATA:LENGth" on page 638 • ":SBUS<n>:CXPI:TRIGger:PATTern:DATA:STARt" on page 639 • ":SBUS<n>:CXPI:TRIGger:PATTern:ID" on page 640 • ":SBUS<n>:CXPI:TRIGger:PATTern:INFO:CT" on page 641 • ":SBUS<n>:CXPI:TRIGger:PATTern:INFO:DLC" on page 642 • ":SBUS<n>:CXPI:TRIGger:PATTern:INFO:NM" on page 643 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:IIC:ASIZe? query returns the current IIC address width setting. Return Format <mode><NL> <mode> ::= {BIT7 | BIT8} Errors • "-241, Hardware missing" on page 1137 See Also • "Introduction to :SBUS<n> Commands" on page 573 • ":SBUS<n>:IIC Commands" on page 644 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
(SCL). Query Syntax :SBUS<n>:IIC[:SOURce]:CLOCk? The :SBUS<n>:IIC[:SOURce]:CLOCk? query returns the current source for the IIC serial clock. Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:IIC[:SOURce]:DATA" on page 647 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:IIC[:SOURce]:DATA command sets the source for IIC serial data (SDA). Query Syntax :SBUS<n>:IIC[:SOURce]:DATA? The :SBUS<n>:IIC[:SOURce]:DATA? query returns the current source for IIC serial data. Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:IIC[:SOURce]:CLOCk" on page 646 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
IIC data. Return Format <value><NL> <value> ::= integer See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:IIC:TRIGger:PATTern:DATA" on page 649 • ":SBUS<n>:IIC:TRIGger:PATTern:DATa2" on page 650 • ":SBUS<n>:IIC:TRIGger[:TYPE]" on page 652 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:IIC:TRIGger:PATTern:DATA? query returns the current pattern for IIC data. Return Format <value><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:IIC:TRIGger:PATTern:ADDRess" on page 648 • ":SBUS<n>:IIC:TRIGger:PATTern:DATa2" on page 650 • ":SBUS<n>:IIC:TRIGger[:TYPE]" on page 652 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:IIC:TRIGger:PATTern:DATa2? query returns the current pattern for IIC data 2. Return Format <value><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:IIC:TRIGger:PATTern:ADDRess" on page 648 • ":SBUS<n>:IIC:TRIGger:PATTern:DATA" on page 649 • ":SBUS<n>:IIC:TRIGger[:TYPE]" on page 652 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:IIC:TRIGger:QUALifier? query returns the current IIC data qualifier value. Return Format <value><NL> <value> ::= {EQUal | NOTequal | LESSthan | GREaterthan} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":SBUS<n>:IIC:TRIGger[:TYPE]" on page 652 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 653
914 • ":SBUS<n>:IIC:TRIGger:PATTern:ADDRess" on page 648 • ":SBUS<n>:IIC:TRIGger:PATTern:DATA" on page 649 • ":SBUS<n>:IIC:TRIGger:PATTern:DATa2" on page 650 • ":SBUS<n>:IIC:TRIGger:QUALifier" on page 651 • "Long Form to Short Form Truncation Rules" on page 1198 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<string> from 0-63 or 0x00-0x3f <nondecimal> ::= #Hnn where n ::= {0,..,9 | A,..,F} for hexadecimal <nondecimal> ::= #Bnn...n where n ::= {0 | 1} for binary <string> ::= "0xnn" where n ::= {0,..,9 | A,..,F} for hexadecimal Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 655
(see :SBUS<n>:LIN:TRIGger: :SBUS<n>:LIN:TRIGger: <name> ::= quoted ASCII string SYMBolic:SIGNal SYMBolic:SIGNal? (see page 671) page 671) <name> (see :SBUS<n>:LIN:TRIGger: :SBUS<n>:LIN:TRIGger: <data> ::= value in NR3 format SYMBolic:VALue <data> SYMBolic:VALue? (see page 672) page 672) (see Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Lister window. Query Syntax :SBUS<n>:LIN:DISPlay? The :SBUS<n>:LIN:DISPlay? query returns the LIN decode display type. Return Format <type><NL> <type> ::= {HEX | SYMB} See Also • ":RECall:LDF[:STARt]" on page 538 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<baudrate> ::= integer from 2400 to 625000 in 100 b/s increments See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":SBUS<n>:LIN:TRIGger" on page 663 • ":SBUS<n>:LIN:SIGNal:DEFinition" on page 1131 • ":SBUS<n>:LIN:SOURce" on page 660 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:LIN:SOURce? query returns the current source for the LIN signal. Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":SBUS<n>:LIN:TRIGger" on page 663 • ":SBUS<n>:LIN:SIGNal:DEFinition" on page 1131 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
"-241, Hardware missing" on page 1137 See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":SBUS<n>:LIN:TRIGger" on page 663 • ":SBUS<n>:LIN:SIGNal:DEFinition" on page 1131 • ":SBUS<n>:LIN:SOURce" on page 660 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :SBUS<n>:LIN:TRIGger:PATTern:DATA? The :SBUS<n>:LIN:TRIGger:PATTern:DATA? query returns the currently specified LIN trigger data pattern. Return Format <string><NL> Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 667
:SBUS<n> Commands See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:LIN:TRIGger:PATTern:FORMat" on page 669 • ":SBUS<n>:LIN:TRIGger" on page 663 • ":SBUS<n>:LIN:TRIGger:PATTern:DATA:LENGth" on page 668 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<count> ::= integer from 1 to 8 in NR1 format Errors • "-241, Hardware missing" on page 1137 See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:LIN:TRIGger:PATTern:DATA" on page 666 • ":SBUS<n>:LIN:SOURce" on page 660 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
LIN pattern data. Return Format <base><NL> <base> ::= {BIN | HEX | DEC} See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:LIN:TRIGger:PATTern:DATA" on page 666 • ":SBUS<n>:LIN:TRIGger:PATTern:DATA:LENGth" on page 668 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:LIN:TRIGger:SYMBolic:FRAMe? query returns the specified message. Return Format <name><NL> <name> ::= quoted ASCII string See Also • ":RECall:LDF[:STARt]" on page 538 • ":SBUS<n>:LIN:TRIGger" on page 663 • ":SBUS<n>:LIN:TRIGger:SYMBolic:SIGNal" on page 671 • ":SBUS<n>:LIN:TRIGger:SYMBolic:VALue" on page 672 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:LIN:TRIGger:SYMBolic:SIGNal? query returns the specified signal. Return Format <name><NL> <name> ::= quoted ASCII string See Also • ":RECall:LDF[:STARt]" on page 538 • ":SBUS<n>:LIN:TRIGger" on page 663 • ":SBUS<n>:LIN:TRIGger:SYMBolic:FRAMe" on page 670 • ":SBUS<n>:LIN:TRIGger:SYMBolic:VALue" on page 672 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:LIN:TRIGger:SYMBolic:VALue? query returns the specified signal value. Return Format <data><NL> <data> ::= value in NR3 format See Also • ":RECall:LDF[:STARt]" on page 538 • ":SBUS<n>:LIN:TRIGger" on page 663 • ":SBUS<n>:LIN:TRIGger:SYMBolic:FRAMe" on page 670 • ":SBUS<n>:LIN:TRIGger:SYMBolic:SIGNal" on page 671 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
• Probe Attenuation: 10.0. • Serial Decode: On. • Trigger: the specified serial bus (n of SBUS<n>). See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":SBUS<n>:M1553:SOURce" on page 676 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<n> ::= 1 to (# analog channels) in NR1 format See Also • ":TRIGger:LEVel:HIGH" on page 912 • ":TRIGger:LEVel:LOW" on page 913 • ":TRIGger:MODE" on page 914 • "Introduction to :TRIGger Commands" on page 901 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <string><NL> <string> ::= "nn...n" where n ::= {0 | 1 | X} See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:M1553:TRIGger:TYPE" on page 679 • ":SBUS<n>:M1553:TRIGger:RTA" on page 678 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
To set the RTA value to don't cares (0xXX), set the value to -1. Query Syntax :SBUS<n>:M1553:TRIGger:RTA? The :SBUS<n>:M1553:TRIGger:RTA? query returns the RTA value. Return Format <value><NL> in decimal format See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:M1553:TRIGger:TYPE" on page 679 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<#bits> ::= from 0-255, in NR1 page 691) SIZe <#bits> (see SIZe? (see format page 691) :SBUS<n>:MANChester:S :SBUS<n>:MANChester:S <edge#> ::= from 1-256, in NR1 page 692) TARt <edge#> (see TARt? (see format page 692) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 681
<#bits> ::= from 0-32, in NR1 page 697) SIZe <#bits> (see SIZe? (see format page 697) :SBUS<n>:MANChester:W :SBUS<n>:MANChester:W <#bits> ::= from 2-32, in NR1 page 698) SIZe <#bits> (see SIZe? (see format page 698) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <base><NL> <base> ::= {HEX | DEC | ASC | BIN} See Also • ":SBUS<n>:MANChester:BITorder" on page 684 • ":SBUS<n>:MANChester:IDLE:BITS" on page 688 • ":SBUS<n>:MANChester:LOGic" on page 689 • ":SBUS<n>:MANChester:STARt" on page 692 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:MANChester:BAUDrate command specifies the baud rate of the Manchester signal. Query Syntax :SBUS<n>:MANChester:BAUDrate? The :SBUS<n>:MANChester:BAUDrate? query returns the specified baud rate. Return Format <baudrate><NL> See Also • ":SBUS<n>:MANChester:SOURce" on page 690 • ":SBUS<n>:MANChester:TOLerance" on page 693 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:MANChester:BITorder? query returns the bit order setting. Return Format <bitorder><NL> <bitorder> ::= {MSBF | LSBF} See Also • ":SBUS<n>:MANChester:BASE" on page 682 • ":SBUS<n>:MANChester:IDLE:BITS" on page 688 • ":SBUS<n>:MANChester:LOGic" on page 689 • ":SBUS<n>:MANChester:STARt" on page 692 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
In BIT format the only legal value is 0 (for AUTO). See Also • ":SBUS<n>:MANChester:DISPlay" on page 685 • ":SBUS<n>:MANChester:HSIZe" on page 687 • ":SBUS<n>:MANChester:SSIZe" on page 691 • ":SBUS<n>:MANChester:TSIZe" on page 697 • ":SBUS<n>:MANChester:WSIZe" on page 698 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:MANChester:HSIZe? query returns the number of header field bits setting. Return Format <#bits><NL> See Also • ":SBUS<n>:MANChester:DISPlay" on page 685 • ":SBUS<n>:MANChester:DSIZe" on page 686 • ":SBUS<n>:MANChester:SSIZe" on page 691 • ":SBUS<n>:MANChester:TSIZe" on page 697 • ":SBUS<n>:MANChester:WSIZe" on page 698 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:MANChester:IDLE:BITS? query returns the specified idle time in terms of the number of bits. Return Format <#bits><NL> See Also • ":SBUS<n>:MANChester:BASE" on page 682 • ":SBUS<n>:MANChester:BITorder" on page 684 • ":SBUS<n>:MANChester:LOGic" on page 689 • ":SBUS<n>:MANChester:STARt" on page 692 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:MANChester:LOGic? query returns the polarity setting. Return Format <logic><NL> <logic> ::= {FALL | RIS} See Also • ":SBUS<n>:MANChester:BASE" on page 682 • ":SBUS<n>:MANChester:BITorder" on page 684 • ":SBUS<n>:MANChester:IDLE:BITS" on page 688 • ":SBUS<n>:MANChester:STARt" on page 692 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Manchester signal line. Query Syntax :SBUS<n>:MANChester:SOURce? The :SBUS<n>:MANChester:SOURce? query returns the selected oscilloscope channel source. Return Format <source><NL> <source> ::= {CHAN<n>} See Also • ":SBUS<n>:MANChester:BAUDrate" on page 683 • ":SBUS<n>:MANChester:TOLerance" on page 693 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:MANChester:SSIZe? query returns the number of sync bits setting. Return Format <#bits><NL> See Also • ":SBUS<n>:MANChester:DISPlay" on page 685 • ":SBUS<n>:MANChester:DSIZe" on page 686 • ":SBUS<n>:MANChester:HSIZe" on page 687 • ":SBUS<n>:MANChester:TSIZe" on page 697 • ":SBUS<n>:MANChester:WSIZe" on page 698 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:MANChester:STARt? query returns the starting edge number setting. Return Format <edge#><NL> See Also • ":SBUS<n>:MANChester:BASE" on page 682 • ":SBUS<n>:MANChester:BITorder" on page 684 • ":SBUS<n>:MANChester:IDLE:BITS" on page 688 • ":SBUS<n>:MANChester:LOGic" on page 689 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Manchester signal in terms of the percentage of the bit period. Query Syntax :SBUS<n>:MANChester:TOLerance? The :SBUS<n>:MANChester:TOLerance? query returns the tolerance setting. Return Format <percent><NL> <percent> ::= from 5-30, in NR1 format See Also • ":SBUS<n>:MANChester:BAUDrate" on page 683 • ":SBUS<n>:MANChester:SOURce" on page 690 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
• MERRor — triggers on a Manchester error. Query Syntax :SBUS<n>:MANChester:TRIGger? The :SBUS<n>:MANChester:TRIGger? query returns the trigger mode setting. Return Format <mode><NL> <mode> ::= {SOF | VAL | MERR} See Also • ":SBUS<n>:MANChester:TRIGger:PATTern:VALue:DATA" on page 695 • ":SBUS<n>:MANChester:TRIGger:PATTern:VALue:WIDTh" on page 696 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <string><NL> <string> ::= "nn...n" where n ::= {0 | 1 | X | $} See Also • ":SBUS<n>:MANChester:BITorder" on page 684 • ":SBUS<n>:MANChester:TRIGger" on page 694 • ":SBUS<n>:MANChester:TRIGger:PATTern:VALue:WIDTh" on page 696 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :SBUS<n>:MANChester:TRIGger:PATTern:VALue:WIDTh? The :SBUS<n>:MANChester:TRIGger:PATTern:VALue:WIDTh? query returns the specified trigger value bit width (length). Return Format <width><NL> See Also • ":SBUS<n>:MANChester:BITorder" on page 684 • ":SBUS<n>:MANChester:TRIGger" on page 694 • ":SBUS<n>:MANChester:TRIGger:PATTern:VALue:DATA" on page 695 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<#bits> ::= from 0-32, in NR1 format See Also • ":SBUS<n>:MANChester:DISPlay" on page 685 • ":SBUS<n>:MANChester:DSIZe" on page 686 • ":SBUS<n>:MANChester:HSIZe" on page 687 • ":SBUS<n>:MANChester:SSIZe" on page 691 • ":SBUS<n>:MANChester:WSIZe" on page 698 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:MANChester:WSIZe? query returns the number of bits per word setting. Return Format <#bits><NL> See Also • ":SBUS<n>:MANChester:DISPlay" on page 685 • ":SBUS<n>:MANChester:DSIZe" on page 686 • ":SBUS<n>:MANChester:HSIZe" on page 687 • ":SBUS<n>:MANChester:SSIZe" on page 691 • ":SBUS<n>:MANChester:TSIZe" on page 697 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<source> (see (see page 711) :SBUS<n>:NRZ:STARt :SBUS<n>:NRZ:STARt? <#bits> ::= from 0-255, in NR1 page 712) page 712) <#bits> (see (see format :SBUS<n>:NRZ:TRIGger :SBUS<n>:NRZ:TRIGger? <mode> ::= {SOF | VALue} page 713) page 713) <mode> (see (see Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 700
<width> (see (see :SBUS<n>:NRZ:TSIZe :SBUS<n>:NRZ:TSIZe? <#bits> ::= from 0-32, in NR1 page 716) page 716) <#bits> (see (see format :SBUS<n>:NRZ:WSIZe :SBUS<n>:NRZ:WSIZe? <#bits> ::= from 2-32, in NR1 page 717) page 717) <#bits> (see (see format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <base><NL> <base> ::= {HEX | DEC | ASC | BIN} See Also • ":SBUS<n>:NRZ:BITorder" on page 703 • ":SBUS<n>:NRZ:IDLE:BITS" on page 708 • ":SBUS<n>:NRZ:IDLE:STATe" on page 709 • ":SBUS<n>:NRZ:LOGic" on page 710 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<baudrate> ::= integer from 5000 to 5000000 in 100 b/s increments The :SBUS<n>:NRZ:BAUDrate command specifies the baud rate of the NRZ signal. Query Syntax :SBUS<n>:NRZ:BAUDrate? The :SBUS<n>:NRZ:BAUDrate? query returns the specified baud rate. Return Format <baudrate><NL> See Also • ":SBUS<n>:NRZ:SOURce" on page 711 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:NRZ:BITorder? query returns the bit order setting. Return Format <bitorder><NL> <bitorder> ::= {MSBF | LSBF} See Also • ":SBUS<n>:NRZ:BASE" on page 701 • ":SBUS<n>:NRZ:IDLE:BITS" on page 708 • ":SBUS<n>:NRZ:IDLE:STATe" on page 709 • ":SBUS<n>:NRZ:LOGic" on page 710 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
In BIT format the only legal value is 0 (for AUTO). See Also • ":SBUS<n>:NRZ:DISPlay" on page 704 • ":SBUS<n>:NRZ:FSIZe" on page 706 • ":SBUS<n>:NRZ:HSIZe" on page 707 • ":SBUS<n>:NRZ:STARt" on page 712 • ":SBUS<n>:NRZ:TSIZe" on page 716 • ":SBUS<n>:NRZ:WSIZe" on page 717 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <#bits><NL> See Also • ":SBUS<n>:NRZ:DISPlay" on page 704 • ":SBUS<n>:NRZ:DSIZe" on page 705 • ":SBUS<n>:NRZ:HSIZe" on page 707 • ":SBUS<n>:NRZ:STARt" on page 712 • ":SBUS<n>:NRZ:TSIZe" on page 716 • ":SBUS<n>:NRZ:WSIZe" on page 717 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <#bits><NL> See Also • ":SBUS<n>:NRZ:DISPlay" on page 704 • ":SBUS<n>:NRZ:DSIZe" on page 705 • ":SBUS<n>:NRZ:FSIZe" on page 706 • ":SBUS<n>:NRZ:STARt" on page 712 • ":SBUS<n>:NRZ:TSIZe" on page 716 • ":SBUS<n>:NRZ:WSIZe" on page 717 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:NRZ:IDLE:BITS? query returns the specified idle time in terms of the number of bits. Return Format <#bits><NL> See Also • ":SBUS<n>:NRZ:BASE" on page 701 • ":SBUS<n>:NRZ:BITorder" on page 703 • ":SBUS<n>:NRZ:IDLE:STATe" on page 709 • ":SBUS<n>:NRZ:LOGic" on page 710 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:NRZ:IDLE:STATe? query returns the idle state setting. Return Format <state><NL> <state> ::= {LOW | HIGH} See Also • ":SBUS<n>:NRZ:BASE" on page 701 • ":SBUS<n>:NRZ:BITorder" on page 703 • ":SBUS<n>:NRZ:IDLE:BITS" on page 708 • ":SBUS<n>:NRZ:LOGic" on page 710 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:NRZ:LOGic? query returns the polarity setting. Return Format <logic><NL> <logic> ::= {HIGH | LOW} See Also • ":SBUS<n>:NRZ:BASE" on page 701 • ":SBUS<n>:NRZ:BITorder" on page 703 • ":SBUS<n>:NRZ:IDLE:BITS" on page 708 • ":SBUS<n>:NRZ:IDLE:STATe" on page 709 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:NRZ:SOURce command selects the oscilloscope channel connected to the NRZ signal Query Syntax :SBUS<n>:NRZ:SOURce? The :SBUS<n>:NRZ:SOURce? query returns the selected oscilloscope channel source. Return Format <source><NL> <source> ::= {CHAN<n>} See Also • ":SBUS<n>:NRZ:BAUDrate" on page 702 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <#bits><NL> See Also • ":SBUS<n>:NRZ:DISPlay" on page 704 • ":SBUS<n>:NRZ:DSIZe" on page 705 • ":SBUS<n>:NRZ:FSIZe" on page 706 • ":SBUS<n>:NRZ:HSIZe" on page 707 • ":SBUS<n>:NRZ:TSIZe" on page 716 • ":SBUS<n>:NRZ:WSIZe" on page 717 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <string><NL> <string> ::= "nn...n" where n ::= {0 | 1 | X | $} See Also • ":SBUS<n>:NRZ:BITorder" on page 703 • ":SBUS<n>:NRZ:TRIGger" on page 713 • ":SBUS<n>:NRZ:TRIGger:PATTern:VALue:WIDTh" on page 715 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :SBUS<n>:NRZ:TRIGger:PATTern:VALue:WIDTh? The :SBUS<n>:NRZ:TRIGger:PATTern:VALue:WIDTh? query returns the specified trigger value bit width (length). Return Format <width><NL> See Also • ":SBUS<n>:NRZ:BITorder" on page 703 • ":SBUS<n>:NRZ:TRIGger" on page 713 • ":SBUS<n>:NRZ:TRIGger:PATTern:VALue:DATA" on page 714 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<#bits> ::= from 0-32, in NR1 format See Also • ":SBUS<n>:NRZ:DISPlay" on page 704 • ":SBUS<n>:NRZ:DSIZe" on page 705 • ":SBUS<n>:NRZ:FSIZe" on page 706 • ":SBUS<n>:NRZ:HSIZe" on page 707 • ":SBUS<n>:NRZ:STARt" on page 712 • ":SBUS<n>:NRZ:WSIZe" on page 717 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <#bits><NL> See Also • ":SBUS<n>:NRZ:DISPlay" on page 704 • ":SBUS<n>:NRZ:DSIZe" on page 705 • ":SBUS<n>:NRZ:FSIZe" on page 706 • ":SBUS<n>:NRZ:HSIZe" on page 707 • ":SBUS<n>:NRZ:STARt" on page 712 • ":SBUS<n>:NRZ:TSIZe" on page 716 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:UART:BAUDrate? query returns the current UART baud rate setting. Return Format <baudrate><NL> <baudrate> ::= integer from 100 to 8000000, 10000000, or 12000000 See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":SBUS<n>:UART:TRIGger:TYPE" on page 771 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Errors • "-241, Hardware missing" on page 1137 See Also • ":SBUS<n>:UART:COUNt:RESet" on page 758 • "Introduction to :SBUS<n> Commands" on page 573 • ":SBUS<n>:MODE" on page 577 • ":SBUS<n>:UART Commands" on page 752 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Errors • "-241, Hardware missing" on page 1137 See Also • ":SBUS<n>:UART:COUNt:RESet" on page 758 • "Introduction to :SBUS<n> Commands" on page 573 • ":SBUS<n>:MODE" on page 577 • ":SBUS<n>:UART Commands" on page 752 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Errors • "-241, Hardware missing" on page 1137 See Also • ":SBUS<n>:UART:COUNt:RESet" on page 758 • "Introduction to :SBUS<n> Commands" on page 573 • ":SBUS<n>:MODE" on page 577 • ":SBUS<n>:UART Commands" on page 752 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:UART:PARity? query returns the current UART parity setting. Return Format <parity><NL> <parity> ::= {EVEN | ODD | NONE} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":SBUS<n>:UART:TRIGger:TYPE" on page 771 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:UART:POLarity? query returns the current UART polarity setting. Return Format <polarity><NL> <polarity> ::= {HIGH | LOW} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":SBUS<n>:UART:TRIGger:TYPE" on page 771 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:UART:SOURce:RX? query returns the current source for the UART Rx signal. Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":SBUS<n>:UART:TRIGger:TYPE" on page 771 • ":SBUS<n>:UART:BITorder" on page 756 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:UART:SOURce:TX? query returns the current source for the UART Tx signal. Return Format <source><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":SBUS<n>:UART:TRIGger:TYPE" on page 771 • ":SBUS<n>:UART:BITorder" on page 756 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:UART:TRIGger:BASE? query returns the current UART base setting. Return Format <base><NL> <base> ::= {ASC | HEX} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":SBUS<n>:UART:TRIGger:DATA" on page 768 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value> ::= {OFF | 1 to 4096 in NR1 format} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":SBUS<n>:UART:TRIGger:IDLE" on page 769 • ":SBUS<n>:UART:TRIGger:TYPE" on page 771 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<value><NL> <value> ::= 8-bit integer in decimal from 0-255 See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":SBUS<n>:UART:TRIGger:BASE" on page 766 • ":SBUS<n>:UART:TRIGger:TYPE" on page 771 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<time_value> ::= time from 1 us to 10 s in NR3 format See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":SBUS<n>:UART:TRIGger:BURSt" on page 767 • ":SBUS<n>:UART:TRIGger:TYPE" on page 771 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SBUS<n>:UART:TRIGger:QUALifier? query returns the current UART trigger qualifier. Return Format <value><NL> <value> ::= {EQU | NOT | GRE | LESS} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":SBUS<n>:UART:TRIGger:TYPE" on page 771 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <count><NL> <count> ::= an integer count value See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:EVENt" on page 788 • ":SEARch:STATe" on page 790 • ":SEARch:MODE" on page 789 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<event_number> ::= the integer number of a found search event See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:COUNt" on page 787 • ":SEARch:STATe" on page 790 • ":SEARch:MODE" on page 789 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:EDGE:SLOPe command specifies the slope of the edge for the search. Query Syntax :SEARch:EDGE:SLOPe? The :SEARch:EDGE:SLOPe? query returns the current slope setting. Return Format <slope><NL> <slope> ::= {NEG | POS | EITH} See Also • Chapter 26, “:SEARch Commands,” starting on page 785 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:EDGE:SOURce command selects the channel on which to search for edges. Query Syntax :SEARch:EDGE:SOURce? The :SEARch:EDGE:SOURce? query returns the current source. Return Format <source><NL> <source> ::= CHAN<n> See Also • Chapter 26, “:SEARch Commands,” starting on page 785 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
(see [suffix] ::= {s | ms | us | ns | :SEARch:GLITch:SOURce :SEARch:GLITch:SOURce <source> ::= CHANnel<n> page 800) <source> (see ? (see <n> ::= 1 to (# analog channels) page 800) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<greater_than_time><NL> <greater_than_time> ::= floating-point number in NR3 format. See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:GLITch:SOURce" on page 800 • ":SEARch:GLITch:QUALifier" on page 798 • ":SEARch:MODE" on page 789 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<less_than_time><NL> <less_than_time> ::= floating-point number in NR3 format. See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:GLITch:SOURce" on page 800 • ":SEARch:GLITch:QUALifier" on page 798 • ":SEARch:MODE" on page 789 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:GLITch:POLarity? query returns the current polarity setting for the glitch (pulse width) search. Return Format <polarity><NL> <polarity> ::= {POS | NEG} See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:MODE" on page 789 • ":SEARch:GLITch:SOURce" on page 800 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:GLITch:RANGe? query returns the pulse width duration time for :SEARch:GLITch:SOURce. Return Format <less_than_time>,<greater_than_time><NL> See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:GLITch:SOURce" on page 800 • ":SEARch:GLITch:QUALifier" on page 798 • ":SEARch:MODE" on page 789 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<m> ::= 1 to (# math functions) in NR1 format :SEARch:PEAK:THReshol :SEARch:PEAK:THReshol <level> ::= necessary level to be page 805) d <level> (see d? (see considered a peak, in NR3 format. page 805) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:PEAK:EXCursion? query returns the specified excursion delta level value. Return Format <delta_level><NL> <delta_level> ::= in NR3 format. See Also • ":FUNCtion<m>[:FFT]:VTYPe" on page 366 • ":SEARch:PEAK:NPEaks" on page 803 • ":SEARch:PEAK:SOURce" on page 804 • ":SEARch:PEAK:THReshold" on page 805 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:PEAK:NPEaks? query returns the specified maximum number of FFT peaks to find. Return Format <number><NL> <number> ::= in NR1 format. See Also • ":SEARch:PEAK:EXCursion" on page 802 • ":SEARch:PEAK:SOURce" on page 804 • ":SEARch:PEAK:THReshold" on page 805 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<source> ::= {FUNC<m> | FFT} (must be FFT) <m> ::= 1 to (# math functions) in NR1 format See Also • ":SEARch:PEAK:EXCursion" on page 802 • ":SEARch:PEAK:NPEaks" on page 803 • ":SEARch:PEAK:THReshold" on page 805 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:PEAK:THReshold? query returns the specified threshold level for FFT peak search. Return Format <level><NL> <level> ::= in NR3 format. See Also • ":FUNCtion<m>[:FFT]:VTYPe" on page 366 • ":SEARch:PEAK:EXCursion" on page 802 • ":SEARch:PEAK:NPEaks" on page 803 • ":SEARch:PEAK:SOURce" on page 804 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<n> ::= 1 to (# analog channels) page 809) in NR1 format :SEARch:RUNT:TIME :SEARch:RUNT:TIME? <time> ::= floating-point number page 810) <time>[suffix] (see (see in NR3 format page 810) [suffix] ::= {s | ms | us | ns | Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:RUNT:POLarity? query returns the currently set runt polarity. Return Format <slope><NL> <polarity> ::= {POS | NEG | EITH} See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:MODE" on page 789 • ":SEARch:RUNT:SOURce" on page 809 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:RUNT:QUALifier? query returns the current runt search qualifier. Return Format <qualifier><NL> <qualifier> ::= {GRE | LESS NONE} See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:MODE" on page 789 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :SEARch:RUNT:SOURce? The :SEARch:RUNT:SOURce? query returns the current runt search source. Return Format <source><NL> <source> ::= CHAN<n> See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:RUNT:POLarity" on page 807 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:RUNT:TIME? query returns the currently specified runt time value. Return Format <time><NL> <time> ::= floating-point number in NR3 format See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:RUNT:QUALifier" on page 808 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<n> ::= 1 to (# analog channels) page 814) in NR1 format :SEARch:TRANsition:TI :SEARch:TRANsition:TI <time> ::= floating-point number page 815) ME <time>[suffix] ME? (see in NR3 format page 815) (see [suffix] ::= {s | ms | us | ns | Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:TRANsition:QUALifier? query returns the current transition search qualifier. Return Format <qualifier><NL> <qualifier> ::= {GRE | LESS} See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:MODE" on page 789 • ":SEARch:TRANsition:TIME" on page 815 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:TRANsition:SOURce? query returns the current transition search source. Return Format <source><NL> <source> ::= CHAN<n> See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:MODE" on page 789 • ":SEARch:TRANsition:SLOPe" on page 813 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:TRANsition:TIME? query returns the current transition time value. Return Format <time><NL> <time> ::= floating-point number in NR3 format See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:TRANsition:QUALifier" on page 812 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:SERial:A429:LABel? query returns the current label value in decimal format. Return Format <value><NL> in decimal format Errors • "-241, Hardware missing" on page 1137 See Also • "Introduction to :TRIGger Commands" on page 901 • ":SEARch:SERial:A429:MODE" on page 818 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<string><NL> Errors • "-241, Hardware missing" on page 1137 See Also • "Introduction to :TRIGger Commands" on page 901 • ":SEARch:SERial:A429:MODE" on page 818 • ":SEARch:SERial:A429:PATTern:SDI" on page 820 • ":SEARch:SERial:A429:PATTern:SSM" on page 821 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
"-241, Hardware missing" on page 1137 See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:A429:FORMat" on page 586 • ":SEARch:SERial:A429:MODE" on page 818 • ":SEARch:SERial:A429:PATTern:DATA" on page 819 • ":SEARch:SERial:A429:PATTern:SSM" on page 821 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
"-241, Hardware missing" on page 1137 See Also • "Introduction to :TRIGger Commands" on page 901 • ":SBUS<n>:A429:FORMat" on page 586 • ":SEARch:SERial:A429:MODE" on page 818 • ":SEARch:SERial:A429:PATTern:DATA" on page 819 • ":SEARch:SERial:A429:PATTern:SDI" on page 820 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
(see :SEARch:SERial:CAN:SY :SEARch:SERial:CAN:SY <name> ::= quoted ASCII string MBolic:SIGNal <name> MBolic:SIGNal? (see page 830) page 830) (see :SEARch:SERial:CAN:SY :SEARch:SERial:CAN:SY <data> ::= value in NR3 format MBolic:VALue <data> MBolic:VALue? (see page 831) page 831) (see Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<string> ::= "0xnn...n" where n ::= {0,..,9 | A,..,F | X} for hexadecimal See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:SERial:CAN:MODE" on page 823 • ":SEARch:SERial:CAN:PATTern:DATA:LENGth" on page 826 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <length><NL> <length> ::= integer from 1 to 8 in NR1 format See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:SERial:CAN:MODE" on page 823 • ":SEARch:SERial:CAN:PATTern:DATA" on page 825 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<string> ::= "0xnn...n" where n ::= {0,..,9 | A,..,F | X} for hexadecimal See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:SERial:CAN:MODE" on page 823 • ":SEARch:SERial:CAN:PATTern:ID:MODE" on page 828 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:SERial:CAN:PATTern:ID:MODE? query returns the current setting. Return Format <value><NL> <value> ::= {STAN | EXT} See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:SERial:CAN:MODE" on page 823 • ":SEARch:SERial:CAN:PATTern:ID" on page 827 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:SERial:CAN:SYMBolic:MESSage? query returns the specified message. Return Format <name><NL> <name> ::= quotes ASCII string See Also • ":RECall:DBC[:STARt]" on page 536 • ":SEARch:SERial:CAN:MODE" on page 823 • ":SEARch:SERial:CAN:SYMBolic:SIGNal" on page 830 • ":SEARch:SERial:CAN:SYMBolic:VALue" on page 831 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:SERial:CAN:SYMBolic:SIGNal? query returns the specified signal. Return Format <name><NL> <name> ::= quoted ASCII string See Also • ":RECall:DBC[:STARt]" on page 536 • ":SEARch:SERial:CAN:MODE" on page 823 • ":SEARch:SERial:CAN:SYMBolic:MESSage" on page 829 • ":SEARch:SERial:CAN:SYMBolic:VALue" on page 831 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:SERial:CAN:SYMBolic:VALue? query returns the specified signal value. Return Format <data><NL> <data> ::= value in NR3 format See Also • ":RECall:DBC[:STARt]" on page 536 • ":SEARch:SERial:CAN:MODE" on page 823 • ":SEARch:SERial:CAN:SYMBolic:MESSage" on page 829 • ":SEARch:SERial:CAN:SYMBolic:SIGNal" on page 830 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :SEARch:SERial:IIC:PATTern:ADDRess? The :SEARch:SERial:IIC:PATTern:ADDRess? query returns the current address value setting. Return Format <value><NL> <value> ::= integer See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:SERial:IIC:MODE" on page 833 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:SERial:IIC:PATTern:DATA? query returns the current data value setting. Return Format <value><NL> <value> ::= integer See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:SERial:IIC:MODE" on page 833 • ":SEARch:SERial:IIC:QUALifier" on page 838 • ":SEARch:SERial:IIC:PATTern:DATA2" on page 837 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:SERial:IIC:PATTern:DATA2? query returns the current second data value setting. Return Format <value><NL> <value> ::= integer See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:SERial:IIC:MODE" on page 833 • ":SEARch:SERial:IIC:PATTern:DATA" on page 836 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <value><NL> <value> ::= {EQU | NOT | LESS | GRE} See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:SERial:IIC:MODE" on page 833 • ":SEARch:SERial:IIC:PATTern:DATA" on page 836 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
(see :SEARch:SERial:LIN:SY :SEARch:SERial:LIN:SY <name> ::= quoted ASCII string MBolic:SIGNal <name> MBolic:SIGNal? (see page 846) page 846) (see :SEARch:SERial:LIN:SY :SEARch:SERial:LIN:SY <data> ::= value in NR3 format MBolic:VALue <data> MBolic:VALue? (see page 847) page 847) (see Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:SERial:LIN:ID? query returns the current frame ID setting. Return Format <value><NL> <value> ::= 7-bit integer in decimal See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:SERial:LIN:MODE" on page 841 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<string> ::= "0xnn...n" where n ::= {0,..,9 | A,..,F | X } See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:SERial:LIN:MODE" on page 841 • ":SEARch:SERial:LIN:PATTern:FORMat" on page 844 • ":SEARch:SERial:LIN:PATTern:DATA:LENGth" on page 843 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:SERial:LIN:PATTern:DATA:LENGth? query returns the current data value length setting. Return Format <length><NL> <length> ::= integer from 1 to 8 in NR1 format See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:SERial:LIN:PATTern:DATA" on page 842 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:SEARch:SERial:LIN:PATTern:FORMat? The :SEARch:SERial:LIN:PATTern:FORMat? query returns the current number base setting. Return Format <base><NL> <base> ::= {HEX | DEC} See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:SERial:LIN:PATTern:DATA" on page 842 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:SERial:LIN:SYMBolic:FRAMe? query returns the specified message. Return Format <name><NL> <name> ::= quotes ASCII string See Also • ":RECall:LDF[:STARt]" on page 538 • ":SEARch:SERial:LIN:MODE" on page 841 • ":SEARch:SERial:LIN:SYMBolic:SIGNal" on page 846 • ":SEARch:SERial:LIN:SYMBolic:VALue" on page 847 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:SERial:LIN:SYMBolic:SIGNal? query returns the specified signal. Return Format <name><NL> <name> ::= quoted ASCII string See Also • ":RECall:LDF[:STARt]" on page 538 • ":SEARch:SERial:LIN:MODE" on page 841 • ":SEARch:SERial:LIN:SYMBolic:FRAMe" on page 845 • ":SEARch:SERial:LIN:SYMBolic:VALue" on page 847 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:SERial:LIN:SYMBolic:VALue? query returns the specified signal value. Return Format <data><NL> <data> ::= value in NR3 format See Also • ":RECall:LDF[:STARt]" on page 538 • ":SEARch:SERial:LIN:MODE" on page 841 • ":SEARch:SERial:LIN:SYMBolic:FRAMe" on page 845 • ":SEARch:SERial:LIN:SYMBolic:SIGNal" on page 846 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<hexadecimal>, page 851) <binary>, or <string> from 0-31 < hexadecimal > ::= #Hnn where n ::= {0,..,9|A,..,F} <binary> ::= #Bnn...n where n ::= {0 | 1} for binary <string> ::= "0xnn" where n::= {0,..,9|A,..,F} Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:SERial:M1553:PATTern:DATA? query returns the current value setting for the additional 11 bits. Return Format <string><NL> <string> ::= "nn...n" where n ::= {0 | 1} See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:SERial:M1553:MODE" on page 849 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:SEARch:SERial:M1553:RTA? The :SEARch:SERial:M1553:RTA? query returns the current Remote Terminal Address value setting. Return Format <value><NL> <value> ::= 5-bit integer in decimal from 0-31 See Also • Chapter 26, “:SEARch Commands,” starting on page 785 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
LOW:DATA <data> (see LOW:DATA? (see to 65535, in NR1 format. page 855) page 855) :SEARch:SERial:SENT:S :SEARch:SERial:SENT:S <id> ::= from -1 (don't care) to page 856) LOW:ID <id> (see LOW:ID? (see 255, in NR1 format. page 856) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <string><NL> <string> ::= "0xn..." where n ::= {0,..,9 | A,..,F | X | $} See Also • ":SEARch:SERial:SENT:MODE" on page 854 • ":SEARch:SERial:SENT:SLOW:DATA" on page 855 • ":SEARch:SERial:SENT:SLOW:ID" on page 856 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <data><NL> <data> ::= from -1 (don't care) to 65535, in NR1 format. See Also • ":SEARch:SERial:SENT:FAST:DATA" on page 853 • ":SEARch:SERial:SENT:MODE" on page 854 • ":SEARch:SERial:SENT:SLOW:ID" on page 856 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:SERial:SENT:SLOW:ID? query returns the slow channel ID search value setting. Return Format <id><NL> <id> ::= from -1 (don't care) to 255, in NR1 format. See Also • ":SEARch:SERial:SENT:FAST:DATA" on page 853 • ":SEARch:SERial:SENT:MODE" on page 854 • ":SEARch:SERial:SENT:SLOW:DATA" on page 855 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <value><NL> <value> ::= 8-bit integer from 0-255 (0x00-0xff) in decimal format See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:SERial:UART:MODE" on page 859 • ":SEARch:SERial:UART:QUALifier" on page 860 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SEARch:SERial:UART:QUALifier? query returns the current data value qualifier setting. Return Format <value><NL> <value> ::= {EQU | NOT | GRE | LESS} See Also • Chapter 26, “:SEARch Commands,” starting on page 785 • ":SEARch:SERial:UART:DATA" on page 858 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 861
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 27 :SYSTem Commands Control basic system functions of the oscilloscope. See "Introduction to :SYSTem Commands" on page 863. Table 122 :SYSTem Commands Summary Command Query Options and Query Returns :SYSTem:DATE? (see <date> ::= <year>,<month>,<day>...
Page 862
<setup_data> (see 488.2 # format. page 883) :SYSTem:TIME? (see <time> ::= hours,minutes,seconds page 885) in NR1 format :SYSTem:TOUCh {{1 | :SYSTem:TOUCh? (see {1 | 0} page 886) ON} | {0 | OFF}} (see page 886) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 863
:SYSTem Commands Introduction to SYSTem subsystem commands enable writing messages to the display, setting :SYSTem and reading both the time and the date, querying for errors, and saving and Commands recalling setups. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The SYSTem:DATE? query returns the date. Return Format <year>,<month>,<day><NL> <year> ::= 4-digit year in NR1 format <month> ::= {1,..,12} <day> ::= {1,..,31} See Also • "Introduction to :SYSTem Commands" on page 863 • ":SYSTem:TIME" on page 885 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Use the *IDN? query instead to get the model number and/or serial number in a defined portable format. Return Format <host_id><NL> <host_id> ::= quoted ASCII string See Also • "*IDN (Identification Number)" on page 166 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
NULL string.) Press any menu key to manually remove the message from the display. See Also • "Introduction to :SYSTem Commands" on page 863 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Chapter 34, “Error Messages,” starting on page 1135. See Also • "Introduction to :SYSTem Commands" on page 863 • "*ESR (Standard Event Status Register)" on page 164 • "*CLS (Clear Status)" on page 161 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SYSTem:GUI:SHOW command shows or hides the Soft Front Panel (SFP) user interface. This remote command performs the same operation as the Show Front Panel and Hide Front Panel buttons in the Keysight InfiniiVision SFP Launcher application on the controller PC. Query Syntax :SYSTem:GUI:SHOW? The :SYSTem:GUI:SHOW? query returns whether the SFP is shown or hidden.
Query Syntax :SYSTem:LOCK? The :SYSTem:LOCK? query returns the lock status of the front panel. Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :SYSTem Commands" on page 863 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
*IDN? query. The default manufacturer string is "KEYSIGHT TECHNOLOGIES". If your remote programs depend on a legacy manufacturer string, for example, you could use this command to set the manufacturer string to "AGILENT TECHNOLOGIES".
Command Syntax :SYSTem:PERSona[:MANufacturer]:DEFault The :SYSTem:PERSona[:MANufacturer]:DEFault command sets the manufacturer string to "KEYSIGHT TECHNOLOGIES". See Also • "*IDN (Identification Number)" on page 166 • ":SYSTem:PERSona[:MANufacturer]" on page 870 • "Introduction to :SYSTem Commands" on page 863 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Analog Channel Menu Channel 1 Channel 2 Volts/division 5.00 V Offset 0.00 Coupling Probe attenuation 10:1 Vernier Invert BW limit Impedance 1 M Ohm (cannot be changed) Units Volts Skew Cursor Menu Source Channel 1 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 873
Mode Auto Coupling Source Channel 1 Level 0.0 V Slope Positive HF Reject and noise reject Holdoff 40 ns External probe attenuation 10:1 External Units Volts External Impedance 1 M Ohm (cannot be changed) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 874
:SYSTem Commands See Also • "Introduction to Common (*) Commands" on page 159 • "*RST (Reset)" on page 172 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :SYSTem:PROTection:LOCK? The :SYSTem:PROTection:LOCK? query returns the analog channel protection lock status. Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :SYSTem Commands" on page 863 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • ":SYSTem:RLOGger:DESTination" on page 877 • ":SYSTem:RLOGger:DISPlay" on page 878 • ":SYSTem:RLOGger:FNAMe" on page 879 • ":SYSTem:RLOGger:STATe" on page 880 • ":SYSTem:RLOGger:TRANsparent" on page 881 • ":SYSTem:RLOGger:WMODe" on page 882 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <file_name><NL> See Also • ":SYSTem:RLOGger" on page 876 • ":SYSTem:RLOGger:DESTination" on page 877 • ":SYSTem:RLOGger:DISPlay" on page 878 • ":SYSTem:RLOGger:STATe" on page 880 • ":SYSTem:RLOGger:TRANsparent" on page 881 • ":SYSTem:RLOGger:WMODe" on page 882 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
' write it back to the oscilloscope. Dim varSetupString As Variant strPath = "c:\scope\config\setup.dat" ' Open file for input. Open strPath For Binary Access Read As #1 Get #1, , varSetupString ' Read data. Close #1 ' Close file. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 884
:SYSTem Commands ' Write setup string back to oscilloscope using ":SYSTEM:SETUP" ' command: myScope.WriteIEEEBlock ":SYSTEM:SETUP ", varSetupString CheckForInstrumentErrors See complete example programs at: Chapter 38, “Programming Examples,” starting on page 1205 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:SYSTem:TIME? <time> The :SYSTem:TIME? query returns the current system time. Return Format <time><NL> <time> ::= hours,minutes,seconds in NR1 format See Also • "Introduction to :SYSTem Commands" on page 863 • ":SYSTem:DATE" on page 864 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :SYSTem:TOUCh command disables or enables the touchscreen. Query Syntax :SYSTem:TOUCh? The :SYSTem:TOUCh? query returns the touchscreen's on/off status. Return Format <on_off><NL> <on_off> ::= {1 | 0} See Also • "Introduction to :SYSTem Commands" on page 863 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 887
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 28 :TIMebase Commands Control all horizontal sweep functions. See "Introduction to :TIMebase Commands" on page 888. Table 123 :TIMebase Commands Summary Command Query Options and Query Returns :TIMebase:MODE :TIMebase:MODE? (see <value> ::= {MAIN | WINDow | XY |...
Page 888
Use :TIMebase? to query setup information for the TIMebase subsystem. Return Format The following is a sample response from the :TIMebase? query. In this case, the query was issued following a *RST command. :TIM:MODE MAIN;REF CENT;MAIN:RANG +1.00E-03;POS +0.0E+00 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
' Set the time base mode to MAIN, DELAYED, XY, or ROLL. ' Set time base mode to main. myScope.WriteString ":TIMEBASE:MODE MAIN" See complete example programs at: Chapter 38, “Programming Examples,” starting on page 1205 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
See Also • "Introduction to :TIMebase Commands" on page 888 • ":TIMebase:REFerence" on page 893 • ":TIMebase:RANGe" on page 891 • ":TIMebase:SCALe" on page 895 • ":TIMebase:WINDow:POSition" on page 897 • ":TIMebase:DELay" on page 1133 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
' range value is 10 times the time per division. myScope.WriteString ":TIM:RANG 2e-3" ' Set the time range to 0.002 seconds. See complete example programs at: Chapter 38, “Programming Examples,” starting on page 1205 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
REF I/O MMCX is disabled (off) or that it is set as an output (by the :ACQuire:RSIGnal command). Return Format <value><NL> <value> ::= {0 | 1} See Also • ":ACQuire:RSIGnal" on page 234 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
888 • ":TIMebase:REFerence:LOCation" on page 894 • ":TIMebase:MODE" on page 889 Example Code myScope.WriteString ":TIMebase:REFerence CENTer" ' Set reference to center. See complete example programs at: Chapter 38, “Programming Examples,” starting on page 1205 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :TIMebase:REFerence:LOCation? The :TIMebase:REFerence:LOCation? query returns the time base reference custom location setting. Return Format <loc><NL> <loc> ::= 0.0 to 1.0 in NR3 format See Also • ":TIMebase:REFerence" on page 893 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<scale_value><NL> <scale_value> ::= time/div in seconds in NR3 format See Also • "Introduction to :TIMebase Commands" on page 888 • ":TIMebase:RANGe" on page 891 • ":TIMebase:WINDow:SCALe" on page 899 • ":TIMebase:WINDow:RANGe" on page 898 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TIMebase:VERNier? query returns the current state of the time base control's vernier setting. Return Format <vernier value><NL> <vernier value> ::= {0 | 1} See Also • "Introduction to :TIMebase Commands" on page 888 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <value><NL> <value> ::= range value in seconds See Also • "Introduction to :TIMebase Commands" on page 888 • ":TIMebase:RANGe" on page 891 • ":TIMebase:POSition" on page 890 • ":TIMebase:SCALe" on page 895 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<scale_value> ::= current seconds per division for the zoomed window See Also • "Introduction to :TIMebase Commands" on page 888 • ":TIMebase:RANGe" on page 891 • ":TIMebase:POSition" on page 890 • ":TIMebase:SCALe" on page 895 • ":TIMebase:WINDow:RANGe" on page 898 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 901
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 29 :TRIGger Commands Control the trigger modes and parameters for each trigger type. See: • "Introduction to :TRIGger Commands" on page 901 • "General :TRIGger Commands" on page 903 • ":TRIGger:DELay Commands" on page 917 •...
Page 902
The following is a sample response from the :TRIGger? query. In this case, the query was issued following a *RST command. :TRIG:MODE EDGE;SWE AUTO;NREJ 0;HFR 0;HOLD +60.0000000000000E-09; :TRIG:EDGE:SOUR CHAN1;LEV +0.00000E+00;SLOP POS;REJ OFF;COUP DC; :TRIG:ZONE:STAT 0 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:FORCe command causes an acquisition to be captured even though the trigger condition has not been met. This command is equivalent to the front panel [Force Trigger] key. See Also • "Introduction to :TRIGger Commands" on page 901 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:HFReject? query returns the current high frequency reject filter mode. Return Format <value><NL> <value> ::= {0 | 1} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger[:EDGE]:REJect" on page 932 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:HOLDoff? query returns the holdoff time value for the current trigger mode. Return Format <holdoff_time><NL> <holdoff_time> ::= the holdoff time value in seconds in NR3 format. See Also • "Introduction to :TRIGger Commands" on page 901 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :TRIGger:HOLDoff:MAXimum? The :TRIGger:HOLDoff:MAXimum? query returns the maximum random trigger holdoff time setting. Return Format <max_holdoff><NL> See Also • ":TRIGger:HOLDoff:MINimum" on page 909 • ":TRIGger:HOLDoff:RANDom" on page 910 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :TRIGger:HOLDoff:MINimum? The :TRIGger:HOLDoff:MINimum? query returns the minimum random trigger holdoff time setting. Return Format <min_holdoff><NL> See Also • ":TRIGger:HOLDoff:MAXimum" on page 908 • ":TRIGger:HOLDoff:RANDom" on page 910 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
If AC coupling is used, the trigger levels are set to 0 V. When High and Low (dual) trigger levels are used (as with Rise/Fall Time and Runt triggers, for example), this command has no effect. See Also • ":TRIGger[:EDGE]:LEVel" on page 931 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <level><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:LEVel:LOW" on page 913 • ":TRIGger:RUNT Commands" on page 964 • ":TRIGger:TRANsition Commands" on page 975 • ":TRIGger[:EDGE]:SOURce" on page 934 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <level><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:LEVel:HIGH" on page 912 • ":TRIGger:RUNT Commands" on page 964 • ":TRIGger:TRANsition Commands" on page 975 • ":TRIGger[:EDGE]:SOURce" on page 934 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
916 • ":TIMebase:MODE" on page 889 Example Code ' TRIGGER_MODE - Set the trigger mode to EDGE. myScope.WriteString ":TRIGger:MODE EDGE" See complete example programs at: Chapter 38, “Programming Examples,” starting on page 1205 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
TV trigger mode. Query Syntax :TRIGger:NREJect? The :TRIGger:NREJect? query returns the current noise reject filter mode. Return Format <value><NL> <value> ::= {0 | 1} See Also • "Introduction to :TRIGger Commands" on page 901 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
This feature is called "Mode" on the instrument's front panel. N OTE Query Syntax :TRIGger:SWEep? The :TRIGger:SWEep? query returns the current trigger sweep mode. Return Format <sweep><NL> <sweep> ::= current trigger sweep mode See Also • "Introduction to :TRIGger Commands" on page 901 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Edge Then Edge trigger. If an analog channel is selected as a source, the :TRIGger:EDGE:LEVel command is used to set the trigger level. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:DELay:ARM:SLOPe? query returns the current arming edge slope setting. Return Format <slope><NL> <slope> ::= {NEG | POS} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:DELay:ARM:SOURce" on page 919 • ":TRIGger:DELay:TDELay:TIME" on page 920 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:DELay:ARM:SOURce? query returns the current arming edge source. Return Format <source><NL> <source> ::= CHAN<n> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:DELay:ARM:SLOPe" on page 918 • ":TRIGger:DELay:TDELay:TIME" on page 920 • ":TRIGger:MODE" on page 914 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:DELay:TDELay:TIME? query returns current delay time setting. Return Format <time value><NL> <time_value> ::= time in seconds in NR3 format See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:DELay:TRIGger:SLOPe" on page 922 • ":TRIGger:DELay:TRIGger:COUNt" on page 921 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <count><NL> <count> ::= integer in NR1 format See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:DELay:TRIGger:SLOPe" on page 922 • ":TRIGger:DELay:TRIGger:SOURce" on page 923 • ":TRIGger:DELay:TDELay:TIME" on page 920 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <slope><NL> <slope> ::= {NEG | POS} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:DELay:TRIGger:SOURce" on page 923 • ":TRIGger:DELay:TDELay:TIME" on page 920 • ":TRIGger:DELay:TRIGger:COUNt" on page 921 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<source><NL> <source> ::= CHAN<n> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:DELay:TRIGger:SLOPe" on page 922 • ":TRIGger:DELay:TDELay:TIME" on page 920 • ":TRIGger:DELay:TRIGger:COUNt" on page 921 • ":TRIGger:MODE" on page 914 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:EBURst:SOURce command is used to specify the source channel for the Nth Edge Burst trigger. If an analog channel is selected as the source, the :TRIGger:EDGE:LEVel command is used to set the Nth Edge Burst trigger level. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:EBURst:COUNt? query returns the current Nth edge of burst edge counter setting. Return Format <count><NL> <count> ::= integer in NR1 format See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:EBURst:SLOPe" on page 927 • ":TRIGger:EBURst:IDLE" on page 926 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:EBURst:IDLE? query returns current Nth edge in a burst idle setting. Return Format <time value><NL> <time_value> ::= time in seconds in NR3 format See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:EBURst:SLOPe" on page 927 • ":TRIGger:EBURst:COUNt" on page 925 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:EBURst:SLOPe? query returns the current Nth edge in a burst slope. Return Format <slope><NL> <slope> ::= {NEG | POS} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:EBURst:IDLE" on page 926 • ":TRIGger:EBURst:COUNt" on page 925 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:EBURst:SOURce? query returns the current Nth edge burst trigger source. If all channels are off, the query returns "NONE." Return Format <source><NL> <source> ::= CHAN<n> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<source> ::= {CHANnel<n> | page 934) e <source> (see e? (see EXTernal | WGEN | WGEN1 | WMOD} page 934) <n> ::= 1 to (# analog channels) in NR1 format Note: WGEN and WGEN1 are equivalent. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger[:EDGE]:COUPling? query returns the current coupling selection. Return Format <coupling><NL> <coupling> ::= {AC | DC | LFR} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":TRIGger[:EDGE]:REJect" on page 932 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger[:EDGE]:LEVel? query returns the trigger level of the current trigger source. Return Format <level><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger[:EDGE]:SOURce" on page 934 • ":EXTernal:RANGe" on page 326 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger[:EDGE]:REJect? query returns the current status of the reject filter. Return Format <reject><NL> <reject> ::= {OFF | LFR | HFR} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:HFReject" on page 906 • ":TRIGger[:EDGE]:COUPling" on page 930 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
' TRIGGER_EDGE_SLOPE - Sets the slope of the edge for the trigger. ' Set the slope to positive. myScope.WriteString ":TRIGGER:EDGE:SLOPE POSITIVE" See complete example programs at: Chapter 38, “Programming Examples,” starting on page 1205 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
' TRIGGER_EDGE_SOURCE - Selects the channel that actually produces th ' edge trigger. Any channel can be selected. myScope.WriteString ":TRIGger:EDGE:SOURce CHANnel1" See complete example programs at: Chapter 38, “Programming Examples,” starting on page 1205 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
[suffix] ::= {s | ms | us | ns | :TRIGger:GLITch:SOURc :TRIGger:GLITch:SOURc <source> ::= CHANnel<n> page 942) e <source> (see e? (see <n> ::= 1 to (# analog channels) page 942) in NR1 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <greater_than_time><NL> <greater_than_time> ::= floating-point number in NR3 format. See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:GLITch:SOURce" on page 942 • ":TRIGger:GLITch:QUALifier" on page 940 • ":TRIGger:MODE" on page 914 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <less_than_time><NL> <less_than_time> ::= floating-point number in NR3 format. See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:GLITch:SOURce" on page 942 • ":TRIGger:GLITch:QUALifier" on page 940 • ":TRIGger:MODE" on page 914 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
If all channels are off, the query returns "NONE." Return Format <level><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":TRIGger:GLITch:SOURce" on page 942 • ":EXTernal:RANGe" on page 326 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:GLITch:POLarity? query returns the glitch pulse width trigger polarity. Return Format <polarity><NL> <polarity> ::= {POS | NEG} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":TRIGger:GLITch:SOURce" on page 942 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:GLITch:QUALifier? query returns the glitch pulse width qualifier. Return Format <operator><NL> <operator> ::= {GRE | LESS | RANG} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:GLITch:SOURce" on page 942 • ":TRIGger:MODE" on page 914 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:GLITch:RANGe? query returns the pulse width duration time for :TRIGger:GLITch:SOURce. Return Format <less_than_time>,<greater_than_time><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:GLITch:SOURce" on page 942 • ":TRIGger:GLITch:QUALifier" on page 940 • ":TRIGger:MODE" on page 914 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
R = rising edge, F = falling edge, E = either edge, X = don't care. Each character in the string is for an analog channel as shown on the soft front panel display. Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Bits 0 and 1 - analog channels 2 and 1. Query Syntax :TRIGger:OR? The :TRIGger:OR? query returns the current OR'ed edge trigger string. Return Format <string><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
(see 10 seconds in NR3 format <less_than_time>[suff <greater_than_time> ::= 10 ns to ix], 9.99 seconds in NR3 format <greater_than_time>[s page 963) [suffix] ::= {s | ms | us | ns | uffix] (see Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
ASCII <string> parameter. If the edge source and edge parameters are used, they take precedence. You can only specify an edge on one channel. When an edge is specified, the :TRIGger:PATTern:QUALifier does not apply. Query Syntax :TRIGger:PATTern? Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 958
The :TRIGger:PATTern? query returns the pattern string, edge source, and edge. Return Format <string>,<edge_source>,<edge><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:PATTern:FORMat" on page 959 • ":TRIGger:PATTern:QUALifier" on page 962 • ":TRIGger:MODE" on page 914 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:PATTern:FORMat? query returns the currently set number base for pattern trigger patterns. Return Format <base><NL> <base> ::= {ASC | HEX} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:PATTern" on page 957 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:PATTern:GREaterthan? query returns the minimum duration time for the defined pattern. Return Format <greater_than_time><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:PATTern" on page 957 • ":TRIGger:PATTern:QUALifier" on page 962 • ":TRIGger:MODE" on page 914 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:PATTern:LESSthan? query returns the duration time for the defined pattern. Return Format <less_than_time><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:PATTern" on page 957 • ":TRIGger:PATTern:QUALifier" on page 962 • ":TRIGger:MODE" on page 914 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:PATTern:QUALifier? query returns the trigger duration qualifier. Return Format <qualifier><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:PATTern:GREaterthan" on page 960 • ":TRIGger:PATTern:LESSthan" on page 961 • ":TRIGger:PATTern:RANGe" on page 963 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:PATTern:RANGe? query returns the duration time for the defined pattern. Return Format <less_than_time>,<greater_than_time><NL> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:PATTern" on page 957 • ":TRIGger:PATTern:QUALifier" on page 962 • ":TRIGger:MODE" on page 914 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<n> ::= 1 to (# analog channels) page 967) in NR1 format :TRIGger:RUNT:TIME :TRIGger:RUNT:TIME? <time> ::= floating-point number page 968) <time>[suffix] (see (see in NR3 format page 968) [suffix] ::= {s | ms | us | ns | Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:RUNT:QUALifier? query returns the runt trigger qualifier setting. Return Format <qualifier><NL> <qualifier> ::= {GRE | LESS NONE} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":TRIGger:RUNT:TIME" on page 968 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :TRIGger:RUNT:SOURce? The :TRIGger:RUNT:SOURce? query returns the current runt trigger source. Return Format <source><NL> <source> ::= CHAN<n> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:RUNT:POLarity" on page 965 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:RUNT:TIME? query returns the current runt pulse qualifier time setting. Return Format <time><NL> <time> ::= floating-point number in NR3 format See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:RUNT:QUALifier" on page 966 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
[suffix] ::= {s | ms | us | ns | :TRIGger:SHOLd:TIME:S :TRIGger:SHOLd:TIME:S <time> ::= floating-point number page 974) ETup <time>[suffix] ETup? (see in NR3 format page 974) (see [suffix] ::= {s | ms | us | ns | Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <slope><NL> <slope> ::= {NEG | POS} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":TRIGger:SHOLd:SOURce:CLOCk" on page 971 • ":TRIGger:SHOLd:SOURce:DATA" on page 972 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:SHOLd:SOURce:CLOCk? query returns the currently set clock signal source. Return Format <source><NL> <source> ::= CHAN<n> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":TRIGger:SHOLd:SLOPe" on page 970 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:SHOLd:SOURce:DATA? query returns the currently set data signal source. Return Format <source><NL> <source> ::= CHAN<n> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":TRIGger:SHOLd:SLOPe" on page 970 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:SHOLd:TIME:HOLD command sets the hold time. Query Syntax :TRIGger:SHOLd:TIME:HOLD? The :TRIGger:SHOLd:TIME:HOLD? query returns the currently specified hold time. Return Format <time><NL> <time> ::= floating-point number in NR3 format See Also • "Introduction to :TRIGger Commands" on page 901 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:SHOLd:TIME:SETup command sets the setup time. Query Syntax :TRIGger:SHOLd:TIME:SETup? The :TRIGger:SHOLd:TIME:SETup? query returns the currently specified setup time. Return Format <time><NL> <time> ::= floating-point number in NR3 format See Also • "Introduction to :TRIGger Commands" on page 901 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
<n> ::= 1 to (# analog channels) page 978) in NR1 format :TRIGger:TRANsition:T :TRIGger:TRANsition:T <time> ::= floating-point number page 979) IME <time>[suffix] IME? (see in NR3 format page 979) (see [suffix] ::= {s | ms | us | ns | Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:TRANsition:QUALifier? query returns the current rise/fall time trigger qualifier setting. Return Format <qualifier><NL> <qualifier> ::= {GRE | LESS} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:TRANsition:TIME" on page 979 • ":TRIGger:MODE" on page 914 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:TRANsition:SLOPe? query returns the current rise/fall time trigger slope setting. Return Format <slope><NL> <slope> ::= {NEG | POS} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":TRIGger:TRANsition:SOURce" on page 978 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:TRANsition:SOURce? query returns the current transition trigger source. Return Format <source><NL> <source> ::= CHAN<n> See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":TRIGger:TRANsition:SLOPe" on page 977 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:TRANsition:TIME? query returns the current rise/fall time trigger time value. Return Format <time><NL> <time> ::= floating-point number in NR3 format See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:TRANsition:QUALifier" on page 976 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
:TRIGger:TV:UDTV:HTIM :TRIGger:TV:UDTV:HTIM <time> ::= seconds in NR3 format page 988) e <time> (see e? (see page 988) :TRIGger:TV:UDTV:PGTH :TRIGger:TV:UDTV:PGTH <min_time> ::= seconds in NR3 page 989) an <min_time> (see an? (see format page 989) Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:TV:LINE? query returns the current TV trigger line number setting. Return Format <line_number><NL> <line_number>::= integer in NR1 format See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:TV:STANdard" on page 985 • ":TRIGger:TV:MODE" on page 982 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:TV:POLarity? query returns the TV trigger polarity. Return Format <polarity><NL> <polarity> ::= {POS | NEG} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":TRIGger:TV:SOURce" on page 984 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Return Format <source><NL> <source> ::= {CHAN<n>} See Also • "Introduction to :TRIGger Commands" on page 901 • ":TRIGger:MODE" on page 914 • ":TRIGger:TV:POLarity" on page 983 Example Code • "Example Code" on page 934 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:TV:UDTV:ENUMber query returns the edge count setting. Return Format <count><NL> <count> ::= edge number in NR1 format See Also • ":TRIGger:TV:STANdard" on page 985 • ":TRIGger:TV:UDTV:PGTHan" on page 989 • ":TRIGger:TV:UDTV:HSYNc" on page 987 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:TV:UDTV:HSYNc query returns the horizontal sync control setting. Return Format {0 | 1} See Also • ":TRIGger:TV:STANdard" on page 985 • ":TRIGger:TV:UDTV:HTIMe" on page 988 • ":TRIGger:TV:UDTV:ENUMber" on page 986 • ":TRIGger:TV:UDTV:PGTHan" on page 989 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :TRIGger:TV:UDTV:HTIMe? The :TRIGger:TV:UDTV:HTIMe query returns the horizontal sync time setting. Return Format <time><NL> <time> ::= seconds in NR3 format See Also • ":TRIGger:TV:STANdard" on page 985 • ":TRIGger:TV:UDTV:HSYNc" on page 987 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:TV:UDTV:PGTHan query returns the "greater than the sync pulse width" time setting. Return Format <min_time><NL> <min_time> ::= seconds in NR3 format See Also • ":TRIGger:TV:STANdard" on page 985 • ":TRIGger:TV:UDTV:ENUMber" on page 986 • ":TRIGger:TV:UDTV:HSYNc" on page 987 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
(see OSCReen} <n> ::= 1-2 in NR1 format :TRIGger:ZONE<n>:STAT :TRIGger:ZONE<n>:STAT {0 | 1} page 996) e {{0 | OFF} | {1 | e? (see <n> ::= 1-2 in NR1 format page 996) ON}} (see Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:ZONE:SOURce command sets the analog source channel shared by all zones. Query Syntax :TRIGger:ZONE:SOURce? The :TRIGger:ZONE:SOURce? query returns the analog source channel specified for zone qualified triggers. Return Format <source><NL> <source> ::= {CHAN<n>} See Also • ":TRIGger:ZONE:STATe" on page 992 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:ZONE:STATe? query returns whether the zone qualified trigger feature is enabled or disabled. Return Format <on_off><NL> <on_off> ::= {0 | 1} See Also • ":TRIGger:ZONE<n>:STATe" on page 996 • ":TRIGger:ZONE:SOURce" on page 991 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:ZONE<n>:MODE? query returns the zone qualifying condition for Zone 1 or Zone 2. Return Format <mode><NL> <mode> ::= {INT | NOT} See Also • ":TRIGger:ZONE<n>:STATe" on page 996 • ":TRIGger:ZONE<n>:PLACement" on page 994 • ":TRIGger:ZONE<n>:VALidity" on page 995 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
The :TRIGger:ZONE<n>:PLACement? query returns the size and location of Zone 1 or Zone 2. Return Format <opt><NL> <opt> ::= <width>, <height>, <x_center>, <y_center> See Also • ":TRIGger:ZONE<n>:STATe" on page 996 • ":TRIGger:ZONE<n>:MODE" on page 993 • ":TRIGger:ZONE<n>:VALidity" on page 995 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
You cannot directly set the validity of a zone. Return Format <validity><NL> <validity> ::= {VALid | INValid | OSCReen} See Also • ":TRIGger:ZONE<n>:STATe" on page 996 • ":TRIGger:ZONE<n>:MODE" on page 993 • ":TRIGger:ZONE<n>:PLACement" on page 994 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Query Syntax :TRIGger:ZONE<n>:STATe? The :TRIGger:ZONE<n>:STATe? query returns the state of Zone 1 or Zone 2. Return Format <on_off><NL> <on_off> ::= {0 | 1} See Also • ":TRIGger:ZONE:STATe" on page 992 • ":TRIGger:ZONE<n>:VALidity" on page 995 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 997
Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide 30 :WAVeform Commands Provide access to waveform data. See "Introduction to :WAVeform Commands" on page 1000. Table 138 :WAVeform Commands Summary Command Query Options and Query Returns :WAVeform:BYTeorder :WAVeform:BYTeorder? <value> ::= {LSBFirst | MSBFirst}...
Page 998
LL {{0 | OFF} | {1 | LL? (see page 1017) ON}} (see :WAVeform:SEGMented:C <count> ::= an integer from 2 to page 1018) OUNt? (see 1000 in NR1 format :WAVeform:SEGMented:T <time_tag> ::= in NR3 format page 1019) TAG? (see Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 999
NR3 format :WAVeform:XREFerence? <return_value> ::= 0 page 1031) (see (x-reference value in the current preamble in NR1 format) :WAVeform:YINCrement? <return_value> ::= y-increment page 1032) (see value in the current preamble in NR3 format Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Page 1000
A waveform record consists of either all of the acquired points or a subset of the acquired points. The number of points acquired may be queried using :ACQuire:POINts[:ANALog]? (see page 232). Helpful Hints: 1000 Keysight P9241/42/43A Oscilloscopes SCPI Programmer's Guide...
Need help?
Do you have a question about the P9241 and is the answer not in the manual?
Questions and answers