Yokogawa instrument command references

Remote-control command sets for 2 Yokogawa instruments from TestFlow's instrument library, each with its arguments and a working PyVISA example.

The library covers 1 oscilloscope, 1 power analyzer from Yokogawa: 184 commands in total, 32 of them queries that read a value or a setting back. These are the commands TestFlow's agent sends when it automates a test on Yokogawa hardware, so every entry is one that drives a real instrument.

Yokogawa oscilloscopes

Yokogawa power analyzers

Commands shared across Yokogawa instruments

These commands appear on more than one Yokogawa instrument in the library, so a script that uses them carries over between models.

CommandWhat it doesModels
*CAL?Runs internal self-calibration and returns 0 on success or 1 on failure.2 of 2
*CLSClears the standard event register, extended event register, and error queue.2 of 2
*IDN?Returns the instrument identification string (manufacturer, model, serial, firmware).2 of 2
*OPC?Returns 1 when all pending overlap commands are complete.2 of 2
*RSTResets the instrument to its default state.2 of 2
*TST?Runs the self-test and returns 0 for pass or 1 for failure.2 of 2
*WAIHolds execution of the next command until the pending overlap command completes.2 of 2

Control a Yokogawa instrument from Python

The pattern is the same for every Yokogawa instrument here: open it through VISA, identify it, then write settings and query values. This example uses the Yokogawa DL950; the full DL950 reference has every command.

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

Related guides

Frequently asked questions

Which Yokogawa instruments have a command reference here?

2 Yokogawa models (oscilloscope, power analyzer): DL950, WT1806E. Each page lists every remote-control command TestFlow's agent uses for that instrument, with its arguments.

Do Yokogawa instruments use SCPI?

Yes. Every Yokogawa model in TestFlow's library is programmed with SCPI commands over its remote interfaces, including the IEEE 488.2 common commands such as *IDN? and *RST.

How do I control a Yokogawa instrument from Python?

Install PyVISA and a VISA backend, list the connected instruments with ResourceManager().list_resources(), open the Yokogawa instrument by its VISA address (USB, LAN or GPIB), then send commands with write() and read values with query(). Each model page has a working example.

Can I automate Yokogawa instruments 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 your Yokogawa instruments 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.