Oscilloscope · SCPI command reference

Rigol DS1054Z and DS1202Z-E SCPI commands

The Rigol DS1054Z and DS1202Z-E oscilloscope is controlled remotely with SCPI commands. TestFlow's instrument library holds 149 commands for it, 50 of them queries that read values or state, grouped below by subsystem with their arguments. It is the same library TestFlow's AI agent uses to drive the DS1054Z on a real bench.

Commands
149
Queries
50
Subsystems
21
Models covered
2

Control the Rigol DS1054Z from Python

With PyVISA, any VISA backend, and the instrument on USB, LAN or GPIB, this opens a session, identifies the instrument, sends one setting, and reads one value. Every command in it comes from the reference below. For a full walkthrough, see the PyVISA tutorial and the SCPI command cheat sheet.

import pyvisa

rm = pyvisa.ResourceManager()
print(rm.list_resources())  # find the Rigol DS1054Z's VISA address

# Paste the address of your Rigol DS1054Z (USB, LAN or GPIB).
inst = rm.open_resource("PASTE_VISA_ADDRESS_HERE")
inst.timeout = 5000  # ms

print(inst.query("*IDN?"))  # identify the instrument
inst.write(":AUToscale")  # Auto Scale
print(inst.query(":MEASure:ITEM? VPP,CHANnel1"))  # Measure Vpp

inst.close()

Run a DS1054Z test without writing code

Describe the test in a sentence, for example “auto scale on the DS1054Z, then measure vpp and log it against a limit”. TestFlow's agent builds the steps from this command library, runs them on your bench through the TestFlow desktop app, and writes the report from the measured values. See AI test automation for lab instruments for how that works and where it stops.

Get started

SCPI command reference

149 commands in 21 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values. The DS1054Z and DS1202Z-E share this command set in TestFlow's library.

Measurement (MEASure) (35)

CommandWhat it doesArguments
:MEASure:SOURce <Source>Measure Source. Sets the source of the automatic measurement parameters.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM <Item>,<Source>Measure Item. Adds an automatic measurement of the selected parameter on the selected source.Text: VMAX,VMIN,VPP,VTOP,VBASe,VAMP,VAVG,VRMS,OVERshoot,PREShoot,MARea,MPARea,PERiod,FREQuency,RTIMe,FTIMe,PWIDth,NWIDth,PDUTy,NDUTy,TVMAX,TVMIN,PSLEWrate,NSLEWrate,VUPper,VMID,VLOWer,VARIance,PVRMS,PPULses,NPULses,PEDGes,NEDGes; Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM? <Item>,<Source>Get Measure Item. Queries the measurement result of the selected parameter on the selected source.Text: VMAX,VMIN,VPP,VTOP,VBASe,VAMP,VAVG,VRMS,OVERshoot,PREShoot,MARea,MPARea,PERiod,FREQuency,RTIMe,FTIMe,PWIDth,NWIDth,PDUTy,NDUTy,TVMAX,TVMIN,PSLEWrate,NSLEWrate,VUPper,VMID,VLOWer,VARIance,PVRMS,PPULses,NPULses,PEDGes,NEDGes; Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM? VPP,<Source>Measure Vpp. Queries the measured peak-to-peak voltage of the specified source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM? VMAX,<Source>Measure Vmax. Queries the measured maximum voltage of the specified source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM? VMIN,<Source>Measure Vmin. Queries the measured minimum voltage of the specified source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM? VAMP,<Source>Measure Vamp. Queries the measured amplitude (Vtop - Vbase) of the specified source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM? VAVG,<Source>Measure Vavg. Queries the measured average voltage of the specified source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM? VRMS,<Source>Measure Vrms. Queries the measured RMS voltage of the specified source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM? FREQuency,<Source>Measure Frequency. Queries the measured frequency in Hz of the specified source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM? PERiod,<Source>Measure Period. Queries the measured period in seconds of the specified source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM? RTIMe,<Source>Measure Rise Time. Queries the measured rise time in seconds of the specified source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM? FTIMe,<Source>Measure Fall Time. Queries the measured fall time in seconds of the specified source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM? PWIDth,<Source>Measure Positive Width. Queries the measured positive pulse width in seconds of the specified source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM? NWIDth,<Source>Measure Negative Width. Queries the measured negative pulse width in seconds of the specified source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM? PDUTy,<Source>Measure Positive Duty. Queries the measured positive duty cycle of the specified source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM? NDUTy,<Source>Measure Negative Duty. Queries the measured negative duty cycle of the specified source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM? OVERshoot,<Source>Measure Overshoot. Queries the measured overshoot of the specified source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:ITEM? PREShoot,<Source>Measure Preshoot. Queries the measured preshoot of the specified source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:CLEar ALLClear Measurements. Clears all the automatic measurement items currently displayed.None
:MEASure:AMSource <Source>Measure All Source. Sets the source of the all-parameter measurement function.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:STATistic:DISPlay ONStatistics On. Turns on the statistic function for the automatic measurements.None
:MEASure:STATistic:DISPlay OFFStatistics Off. Turns off the statistic function for the automatic measurements.None
:MEASure:STATistic:RESetStatistics Reset. Clears the measurement statistic history and restarts the statistics.None
:MEASure:STATistic:ITEM? <Type>,<Item>,<Source>Get Statistic Result. Queries the statistic result (max/min/current/average/deviation) of a measurement parameter.Text: MAXimum,MINimum,CURRent,AVERages,DEViation; Text: VMAX,VMIN,VPP,VTOP,VBASe,VAMP,VAVG,VRMS,OVERshoot,PREShoot,MARea,MPARea,PERiod,FREQuency,RTIMe,FTIMe,PWIDth,NWIDth,PDUTy,NDUTy,TVMAX,TVMIN,PSLEWrate,NSLEWrate,VUPper,VMID,VLOWer,VARIance,PVRMS,PPULses,NPULses,PEDGes,NEDGes; Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:MEASure:SETup:MAX <Percent>Threshold Upper. Sets the upper measurement threshold as a percentage of the amplitude.Number
:MEASure:SETup:MID <Percent>Threshold Middle. Sets the middle measurement threshold as a percentage of the amplitude.Number
:MEASure:SETup:MIN <Percent>Threshold Lower. Sets the lower measurement threshold as a percentage of the amplitude.Number
:MEASure:SETup:DSA <Source>Delay Source A. Sets source A of the delay measurement.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:SETup:DSB <Source>Delay Source B. Sets source B of the delay measurement.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:SETup:PSA <Source>Phase Source A. Sets source A of the phase measurement.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:SETup:PSB <Source>Phase Source B. Sets source B of the phase measurement.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:COUNter:SOURce <Source>Counter Source. Sets the source of the hardware frequency counter.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:COUNter:SOURce OFFCounter Off. Disables the hardware frequency counter.None
:MEASure:COUNter:VALue?Get Counter Value. Queries the frequency counter measurement result in Hz.None

Channels (CHANnel) (19)

CommandWhat it doesArguments
:CHANnel<Channel>:DISPlay ONChannel On. Turns on the display of the specified analog channel.Text: 1,2,3,4
:CHANnel<Channel>:DISPlay OFFChannel Off. Turns off the display of the specified analog channel.Text: 1,2,3,4
:CHANnel<Channel>:DISPlay?Get Channel State. Queries the on/off status of the specified analog channel (returns 1 or 0).Text: 1,2,3,4
:CHANnel<Channel>:COUPling <Coupling>Channel Coupling. Sets the input coupling mode of the specified analog channel.Text: 1,2,3,4; Text: AC,DC,GND
:CHANnel<Channel>:COUPling?Get Channel Coupling. Queries the input coupling mode of the specified analog channel.Text: 1,2,3,4
:CHANnel<Channel>:SCALe <Scale>Channel Scale. Sets the vertical scale of the specified channel in V/div.Text: 1,2,3,4; Number
:CHANnel<Channel>:SCALe?Get Channel Scale. Queries the vertical scale of the specified channel in V/div.Text: 1,2,3,4
:CHANnel<Channel>:OFFSet <Offset>Channel Offset. Sets the vertical offset of the specified channel in volts.Text: 1,2,3,4; Number
:CHANnel<Channel>:OFFSet?Get Channel Offset. Queries the vertical offset of the specified channel in volts.Text: 1,2,3,4
:CHANnel<Channel>:RANGe <Range>Channel Range. Sets the full vertical range of the specified channel in volts (vertical scale = range/8).Text: 1,2,3,4; Number
:CHANnel<Channel>:PROBe <Ratio>Channel Probe Ratio. Sets the probe attenuation ratio of the specified channel.Text: 1,2,3,4; Number: 0.01,0.02,0.05,0.1,0.2,0.5,1,2,5,10,20,50,100,200,500,1000
:CHANnel<Channel>:UNITs <Unit>Channel Unit. Sets the amplitude display unit of the specified channel.Text: 1,2,3,4; Text: VOLTage,WATT,AMPere,UNKNown
:CHANnel<Channel>:BWLimit <Limit>Bandwidth Limit On. Enables the bandwidth limit of the specified channel at the selected cut-off frequency.Text: 1,2,3,4; Text: 20M
:CHANnel<Channel>:BWLimit OFFBandwidth Limit Off. Disables the bandwidth limit of the specified channel (full bandwidth).Text: 1,2,3,4
:CHANnel<Channel>:INVert ONChannel Invert On. Turns on waveform invert for the specified channel.Text: 1,2,3,4
:CHANnel<Channel>:INVert OFFChannel Invert Off. Turns off waveform invert for the specified channel.Text: 1,2,3,4
:CHANnel<Channel>:VERNier ONFine Adjust On. Turns on the fine adjustment of the vertical scale for the specified channel.Text: 1,2,3,4
:CHANnel<Channel>:VERNier OFFFine Adjust Off. Turns off the fine adjustment of the vertical scale (1-2-5 steps only).Text: 1,2,3,4
:CHANnel<Channel>:TCAL <Delay>Channel Delay Calibration. Sets the channel delay calibration time in seconds to compensate for probe/cable skew.Text: 1,2,3,4; Number

Trigger (TRIGger) (18)

CommandWhat it doesArguments
:TRIGger:MODE <Type>Trigger Type. Selects the trigger type.Text: EDGE,PULSe,RUNT,WIND,NEDG,SLOPe,VIDeo,PATTern,DELay,TIMeout,DURation,SHOLd,RS232,IIC,SPI
:TRIGger:MODE?Get Trigger Type. Queries the trigger type currently selected.None
:TRIGger:SWEep <Sweep>Trigger Sweep. Sets the trigger mode to auto, normal or single.Text: AUTO,NORMal,SINGle
:TRIGger:COUPling <Coupling>Trigger Coupling. Sets the trigger coupling type (edge trigger with an analog source only).Text: AC,DC,LFReject,HFReject
:TRIGger:HOLDoff <Time>Trigger Holdoff. Sets the trigger holdoff time in seconds.Number
:TRIGger:NREJect ONNoise Reject On. Enables trigger noise rejection to reduce false triggering.None
:TRIGger:NREJect OFFNoise Reject Off. Disables trigger noise rejection.None
:TRIGger:STATus?Get Trigger Status. Queries the current trigger status (TD, WAIT, RUN, AUTO or STOP).None
:TRIGger:POSition?Get Trigger Position. Queries the memory position that corresponds to the waveform trigger position.None
:TRIGger:EDGe:SOURce <Source>Trigger Edge Source. Sets the trigger source used by the edge trigger.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,AC
:TRIGger:EDGe:SLOPe <Slope>Trigger Edge Slope. Sets the edge type (rising, falling or either) used by the edge trigger.Text: POSitive,NEGative,RFALl
:TRIGger:EDGe:LEVel <Level>Trigger Edge Level. Sets the edge trigger level in the amplitude unit of the trigger source.Number
:TRIGger:EDGe:LEVel?Get Trigger Edge Level. Queries the edge trigger level.None
:TRIGger:PULSe:SOURce <Source>Trigger Pulse Source. Sets the trigger source used by the pulse width trigger.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:TRIGger:PULSe:WHEN <Condition>Trigger Pulse When. Sets the trigger condition of the pulse width trigger.Text: PGReater,PLESs,NGReater,NLESs,PGLess,NGLess
:TRIGger:PULSe:LWIDth <Width>Trigger Pulse Lower Width. Sets the lower pulse width limit of the pulse width trigger in seconds.Number
:TRIGger:PULSe:UWIDth <Width>Trigger Pulse Upper Width. Sets the upper pulse width limit of the pulse width trigger in seconds.Number
:TRIGger:PULSe:LEVel <Level>Trigger Pulse Level. Sets the trigger level of the pulse width trigger.Number

Waveform (WAVeform) (13)

CommandWhat it doesArguments
:WAVeform:SOURce <Source>Waveform Source. Sets the channel whose waveform data will be read.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:WAVeform:MODE <Mode>Waveform Mode. Sets the reading mode of the waveform data (screen data or internal memory data).Text: NORMal,MAXimum,RAW
:WAVeform:FORMat <Format>Waveform Format. Sets the return format of the waveform data.Text: WORD,BYTE,ASCii
:WAVeform:STARt <Point>Waveform Start. Sets the start point of the waveform data reading.Number
:WAVeform:STOP <Point>Waveform Stop. Sets the stop point of the waveform data reading.Number
:WAVeform:DATA?Get Waveform Data. Reads the waveform data of the selected source in the selected format.None
:WAVeform:PREamble?Get Waveform Preamble. Queries the waveform parameters (format, type, points, count, X/Y increments, origins and references).None
:WAVeform:XINCrement?Get X Increment. Queries the time between two neighbouring waveform points on the X axis.None
:WAVeform:XORigin?Get X Origin. Queries the start time of the waveform data on the X axis.None
:WAVeform:XREFerence?Get X Reference. Queries the reference time of the waveform data on the X axis.None
:WAVeform:YINCrement?Get Y Increment. Queries the voltage value per unit of the waveform data on the Y axis.None
:WAVeform:YORigin?Get Y Origin. Queries the vertical offset of the waveform data relative to the Y reference.None
:WAVeform:YREFerence?Get Y Reference. Queries the vertical reference position of the waveform data on the Y axis.None

CURS subsystem (10)

CommandWhat it doesArguments
:CURSor:MODE <Mode>Cursor Mode. Enables cursor measurement in the selected mode.Text: MANual,TRACk,AUTO,XY
:CURSor:MODE OFFCursor Off. Disables the cursor measurement function.None
:CURSor:MANual:SOURce <Source>Cursor Source. Sets the channel the manual cursors measure.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,MATH
:CURSor:MANual:TYPE <Type>Cursor Type. Sets the manual cursor type (X for time, Y for amplitude).Text: X,Y
:CURSor:MANual:AX <Position>Cursor AX. Sets the horizontal position of cursor A in screen pixels.Number
:CURSor:MANual:BX <Position>Cursor BX. Sets the horizontal position of cursor B in screen pixels.Number
:CURSor:MANual:AY <Position>Cursor AY. Sets the vertical position of cursor A in screen pixels.Number
:CURSor:MANual:BY <Position>Cursor BY. Sets the vertical position of cursor B in screen pixels.Number
:CURSor:MANual:XDELta?Get Cursor dX. Queries the time difference between cursor A and cursor B.None
:CURSor:MANual:YDELta?Get Cursor dY. Queries the amplitude difference between cursor A and cursor B.None

Timebase (TIMebase) (9)

CommandWhat it doesArguments
:TIMebase:MAIN:SCALe <Scale>Timebase Scale. Sets the main timebase scale in s/div.Number
:TIMebase:MAIN:SCALe?Get Timebase Scale. Queries the main timebase scale in s/div.None
:TIMebase:MAIN:OFFSet <Offset>Timebase Offset. Sets the main timebase (horizontal) offset in seconds relative to the trigger point.Number
:TIMebase:MAIN:OFFSet?Get Timebase Offset. Queries the main timebase (horizontal) offset in seconds.None
:TIMebase:MODE <Mode>Timebase Mode. Sets the horizontal timebase mode (YT, XY or Roll).Text: MAIN,XY,ROLL
:TIMebase:DELay:ENABle ONDelayed Sweep On. Enables the delayed sweep (zoom) window.None
:TIMebase:DELay:ENABle OFFDelayed Sweep Off. Disables the delayed sweep (zoom) window.None
:TIMebase:DELay:SCALe <Scale>Delayed Timebase Scale. Sets the delayed timebase scale in s/div.Number
:TIMebase:DELay:OFFSet <Offset>Delayed Timebase Offset. Sets the delayed timebase offset in seconds.Number

Acquisition (ACQuire) (7)

CommandWhat it doesArguments
:ACQuire:TYPE <Type>Acquire Type. Sets the acquisition mode of the oscilloscope.Text: NORMal,AVERages,PEAK,HRESolution
:ACQuire:TYPE?Get Acquire Type. Queries the acquisition mode currently selected.None
:ACQuire:AVERages <Count>Acquire Averages. Sets the number of averages in the average acquisition mode (powers of 2).Number
:ACQuire:AVERages?Get Acquire Averages. Queries the number of averages used in the average acquisition mode.None
:ACQuire:MDEPth <Depth>Memory Depth. Sets the memory depth in points (AUTO or a discrete value that depends on the number of enabled channels).Text
:ACQuire:MDEPth?Get Memory Depth. Queries the current memory depth in points or AUTO.None
:ACQuire:SRATe?Get Sample Rate. Queries the current sample rate in Sa/s.None

MATH subsystem (7)

CommandWhat it doesArguments
:MATH:DISPlay ONMath On. Turns on the math operation display.None
:MATH:DISPlay OFFMath Off. Turns off the math operation display.None
:MATH:OPERator <Operator>Math Operator. Sets the operator of the math operation.Text: ADD,SUBTract,MULTiply,DIVision,AND,OR,XOR,NOT,FFT,INTG,DIFF,SQRT,LOG,LN,EXP,ABS,FILTer
:MATH:SOURce1 <Source>Math Source 1. Sets source A of the math operation.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,FX
:MATH:SOURce2 <Source>Math Source 2. Sets source B of the math operation.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,FX
:MATH:SCALe <Scale>Math Scale. Sets the vertical scale of the math operation result.Number
:MATH:OFFSet <Offset>Math Offset. Sets the vertical offset of the math operation result.Number

Display (DISPlay) (6)

CommandWhat it doesArguments
:DISPlay:TYPE <Type>Display Type. Sets the waveform display mode to vectors or dots.Text: VECTors,DOTS
:DISPlay:GRADing:TIME <Time>Persistence Time. Sets the waveform persistence time in seconds (MIN or INFinite also accepted).Text: MIN,0.1,0.2,0.5,1,5,10,INFinite
:DISPlay:GRID <Grid>Display Grid. Sets the screen grid type.Text: FULL,HALF,NONE
:DISPlay:WBRightness <Percent>Waveform Brightness. Sets the waveform display brightness from 0 to 100 percent.Number
:DISPlay:GBRightness <Percent>Grid Brightness. Sets the screen grid brightness from 0 to 100 percent.Number
:DISPlay:CLEarClear Display. Clears all the waveforms currently displayed on the screen.None

System (SYSTem) (5)

CommandWhat it doesArguments
:SYSTem:BEEPer ONBeeper On. Turns on the instrument beeper.None
:SYSTem:BEEPer OFFBeeper Off. Turns off the instrument beeper.None
:SYSTem:LOCKed ONKey Lock On. Locks the front panel keyboard so the instrument can only be controlled remotely.None
:SYSTem:LOCKed OFFKey Lock Off. Unlocks the front panel keyboard.None
:SYSTem:ERRor?Get Error. Queries and clears the next message in the system error queue.None

Other subsystem (2)

CommandWhat it doesArguments
[PNG:DISPlay:DATA? ON,OFF,PNG]Capture. Reads the screenshot of the current display back to the controller as a PNG image.None
<Output Variable>=<Equation>Math. Variable equals an equation like (${Var_name}= ${Var_name}/2)Number; Text

CAL subsystem (2)

CommandWhat it doesArguments
:CALibrate:STARtSelf Calibration Start. Starts the instrument self-calibration; disconnect all inputs before running it.None
:CALibrate:QUITSelf Calibration Quit. Exits the self-calibration procedure.None

Auto setup (1)

CommandWhat it doesArguments
:AUToscaleAuto Scale. Enables the waveform auto setting function to display the input signals at the best status.None

Run control (1)

CommandWhat it doesArguments
:RUNRun. Starts the oscilloscope acquisition (equivalent to pressing RUN on the front panel).None

Run control (1)

CommandWhat it doesArguments
:STOPStop. Stops the oscilloscope acquisition and freezes the displayed waveform.None

Run control (1)

CommandWhat it doesArguments
:SINGleSingle Trigger. Sets the oscilloscope to the single trigger mode so it triggers once and then stops.None

TFOR subsystem (1)

CommandWhat it doesArguments
:TFORceForce Trigger. Generates a trigger signal forcefully (valid in normal and single trigger modes).None

CLE subsystem (1)

CommandWhat it doesArguments
:CLEarClear Waveforms. Clears all the waveforms currently displayed on the screen.None

WAIT subsystem (1)

CommandWhat it doesArguments
wait(<ms>)Wait. Waits for number of millisecondsNumber

SAVE subsystem (1)

CommandWhat it doesArguments
save2var <Variable_name>Save2Variable. Saves last measurement to a variableText

IEEE 488.2 common commands (8)

CommandWhat it doesArguments
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial number, firmware version).None
*RSTReset. Restores the instrument to its factory default state.None
*CLSClear Status. Clears all the event registers and the error queue.None
*TST?Self Test. Runs the instrument self-test and returns the result.None
*OPC?Operation Complete. Returns 1 when all pending operations are complete.None
*WAIWait To Continue. Waits until all pending operations are complete before executing the next command.None
*ESR?Get Event Status. Queries and clears the standard event status register.None
*STB?Get Status Byte. Queries the status byte register.None

Where these commands come from

This reference is generated from TestFlow's instrument library, which is drafted from Rigol's programming documentation for the DS1054Z and DS1202Z-E and checked when the agent runs it. Ranges, timing, and option-dependent commands are defined by Rigol's programming manual: check it before you rely on an edge case. Last updated November 12, 2026.

Frequently asked questions

Does the Rigol DS1054Z support SCPI remote control?

Yes. The Rigol DS1054Z accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 149 SCPI commands for it: 50 queries that read values or state, and 99 settings and actions.

How do I control the Rigol DS1054Z from Python?

Install PyVISA and a VISA backend, find the instrument's address with ResourceManager().list_resources(), open it, then send commands with write() and read values with query(). The example on this page sends *IDN?, :AUToscale and :MEASure:ITEM? VPP,CHANnel1.

Which command reads a value from the Rigol DS1054Z?

:MEASure:ITEM? VPP,CHANnel1 (measure vpp). Queries the measured peak-to-peak voltage of the specified source. The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the Rigol DS1054Z without writing code?

Yes. TestFlow is an AI agent for electronics testing: you describe the test, and it builds the automation from this command library, runs it on the Rigol DS1054Z through the TestFlow desktop app, and writes the report from the measured results.

Your next test, automated today

Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.