Remote-control command sets for 5 Kikusui instruments from TestFlow's instrument library, each with its arguments and a working PyVISA example.
The library covers 2 dynamic loads, 3 power supplies from Kikusui: 153 commands in total, 51 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 Kikusui hardware, so every entry is one that drives a real instrument.
35 SCPI commands, 13 queries
50 SCPI commands, 11 queries
24 SCPI commands, 9 queries
22 SCPI commands, 9 queries
22 SCPI commands, 9 queries
These commands appear on more than one Kikusui instrument in the library, so a script that uses them carries over between models.
| Command | What it does | Models |
|---|---|---|
| *IDN? | Identify the instrument | 5 of 5 |
| *RST | Reset the instrument | 5 of 5 |
| *CLS | Clears status and error registers | 4 of 5 |
| MEASure:CURRent? | Query measured current. | 4 of 5 |
| MEASure:VOLTage? | Query measured voltage. | 4 of 5 |
| SYSTem:ERRor? | Read & remove oldest error/event from queue (FIFO). | 4 of 5 |
| *OPC? | Returns 1 when all pending operations are complete. | 3 of 5 |
| *TST? | Runs the self-test and returns 0 for pass or 1 for failure. | 3 of 5 |
The pattern is the same for every Kikusui instrument here: open it through VISA, identify it, then write settings and query values. This example uses the Kikusui PLZ164WA; the full PLZ164WA reference has every command.
import pyvisa
rm = pyvisa.ResourceManager()
print(rm.list_resources()) # find the Kikusui PLZ164WA's VISA address
# Paste the address of your Kikusui PLZ164WA (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("INP:STAT ON") # Turn On
print(inst.query("MEAS:CURR?")) # Measure current
inst.close()5 Kikusui models (dynamic load, power supply): PLZ164WA, PLZ205W, PAT20-30, PMX18-5A, PWR401L. Each page lists every remote-control command TestFlow's agent uses for that instrument, with its arguments.
Yes. Every Kikusui 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.
Install PyVISA and a VISA backend, list the connected instruments with ResourceManager().list_resources(), open the Kikusui 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.
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 Kikusui instruments 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.