The Yokogawa DL950 oscilloscope is controlled remotely with SCPI commands. TestFlow's instrument library holds 93 commands for it, 16 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 DL950 on a real bench.
Describe the test; TestFlow's agent uses this command set to drive your Yokogawa DL950 and writes the report from the measured results.
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 Yokogawa DL950's VISA address
# Paste the address of your Yokogawa DL950 (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(":TIMebase:SOURce INTernal") # Timebase Source
print(inst.query(":CURSor:VERTical:DX:VALue?")) # Cursor V DX
inst.close()Describe the test; TestFlow's agent uses this command set to drive your Yokogawa DL950 and writes the report from the measured results.
Describe the test in a sentence, for example “timebase source on the DL950, then cursor v dx 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.
93 commands in 18 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values.
| Command | What it does | Arguments |
|---|---|---|
| :CHANnel<Channel>:INPut ON | Show Channel. Turns ON display/input of the specified channel (1 to 32). | Text |
| :CHANnel<Channel>:INPut OFF | Hide Channel. Turns OFF display/input of the specified channel (1 to 32). | Text |
| :CHANnel<Channel>:LABel <Text> | Channel Label. Sets the waveform label string (up to 16 characters) of the specified channel. | Text; Text |
| :CHANnel<Channel>:SCALe <Upper>,<Lower> | Channel Scale. Sets the upper and lower screen limits (Volts) for the specified analog voltage channel. | Text; Number; Number |
| :CHANnel<Channel>:POSition <Position> | Channel Position. Sets the vertical position (in divisions, -5.00 to 5.00) for the specified analog voltage channel. | Text; Number: -5.00,5.00 |
| :CHANnel<Channel>:OFFSet <Voltage> | Channel Offset. Sets the offset voltage of the specified analog voltage channel. | Text; Number |
| :CHANnel<Channel>:COUPling <Coupling> | Channel Coupling. Sets the input coupling of the specified analog voltage channel. | Text; Text: AC,DC,GND,ACRMS,DCRMS,TC,ACCL |
| :CHANnel<Channel>:BWIDth <Bandwidth> | Channel Bandwidth. Sets the bandwidth limit of the specified channel to FULL or a module-specific cutoff frequency. | Text; Text: FULL |
| :CHANnel<Channel>:PROBe <Attenuation> | Channel Probe. Sets the probe attenuation ratio of the specified analog voltage channel. | Text; Number: 1,2,5,10,20,50,100,200,500,1000,2000,5000,10000,20000,50000 |
| :CHANnel<Channel>:INVert ON | Channel Invert On. Turns ON waveform display inversion for the specified channel. | Text |
| :CHANnel<Channel>:INVert OFF | Channel Invert Off. Turns OFF waveform display inversion for the specified channel. | Text |
| :CHANnel<Channel>:IMPedance <Impedance> | Channel Impedance. Sets the input impedance (1 MOhm or Hi-Z) of the specified channel. | Text; Text: M1OHm,HIZ |
| :CHANnel<Channel>:VARiable ON | Channel Variable On. Turns ON variable (fine) vertical scale adjustment for the specified channel. | Text |
| :CHANnel<Channel>:VARiable OFF | Channel Variable Off. Turns OFF variable (fine) vertical scale adjustment for the specified channel (fixed 1-2-5 steps). | Text |
| :CHANnel<Channel>:MODUle? | Channel Module Query. Queries the module type installed at the specified channel/slot. | Text |
| Command | What it does | Arguments |
|---|---|---|
| :TRIGger:TYPE <Type> | Trigger Type. Sets the trigger type used to arm the instrument. | Text: SIMPle,ABN,ADB,AND,EOA,BBETween,BLTime,BGTime,BTOut,OR,TGTime,TLTime,TITime,TOTime,WWINdow |
| :TRIGger:MODE <Mode> | Trigger Mode. Sets the trigger mode (Auto, Auto Level, Normal, Single, Single(N), or On Start). | Text: AUTO,ALEVel,NORMal,SINGle,NSINgle,ONSTart |
| :TRIGger:SIMPle:SOURce <Channel> | Trigger Source. Sets the source channel for a simple trigger (channel number, EXTernal, LINE, TIME, or OFF). | Text |
| :TRIGger:SIMPle:SLOPe <Slope> | Trigger Slope. Sets the trigger slope (rising, falling, or both) for the simple-trigger source channel. | Text: RISE,FALL,BISLope |
| :TRIGger:SIMPle:LEVel <Level> | Trigger Level. Sets the trigger level (in volts, or amps for current channels) of the simple-trigger source channel. | Number |
| :TRIGger:SIMPle:HYSTeresis <Hysteresis> | Trigger Hysteresis. Sets the trigger hysteresis width for simple triggers. | Text: HIGH,LOW,MIDDle |
| :TRIGger:POSition <Position> | Trigger Position. Sets the trigger position as a percentage (0 to 100%) of the record. | Number: 0,100 |
| :TRIGger:HOLDoff:TIME <Time> | Trigger Holdoff. Sets the trigger hold-off time (0 to 10s). | Number |
| :TRIGger:DELay <Time> | Trigger Delay. Sets the trigger delay time (0 to 10s). | Number |
| :TRIGger:SIMPle:EXTernal:SLOPe <Slope> | External Trigger Slope. Sets the slope used for the external trigger input. | Text: FALL,RISE |
| :TRIGger:SCOunt <Count> | Single N Count. Sets the number of trigger events to acquire when the trigger mode is Single(N). | Number: 1,5000 |
| Command | What it does | Arguments |
|---|---|---|
| :CURSor:TYPE <Type> | Cursor Type. Sets the active cursor type on the T-Y waveform display. | Text: OFF,HORizontal,VERTical,MARKer,DEGRee,HAVertical |
| :CURSor:VERTical:TRACe <Channel> | Cursor V Source. Sets the source waveform channel measured by the vertical (time) cursors. | Text |
| :CURSor:VERTical:POSition1 <Position> | Cursor V Position1. Sets vertical cursor 1 position (in divisions) on the T-Y display. | Number: -5,5 |
| :CURSor:VERTical:POSition2 <Position> | Cursor V Position2. Sets vertical cursor 2 position (in divisions) on the T-Y display. | Number: -5,5 |
| :CURSor:VERTical:DX:VALue? | Cursor V DX. Queries the time difference (Delta X) between the two vertical cursors. | None |
| :CURSor:VERTical:X1:VALue? | Cursor V X1 Value. Queries the X-axis (time) value of vertical cursor 1. | None |
| :CURSor:VERTical:Y1:VALue? | Cursor V Y1 Value. Queries the Y-axis (measured) value of vertical cursor 1 on its source waveform. | None |
| :CURSor:HORizontal:TRACe <Channel> | Cursor H Source. Sets the source waveform channel measured by the horizontal (voltage) cursors. | Text |
| :CURSor:HORizontal:POSition1 <Position> | Cursor H Position1. Sets horizontal cursor 1 position (voltage/amplitude) on the T-Y display. | Number |
| :CURSor:HORizontal:POSition2 <Position> | Cursor H Position2. Sets horizontal cursor 2 position (voltage/amplitude) on the T-Y display. | Number |
| :CURSor:HORizontal:DY:VALue? | Cursor H DY. Queries the voltage/amplitude difference (Delta Y) between the two horizontal cursors. | None |
| Command | What it does | Arguments |
|---|---|---|
| :WAVeform:TRACe <Channel> | Waveform Trace. Selects the waveform (channel or MATH<x>) that subsequent WAVeform commands apply to. | Text |
| :WAVeform:FORMat <Format> | Waveform Format. Sets the transmission data format used when sending waveform data. | Text: ASCii,BYTE,WORD,DWORd,SREal,QWORd |
| :WAVeform:STARt <Point> | Waveform Start. Sets the start data point of the waveform range to output. | Number |
| :WAVeform:END <Point> | Waveform End. Sets the end data point of the waveform range to output. | Number |
| :WAVeform:LENGth? | Waveform Length. Queries the total number of data points in the currently selected waveform. | None |
| :WAVeform:RANGe? | Waveform Range. Queries the measurement range used to convert the selected waveform's raw data to physical values. | None |
| :WAVeform:OFFSet? | Waveform Offset. Queries the offset value used to convert the selected waveform's raw data to physical values. | None |
| :WAVeform:SEND? | Waveform Send. Queries the raw waveform data of the currently selected trace (block or ASCII data per WAVeform:FORMat). | None |
| :WAVeform:RECord <Record> | Waveform Record. Selects the history record number that WAVeform commands apply to (0 to -4999). | Number |
| Command | What it does | Arguments |
|---|---|---|
| :DISPlay:FORMat <Format> | Display Format. Sets the display format (number of vertical divisions/zones shown). | Number: 1,2,3,4,5,6,8,12,16 |
| :DISPlay:GRATicule <Type> | Display Grid Type. Sets the graticule (grid) display type. | Text: CROSshair,FRAMe,GRID |
| :DISPlay:INTerpolate <Mode> | Waveform Interpolation. Sets the waveform point interpolation method used on screen. | Text: LINE,OFF,PULSe,SINE |
| :DISPlay:ACCumulate:MODE ON | Accumulate Mode On. Turns ON accumulated (persistence) waveform display mode. | None |
| :DISPlay:ACCumulate:MODE OFF | Accumulate Mode Off. Turns OFF accumulated (persistence) waveform display mode. | None |
| :DISPlay:ACCumulate:PERSistence <Count> | Accumulate Persistence. Sets the number of waveforms to accumulate (2 to 128 in 2n steps, or INFinity). | Text: INFinity |
| :DISPlay:CHANnel<Channel>:COLor <Color> | Channel Color. Sets the waveform trace color for the specified channel. | Text; Text: BLUE,BGReen,CYAN,DBLue,GRAY,GREen,LBLue,LGReen,MAGenta,MGReen,ORANge,PINK,PURPle,RED,SPINk,YELLow |
| :DISPlay:MCANcel | Clear Menu. Clears the menu currently displayed on the screen. | None |
| Command | What it does | Arguments |
|---|---|---|
| :MEASure:MODE <Mode> | Measure Mode. Sets the automated waveform-parameter measurement mode. | Text: OFF,ON,CYCLe,HISTory,STATistics |
| :MEASure:CHANnel<Channel>:<Measurement>:STATe ON | Measurement State On. Turns ON a specific automated waveform-parameter measurement for the selected channel. | Text; Text: AMPLitude,AVERage,AVGFreq,AVGPeriod,DUTYcycle,FALL,FREQuency,HIGH,LOW,MAXimum,MIDDle,MINimum,NOVershoot,NWIDth,PERiod,PNUMber,POVershoot,PTOPeak,PWIDth,RISE,RMS,SDEViation |
| :MEASure:CHANnel<Channel>:<Measurement>:STATe OFF | Measurement State Off. Turns OFF a specific automated waveform-parameter measurement for the selected channel. | Text; Text: AMPLitude,AVERage,AVGFreq,AVGPeriod,DUTYcycle,FALL,FREQuency,HIGH,LOW,MAXimum,MIDDle,MINimum,NOVershoot,NWIDth,PERiod,PNUMber,POVershoot,PTOPeak,PWIDth,RISE,RMS,SDEViation |
| :MEASure:CHANnel<Channel>:<Measurement>:VALue? | Measure Value. Queries the current measured value of the specified waveform parameter for the selected channel. | Text; Text: AMPLitude,AVERage,AVGFreq,AVGPeriod,DUTYcycle,FALL,FREQuency,HIGH,LOW,MAXimum,MIDDle,MINimum,NOVershoot,NWIDth,PERiod,PNUMber,POVershoot,PTOPeak,PWIDth,RISE,RMS,SDEViation |
| :MEASure:ALL ON | Measure All On. Collectively turns ON all measurement items for all traces. | None |
| :MEASure:ALL OFF | Measure All Off. Collectively turns OFF all measurement items for all traces. | None |
| :MEASure:WAIT? <Timeout> | Measure Wait. Waits (up to timeout in units of 100ms) for measurement completion; returns 0 if finished in time. | Number: 1,36000 |
| Command | What it does | Arguments |
|---|---|---|
| :ACQuire:MODE <Mode> | Acquire Mode. Sets the waveform acquisition mode (Normal/Average/Envelope). | Text: NORMal,AVERage,ENVelope |
| :ACQuire:COUNt <Count> | Acquire Count. Sets the number of waveform acquisitions to perform in Normal mode (1 to 65536, or INFinity). | Text: INFinity |
| :ACQuire:AVERage:COUNt <Count> | Average Count. Sets the number of waveform acquisitions to perform during averaging (2 to 65536 in 2n steps, or INFinity). | Text: INFinity |
| :ACQuire:RLENgth <Length> | Record Length. Sets the record length in points (e.g. 10000 to 50000000000 depending on mode). | Number |
| :ACQuire:SMODe <Mode> | System Mode. Sets the system mode to recorder mode or scope mode. | Text: RECorder,SCOPe |
| Command | What it does | Arguments |
|---|---|---|
| :IMAGe:FORMat <Format> | Image Format. Sets the screen-capture image output file format. | Text: BMP,JPEG,PNG |
| :IMAGe:SAVE:NAME <Filename> | Image Save Name. Sets the file name to use when saving a screen capture. | Text |
| :IMAGe:EXECute | Image Execute. Saves the current screen capture to the storage device using the configured format and file name. | None |
| :IMAGe:SEND? | Image Send. Queries the current screen-capture image data as block data. | None |
| :IMAGe:FORMat PNG | Capture. Takes a PNG screenshot, saves it temporarily with a fixed name, waits for file creation, reads the PNG back to the controller, then deletes the temp file. | None |
| Command | What it does | Arguments |
|---|---|---|
| :FILE:SAVE:NAME <Filename> | File Save Name. Sets the file name to use for subsequent data save operations. | Text |
| :FILE:SAVE:SETup:EXECute | Save Setup. Saves the current instrument setup to the file name configured with File_Save_Name. | None |
| :FILE:LOAD:SETup <Filename> | Load Setup. Loads an instrument setup file (without file extension) from the storage device. | Text |
| :FILE:DELete <Filename> | File Delete. Deletes the specified file from the current directory on the storage device. | Text |
| Command | What it does | Arguments |
|---|---|---|
| :TIMebase:TDIV <Time> | Time Scale. Sets the timebase scale (Time/div), from 100ns to 1800s. | Number |
| :TIMebase:SRATe <Frequency> | Sample Rate. Sets the sample rate (5Hz to 200MHz). | Number |
| :TIMebase:SOURce <Source> | Timebase Source. Sets the timebase source to internal or external clock. | Text: INTernal,EXTernal |
| Command | What it does | Arguments |
|---|---|---|
| :COMMunicate:REMote ON | Remote On. Switches the instrument from local to remote mode. | None |
| :COMMunicate:REMote OFF | Remote Off. Switches the instrument from remote to local mode. | None |
| Command | What it does | Arguments |
|---|---|---|
| :STARt | Start. Starts waveform acquisition. | None |
| Command | What it does | Arguments |
|---|---|---|
| :STOP | Stop. Stops waveform acquisition (also stops recording if in progress). | None |
| Command | What it does | Arguments |
|---|---|---|
| :INITialize:EXECute | Initialize Settings. Initializes instrument settings to factory defaults (excludes date/time, communication, and language settings). | None |
| Command | What it does | Arguments |
|---|---|---|
| <Output Variable>=<Equation> | Math. Variable equals an equation like (${Var_name}= ${Var_name}/2) | Number; Text |
| Command | What it does | Arguments |
|---|---|---|
| wait(<ms>) | Wait. Waits for number of milliseconds | Number |
| Command | What it does | Arguments |
|---|---|---|
| save2var <Variable_name> | Save2Variable. Saves last measurement to a variable | Text |
| Command | What it does | Arguments |
|---|---|---|
| *IDN? | Identify. Returns the instrument identification string (manufacturer, model, serial, firmware). | None |
| *RST | Reset. Resets the instrument to its default state. | None |
| *CLS | Clear Status. Clears the standard event register, extended event register, and error queue. | None |
| *TST? | Self Test. Runs the self-test and returns 0 for pass or 1 for failure. | None |
| *CAL? | Self Calibration. Runs internal self-calibration and returns 0 on success or 1 on failure. | None |
| *OPC? | Operation Complete. Returns 1 when all pending overlap commands are complete. | None |
| *WAI | Wait To Continue. Holds execution of the next command until the pending overlap command completes. | None |
This reference is generated from TestFlow's instrument library, which is drafted from Yokogawa's programming documentation for the DL950 and checked when the agent runs it. Ranges, timing, and option-dependent commands are defined by Yokogawa's programming manual: check it before you rely on an edge case. Last updated November 12, 2026.
Yes. The Yokogawa DL950 accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 93 SCPI commands for it: 16 queries that read values or state, and 77 settings and actions.
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?, :TIMebase:SOURce INTernal and :CURSor:VERTical:DX:VALue?.
:CURSor:VERTical:DX:VALue? (cursor v dx). Queries the time difference (Delta X) between the two vertical cursors. The full list of queries is in the command reference on this page, grouped by subsystem.
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 Yokogawa DL950 through the TestFlow desktop app, and writes the report from the measured results.
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.