Oscilloscope · SCPI command reference

Keysight DSOX3034T and DSOX4034A SCPI commands

The Keysight DSOX3034T and DSOX4034A oscilloscope is controlled remotely with SCPI commands. TestFlow's instrument library holds 180 commands for it, 69 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 DSOX3034T on a real bench.

Commands
180
Queries
69
Subsystems
23
Models covered
2

Control the Keysight DSOX3034T 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 Keysight DSOX3034T's VISA address

# Paste the address of your Keysight DSOX3034T (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:RESults?"))  # Get Measure Results

inst.close()

Run a DSOX3034T test without writing code

Describe the test in a sentence, for example “auto scale on the DSOX3034T, then get measure results 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

180 commands in 23 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values. The DSOX3034T and DSOX4034A share this command set in TestFlow's library.

Measurement (MEASure) (32)

CommandWhat it doesArguments
:MEASure:SOURce <Source>Measure Source. Selects the source used by subsequent measurement commands.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:SOURce?Get Measure Source. Queries the source currently selected for measurements.None
:MEASure:WINDow <Window>Measure Window. Selects whether measurements are made in the main window, the zoomed window or gated by markers.Text: MAIN,ZOOM,AUTO,GATE
:MEASure:VPP? <Source>Measure Vpp. Measures the peak-to-peak voltage of the selected source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:VMAX? <Source>Measure Vmax. Measures the maximum voltage of the selected source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:VMIN? <Source>Measure Vmin. Measures the minimum voltage of the selected source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:VAMPlitude? <Source>Measure Vamplitude. Measures the amplitude (top minus base) of the selected source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:VTOP? <Source>Measure Vtop. Measures the top (logic high) voltage level of the selected source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:VBASe? <Source>Measure Vbase. Measures the base (logic low) voltage level of the selected source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:FREQuency? <Source>Measure Frequency. Measures the frequency in hertz of the first complete cycle on screen.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:PERiod? <Source>Measure Period. Measures the period in seconds of the first complete cycle on screen.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:PWIDth? <Source>Measure Pos Width. Measures the width in seconds of the first positive pulse on screen.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:NWIDth? <Source>Measure Neg Width. Measures the width in seconds of the first negative pulse on screen.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:DUTYcycle? <Source>Measure Duty Cycle. Measures the positive duty cycle of the first complete cycle as a percentage.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:NDUTy? <Source>Measure Neg Duty Cycle. Measures the negative duty cycle of the first complete cycle as a percentage.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:RISetime? <Source>Measure Rise Time. Measures the rise time in seconds of the first rising edge on screen.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:FALLtime? <Source>Measure Fall Time. Measures the fall time in seconds of the first falling edge on screen.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:OVERshoot? <Source>Measure Overshoot. Measures the overshoot of the first edge on screen as a percentage.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:PREShoot? <Source>Measure Preshoot. Measures the preshoot of the first edge on screen as a percentage.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:XMAX? <Source>Measure X At Max. Measures the horizontal position at which the maximum voltage occurs.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:XMIN? <Source>Measure X At Min. Measures the horizontal position at which the minimum voltage occurs.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:VAVerage? <Interval>,<Source>Measure Vaverage. Measures the average voltage over one cycle or over the whole display.Text: CYCLe,DISPlay; Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:VRMS? <Interval>,<Type>,<Source>Measure Vrms. Measures the AC or DC RMS voltage over one cycle or over the whole display.Text: CYCLe,DISPlay; Text: AC,DC; Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:PHASe? <Source_1>,<Source_2>Measure Phase. Measures the phase shift in degrees between the two specified sources.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4; Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:DELay? <Source_1>,<Source_2>Measure Delay. Measures the delay in seconds between the selected edges of the two specified sources.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4; Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:COUNter? <Source>Measure Counter. Reads the hardware frequency counter value in hertz for the specified source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,EXTernal
:MEASure:BWIDth? <Source>Measure Burst Width. Measures the burst width in seconds of the selected source.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:VRATio? <Interval>,<Source_1>,<Source_2>Measure Voltage Ratio. Measures the AC RMS voltage ratio in dB between the two specified sources.Text: CYCLe,DISPlay; Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4; Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:MEASure:RESults?Get Measure Results. Returns the results of the continuously displayed measurements as a comma-separated list.None
:MEASure:STATistics <Type>Statistics Type. Selects which statistics the measurement results query returns.Text: ON,CURRent,MINimum,MAXimum,MEAN,STDDev,COUNt
:MEASure:STATistics:RESetStatistics Reset. Resets the accumulated measurement statistics.None
:MEASure:CLEarClear Measurements. Clears all selected measurements and markers from the screen.None

Channels (CHANnel) (24)

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 whether the specified analog channel is displayed (1) or not (0).Text: 1,2,3,4
:CHANnel<Channel>:COUPling <Coupling>Channel Coupling. Selects the input coupling of the specified analog channel.Text: 1,2,3,4; Text: AC,DC
:CHANnel<Channel>:COUPling?Get Channel Coupling. Queries the input coupling of the specified analog channel.Text: 1,2,3,4
:CHANnel<Channel>:IMPedance <Impedance>Channel Impedance. Selects the input impedance of the specified analog channel (1 MOhm or 50 Ohm).Text: 1,2,3,4; Text: ONEMeg,FIFTy
:CHANnel<Channel>:IMPedance?Get Channel Impedance. Queries the input impedance 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 units per division.Text: 1,2,3,4; Number
:CHANnel<Channel>:SCALe?Get Channel Scale. Queries the vertical scale of the specified channel in units per division.Text: 1,2,3,4
:CHANnel<Channel>:RANGe <Range>Channel Range. Sets the full-scale vertical range of the specified channel (8 divisions).Text: 1,2,3,4; Number
:CHANnel<Channel>:RANGe?Get Channel Range. Queries the full-scale vertical range of the specified channel.Text: 1,2,3,4
:CHANnel<Channel>:OFFSet <Offset>Channel Offset. Sets the value at the centre of the screen for the specified channel (vertical offset).Text: 1,2,3,4; Number
:CHANnel<Channel>:OFFSet?Get Channel Offset. Queries the vertical offset of the specified channel.Text: 1,2,3,4
:CHANnel<Channel>:PROBe <Ratio>Channel Probe Ratio. Sets the probe attenuation ratio of the specified channel (0.1 to 10000).Text: 1,2,3,4; Number
:CHANnel<Channel>:PROBe?Get Channel Probe Ratio. Queries the probe attenuation ratio of the specified channel.Text: 1,2,3,4
:CHANnel<Channel>:PROBe:SKEW <Skew>Channel Probe Skew. Sets the channel-to-channel skew factor in seconds to compensate for probe and cable delay.Text: 1,2,3,4; Number
:CHANnel<Channel>:UNITs <Unit>Channel Units. Sets the measurement units for the probe connected to the specified channel.Text: 1,2,3,4; Text: VOLT,AMPere
:CHANnel<Channel>:LABel <Label>Channel Label. Sets the label string shown on screen for the specified analog channel.Text: 1,2,3,4; Text
:CHANnel<Channel>:INVert ONChannel Invert On. Inverts the displayed waveform of the specified channel about the offset value.Text: 1,2,3,4
:CHANnel<Channel>:INVert OFFChannel Invert Off. Removes the waveform inversion of the specified channel.Text: 1,2,3,4
:CHANnel<Channel>:BWLimit ONBandwidth Limit On. Enables the internal low-pass bandwidth limit filter on the specified channel.Text: 1,2,3,4
:CHANnel<Channel>:BWLimit OFFBandwidth Limit Off. Disables the bandwidth limit filter so the channel runs at full bandwidth.Text: 1,2,3,4
:CHANnel<Channel>:VERNier ONFine Adjust On. Enables fine (vernier) adjustment of the vertical scale on the specified channel.Text: 1,2,3,4
:CHANnel<Channel>:VERNier OFFFine Adjust Off. Disables vernier adjustment so the vertical scale steps in a 1-2-5 sequence.Text: 1,2,3,4

Trigger (TRIGger) (19)

CommandWhat it doesArguments
:TRIGger:FORCeForce Trigger. Forces an immediate trigger event regardless of whether the trigger condition is met.None
:TRIGger:MODE <Mode>Trigger Mode. Selects the trigger type used by the oscilloscope.Text: EDGE,GLITch,PATTern,TV,DELay,EBURst,OR,RUNT,SHOLd,TRANsition
:TRIGger:MODE?Get Trigger Mode. Queries the currently selected trigger type.None
:TRIGger:SWEep <Sweep>Trigger Sweep. Selects auto or triggered (normal) sweep mode.Text: AUTO,NORMal
:TRIGger:SWEep?Get Trigger Sweep. Queries the current trigger sweep mode.None
:TRIGger:EDGE:SOURce <Source>Trigger Source. Selects the source used for edge triggering.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,EXTernal,LINE,WGEN
:TRIGger:EDGE:SOURce?Get Trigger Source. Queries the current edge trigger source.None
:TRIGger:EDGE:SLOPe <Slope>Trigger Slope. Selects the edge direction that produces a trigger.Text: POSitive,NEGative,EITHer,ALTernate
:TRIGger:EDGE:SLOPe?Get Trigger Slope. Queries the current edge trigger slope.None
:TRIGger:EDGE:LEVel <Level>,<Source>Trigger Level. Sets the edge trigger threshold voltage for the specified source.Number; Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,EXTernal
:TRIGger:EDGE:LEVel?Get Trigger Level. Queries the edge trigger threshold voltage.None
:TRIGger:EDGE:COUPling <Coupling>Trigger Coupling. Sets the coupling applied to the edge trigger path.Text: AC,DC,LFReject
:TRIGger:EDGE:REJect <Reject>Trigger Reject. Enables or disables the low-frequency or high-frequency reject filter in the trigger path.Text: OFF,LFReject,HFReject
:TRIGger:HOLDoff <Holdoff>Trigger Holdoff. Sets the trigger holdoff time in seconds (40 ns to 10 s).Number
:TRIGger:HOLDoff?Get Trigger Holdoff. Queries the trigger holdoff time in seconds.None
:TRIGger:NREJect ONNoise Reject On. Adds hysteresis to the trigger circuitry to reject noise.None
:TRIGger:NREJect OFFNoise Reject Off. Removes the trigger noise-reject hysteresis.None
:TRIGger:HFReject ONHF Reject On. Enables the 50 kHz high-frequency reject filter in the trigger path.None
:TRIGger:HFReject OFFHF Reject Off. Disables the high-frequency reject filter in the trigger path.None

Waveform (WAVeform) (15)

CommandWhat it doesArguments
:WAVeform:SOURce <Source>Waveform Source. Selects the source of the waveform data read back over the bus.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:WAVeform:FORMat <Format>Waveform Format. Sets the data transmission format of the waveform data.Text: WORD,BYTE,ASCii
:WAVeform:POINts <Points>Waveform Points. Sets the number of waveform points transferred from the oscilloscope.Number
:WAVeform:POINts:MODE <Mode>Waveform Points Mode. Selects whether measurement-record, maximum or raw acquisition-record points are transferred.Text: NORMal,MAXimum,RAW
:WAVeform:BYTeorder <Order>Waveform Byte Order. Sets whether the least or most significant byte is transmitted first for WORD data.Text: LSBFirst,MSBFirst
:WAVeform:UNSigned ONWaveform Unsigned On. Returns waveform data as unsigned integers.None
:WAVeform:UNSigned OFFWaveform Unsigned Off. Returns waveform data as signed integers.None
: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 preamble (format, type, points, count, X/Y increments, origins and references).None
:WAVeform:XINCrement?Get X Increment. Queries the time in seconds between consecutive waveform data points.None
:WAVeform:XORigin?Get X Origin. Queries the time value in seconds of the first waveform data point.None
:WAVeform:XREFerence?Get X Reference. Queries the data point index that corresponds to the X origin.None
:WAVeform:YINCrement?Get Y Increment. Queries the voltage change per least significant bit of the waveform data.None
:WAVeform:YORigin?Get Y Origin. Queries the voltage value at the vertical reference position of the waveform data.None
:WAVeform:YREFerence?Get Y Reference. Queries the data value that corresponds to the Y origin.None

WGEN subsystem (13)

CommandWhat it doesArguments
:WGEN<Wgen>:FUNCtion <Function>Wgen Function. Selects the waveform shape produced by the built-in waveform generator.Text: 1,2; Text: SINusoid,SQUare,RAMP,PULSe,DC,NOISe,SINC,EXPRise,EXPFall,CARDiac,GAUSsian,ARBitrary
:WGEN<Wgen>:FREQuency <Frequency>Wgen Frequency. Sets the waveform generator output frequency in hertz.Text: 1,2; Number
:WGEN<Wgen>:VOLTage <Amplitude>Wgen Amplitude. Sets the waveform generator output amplitude in volts peak-to-peak.Text: 1,2; Number
:WGEN<Wgen>:VOLTage:OFFSet <Offset>Wgen Offset. Sets the waveform generator DC offset voltage.Text: 1,2; Number
:WGEN<Wgen>:VOLTage:HIGH <High>Wgen High Level. Sets the waveform generator high-level voltage.Text: 1,2; Number
:WGEN<Wgen>:VOLTage:LOW <Low>Wgen Low Level. Sets the waveform generator low-level voltage.Text: 1,2; Number
:WGEN<Wgen>:FUNCtion:SQUare:DCYCle <Duty>Wgen Square Duty. Sets the duty cycle of the square waveform as a percentage.Text: 1,2; Number
:WGEN<Wgen>:FUNCtion:RAMP:SYMMetry <Symmetry>Wgen Ramp Symmetry. Sets the symmetry of the ramp waveform as a percentage of rising time.Text: 1,2; Number
:WGEN<Wgen>:FUNCtion:PULSe:WIDTh <Width>Wgen Pulse Width. Sets the pulse width in seconds of the pulse waveform.Text: 1,2; Number
:WGEN<Wgen>:OUTPut:LOAD <Load>Wgen Output Load. Sets the expected output load impedance of the waveform generator.Text: 1,2; Text: ONEMeg,FIFTy
:WGEN<Wgen>:OUTPut ONWgen Output On. Turns on the waveform generator output.Text: 1,2
:WGEN<Wgen>:OUTPut OFFWgen Output Off. Turns off the waveform generator output.Text: 1,2
:WGEN<Wgen>:RSTWgen Reset. Restores the waveform generator to its default settings.Text: 1,2

Timebase (TIMebase) (12)

CommandWhat it doesArguments
:TIMebase:SCALe <Scale>Timebase Scale. Sets the main timebase in seconds per division.Number
:TIMebase:SCALe?Get Timebase Scale. Queries the main timebase in seconds per division.None
:TIMebase:RANGe <Range>Timebase Range. Sets the full-scale horizontal time in seconds for 10 divisions.Number
:TIMebase:POSition <Position>Timebase Position. Sets the time in seconds between the trigger event and the display reference point.Number
:TIMebase:POSition?Get Timebase Position. Queries the horizontal position of the trigger event relative to the reference point.None
:TIMebase:REFerence <Reference>Timebase Reference. Sets the horizontal reference point on the screen.Text: LEFT,CENTer,RIGHt
:TIMebase:MODE <Mode>Timebase Mode. Sets the horizontal timebase mode (main, zoomed window, XY or roll).Text: MAIN,WINDow,XY,ROLL
:TIMebase:MODE?Get Timebase Mode. Queries the current horizontal timebase mode.None
:TIMebase:WINDow:SCALe <Scale>Zoom Scale. Sets the zoomed (delayed) window timebase in seconds per division.Number
:TIMebase:WINDow:POSition <Position>Zoom Position. Sets the horizontal position in the zoomed window relative to the trigger event.Number
:TIMebase:VERNier ONTimebase Fine On. Enables fine (vernier) adjustment of the horizontal scale.None
:TIMebase:VERNier OFFTimebase Fine Off. Disables vernier adjustment so the timebase steps in a 1-2-5 sequence.None

Acquisition (ACQuire) (10)

CommandWhat it doesArguments
:ACQuire:TYPE <Type>Acquire Type. Selects the acquisition type used to build each waveform record.Text: NORMal,AVERage,HRESolution,PEAK
:ACQuire:TYPE?Get Acquire Type. Queries the acquisition type currently selected.None
:ACQuire:COUNt <Count>Acquire Count. Sets the number of acquisitions averaged per time bucket in AVERage acquisition type (2 to 65536).Number
:ACQuire:COUNt?Get Acquire Count. Queries the averaging count currently selected.None
:ACQuire:MODE <Mode>Acquire Mode. Sets the acquisition mode to real time or segmented memory.Text: RTIMe,SEGMented
:ACQuire:MODE?Get Acquire Mode. Queries the acquisition mode of the oscilloscope.None
:ACQuire:POINts?Get Acquire Points. Queries the number of data points the hardware acquires from the input signal.None
:ACQuire:SRATe?Get Sample Rate. Queries the current acquisition sample rate in samples per second.None
:ACQuire:SEGMented:COUNt <Count>Segmented Count. Sets the number of memory segments to acquire in segmented memory mode.Number
:ACQuire:SEGMented:INDex <Index>Segmented Index. Selects the segmented memory segment displayed and measured.Number

Function (FUNCtion) (10)

CommandWhat it doesArguments
:FUNCtion<Math>:DISPlay ONMath Display On. Turns on the display of the specified math function waveform.Text: 1,2
:FUNCtion<Math>:DISPlay OFFMath Display Off. Turns off the display of the specified math function waveform.Text: 1,2
:FUNCtion<Math>:OPERation <Operation>Math Operation. Selects the operation performed by the math function.Text: 1,2; Text: ADD,SUBTract,MULTiply,DIVide,DIFF,INTegrate,FFT,SQRT,MAGNify,ABSolute,SQUare,LN,LOG,EXP,TEN,LOWPass,HIGHpass,AVERage,SMOoth,ENVelope,LINear,MAXHold,MINHold,TRENd,BTIMing,BSTate
:FUNCtion<Math>:SOURce1 <Source>Math Source 1. Selects the first input source for the math function.Text: 1,2; Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:FUNCtion<Math>:SOURce2 <Source>Math Source 2. Selects the second input source for two-operand math functions.Text: 1,2; Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:FUNCtion<Math>:SCALe <Scale>Math Scale. Sets the vertical scale of the math function waveform in units per division.Text: 1,2; Number
:FUNCtion<Math>:OFFSet <Offset>Math Offset. Sets the vertical offset of the math function waveform.Text: 1,2; Number
:FUNCtion<Math>:CENTer <Frequency>FFT Center. Sets the centre frequency in hertz of the FFT math function display.Text: 1,2; Number
:FUNCtion<Math>:SPAN <Span>FFT Span. Sets the frequency span in hertz of the FFT math function display.Text: 1,2; Number
:FUNCtion<Math>:WINDow <Window>FFT Window. Selects the FFT window function used to control spectral leakage.Text: 1,2; Text: RECTangular,HANNing,FLATtop,BHARris

Display (DISPlay) (7)

CommandWhat it doesArguments
:DISPlay:CLEarClear Display. Clears the display and resets all associated measurements.None
:DISPlay:PERSistence MINimumPersistence Minimum. Sets waveform persistence to minimum so old acquisitions are erased immediately.None
:DISPlay:PERSistence INFinitePersistence Infinite. Sets infinite persistence so acquisitions accumulate on screen without fading.None
:DISPlay:PERSistence <Seconds>Persistence Time. Sets variable persistence in seconds (100 ms to 60 s).Number
:DISPlay:LABel ONLabels On. Turns on the display of the analog and digital channel labels.None
:DISPlay:LABel OFFLabels Off. Turns off the display of the analog and digital channel labels.None
:DISPlay:INTensity:WAVeform <Intensity>Waveform Intensity. Sets the waveform display intensity as a percentage from 0 to 100.Number

COUN subsystem (5)

CommandWhat it doesArguments
:COUNter:ENABle ONCounter On. Enables the built-in digital frequency counter.None
:COUNter:ENABle OFFCounter Off. Disables the built-in digital frequency counter.None
:COUNter:SOURce <Source>Counter Source. Selects the input source for the digital frequency counter.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4,TQEVent
:COUNter:MODE <Mode>Counter Mode. Selects whether the counter measures frequency, period or totalises edges.Text: FREQuency,PERiod,TOTalize
:COUNter:CURRent?Get Counter. Reads the current value of the digital frequency counter.None

DVM subsystem (5)

CommandWhat it doesArguments
:DVM:ENABle ONDVM On. Enables the integrated 3-digit digital voltmeter.None
:DVM:ENABle OFFDVM Off. Disables the integrated digital voltmeter.None
:DVM:MODE <Mode>DVM Mode. Selects the digital voltmeter measurement mode.Text: ACRMs,DC,DCRMs
:DVM:SOURce <Source>DVM Source. Selects the analog channel measured by the digital voltmeter.Text: CHANnel1,CHANnel2,CHANnel3,CHANnel4
:DVM:CURRent?Get DVM. Reads the current digital voltmeter measurement value.None

System (SYSTem) (5)

CommandWhat it doesArguments
:SYSTem:ERRor?Get Error. Reads and clears the next entry in the error queue.None
:SYSTem:DSP <Message>Display Message. Writes a quoted text message to the oscilloscope display.Text
:SYSTem:LOCK ONKey Lock On. Locks the front panel so the oscilloscope can only be controlled remotely.None
:SYSTem:LOCK OFFKey Lock Off. Unlocks the front panel keys and knobs.None
:SYSTem:SETup?Get Setup. Reads the complete oscilloscope setup back as a binary block for later restore.None

Other subsystem (2)

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

Auto setup (1)

CommandWhat it doesArguments
:AUToscaleAuto Scale. Evaluates all input signals and sets the correct vertical, horizontal and trigger settings to display the signals.None

Run control (1)

CommandWhat it doesArguments
:RUNRun. Starts repetitive acquisitions (same as pressing the Run key on the front panel).None

Run control (1)

CommandWhat it doesArguments
:STOPStop. Stops the acquisition system and freezes the last acquired waveform on screen.None

Run control (1)

CommandWhat it doesArguments
:SINGleSingle Trigger. Arms the oscilloscope for a single acquisition and stops after the trigger occurs.None

DIG subsystem (1)

CommandWhat it doesArguments
:DIGitizeDigitize. Captures data that meets the acquisition specification and stops the acquisition so the data can be read back.None

TER subsystem (1)

CommandWhat it doesArguments
:TER?Get Trigger Event. Reads and clears the Trigger Event Register; returns 1 if the oscilloscope has triggered.None

AER subsystem (1)

CommandWhat it doesArguments
:AER?Get Arm Event. Reads and clears the Arm Event Register; returns 1 if the trigger system is armed.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 (12)

CommandWhat it doesArguments
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial number, firmware version).None
*RSTReset. Restores the oscilloscope to its factory default state.None
*CLSClear Status. Clears all event registers and the error queue.None
*TST?Self Test. Runs the internal self-test and returns 0 for pass or a non-zero code for failure.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
*TRGTrigger Bus. Generates a bus trigger, equivalent to sending the :DIGitize command.None
*ESR?Get Event Status. Reads and clears the standard event status register.None
*STB?Get Status Byte. Reads the status byte register.None
*OPT?Get Options. Returns a comma-separated list of the licences and options installed in the oscilloscope.None
*SAV <Register>Save Setup. Stores the current oscilloscope setup in the specified save/recall register.Number
*RCL <Register>Recall Setup. Recalls a previously stored oscilloscope setup from the specified register.Number

Where these commands come from

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

Frequently asked questions

Does the Keysight DSOX3034T support SCPI remote control?

Yes. The Keysight DSOX3034T accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 180 SCPI commands for it: 69 queries that read values or state, and 111 settings and actions.

How do I control the Keysight DSOX3034T 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:RESults?.

Which command reads a value from the Keysight DSOX3034T?

:MEASure:RESults? (get measure results). Returns the results of the continuously displayed measurements as a comma-separated list. The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the Keysight DSOX3034T 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 Keysight DSOX3034T 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.