Power Supply · SCPI command comparison

Keysight E36311A vs EDU36311A: SCPI commands and remote control compared

In TestFlow's instrument library, the Keysight E36311A takes 26 SCPI commands, 9 of them queries, and the Keysight EDU36311A takes 24 SCPI commands, 6 of them queries. That is 2 more on the E36311A. Counting distinct command headers (the command path without its arguments), 1 are accepted by both, 17 exist only on the E36311A, and 18 only on the EDU36311A. 6% of the E36311A's command headers also exist on the EDU36311A.

Both libraries have commands under OUTPut, SOURce, MEASure, and SYSTem. Only the EDU36311A has DISPlay, VOLTage, and APPLy.

Only the E36311A library has an operation-complete command (*OPC?); the EDU36311A library has none. Both libraries read errors with SYSTem:ERRor?.

TestFlow's library gives the E36312A the same command set as the E36311A, so the E36311A column applies to it too.

E36311A commands
26
EDU36311A commands
24
Shared headers
1
Unique headers
35

Run this on your bench

Describe the test; TestFlow's agent uses these command sets to drive your Keysight E36311A or Keysight EDU36311A and writes the report from the measured results.

Get started

E36311A vs EDU36311A at a glance

Counts come from TestFlow's instrument library, the command sets its AI agent uses to drive each instrument. A distinct command header is the command path without its arguments, so :OUTPut ON and :OUTPut OFF count once.

Keysight E36311AKeysight EDU36311A
Commands in TestFlow's library2624
Queries (read a value or state)96
Settings and actions1718
Subsystems810
Distinct command headers1819
Headers the other lacks1718
Command languageSCPISCPI
Operation complete*OPC?Not in library
Error queueSYSTem:ERRor?SYSTem:ERRor?
Models on this command setE36311A, E36312AEDU36311A

Commands both accept

1 command header is in both libraries. Where the EDU36311A library writes the command differently, its form is shown under the E36311A's.

CommandWhat it does
MEASure:CURRent? (@<Channel>)EDU36311A: MEASure:CURRent? (@<Channel>)Measure Current. Measures the output current of the selected channel in amps.

Only on the Keysight E36311A

17 command headers in the E36311A library have no match in the EDU36311A library. Below are 12 of them from the 5 largest subsystems; the full list is in the Keysight E36311A command reference.

IEEE 488.2 common (*) (8 only on the E36311A)

CommandWhat it does
*SAV <Slot>Save State. Saves the current instrument state to the specified storage slot.
*RCL <Slot>Recall State. Recalls an instrument state from the specified storage slot.
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).
*RSTReset. Resets the instrument to its default state.

SOURce (5 only on the E36311A)

CommandWhat it does
SOURce:VOLTage <Volt>,(@<Channel>)Set Voltage. Sets the output voltage of the selected channel in volts.
SOURce:VOLTage? (@<Channel>)Read Voltage Setting. Reads the set output voltage of the selected channel.
SOURce:CURRent <Amp>,(@<Channel>)Set Current. Sets the output current limit of the selected channel in amps.
SOURce:CURRent? (@<Channel>)Read Current Setting. Reads the set output current limit of the selected channel.

OUTPut (2 only on the E36311A)

CommandWhat it does
OUTPut ON,(@1)Turn On CH1. Enables the output of channel 1.
OUTPut? (@<Channel>)Read Output State. Reads whether the selected channel output is ON or OFF.

MEASure (1 only on the E36311A)

CommandWhat it does
MEASure:VOLTage? (@<Channel>)Measure Voltage. Measures the output voltage of the selected channel in volts.

SYSTem (1 only on the E36311A)

CommandWhat it does
SYSTem:ERRor?Read Error. Reads the first message from the error queue.

Only on the Keysight EDU36311A

18 command headers in the EDU36311A library have no match in the E36311A library. Below are 15 of them from the 6 largest subsystems; the full list is in the Keysight EDU36311A command reference.

OUTPut (5 only on the EDU36311A)

CommandWhat it does
OUTPut:STATe ON, (@<Channel>)Turn On. Turning on the power supply
OUTPut:STATe? (@<Channel>)Status. Reads if the power supply is ON or OFF
OUTPut:STATe:DELay:FALL <delay> , (@<Channel>)State fall delay. Sets the falling delay
OUTPut:STATe:DELay:RISE <delay> , (@<Channel>)State rise delay. Sets the rising delay

SOURce (5 only on the EDU36311A)

CommandWhat it does
SOURce:CURRent:LEVel:IMMediate:AMPLitude <current>, (@<Channel>)Set Current. Sets the power supply current limit
SOURce:VOLTage:LEVel:IMMediate:AMPLitude <voltage> , (@<Channel>)Set voltage. Sets the power supply voltage
SOURce:CURRent:TRIGgered <current> , (@<Channel>)Current trigger. Sets the current trigger
SOURce:CURRent:PROTection:STATe <State>, (@<Channel>)Current protection. Sets the current protection limit

SYSTem (3 only on the EDU36311A)

CommandWhat it does
SYSTem:BEEPer:STATe <ON | OFF>Beep. Sets the beeper on or off
SYSTem:<LOCal/REMote>Sys remote. Sets the control to remote or local
SYSTem:ERRor:NEXT?Read errors. Reads errors on the power supply

VOLTage (2 only on the EDU36311A)

CommandWhat it does
VOLTage:RANGe <range> ,(@<Channel>)Voltage range. Sets the voltage range
VOLTage:RANGe? (@<Channel>)Read Votl range. Reads the setted voltage range

APPLy (1 only on the EDU36311A)

CommandWhat it does
APPLy <Channel>, <Voltage>, <Current>Apply. Sets the voltage and current together

DISPlay (1 only on the EDU36311A)

CommandWhat it does
DISPlay:WINDow:STATe ONDisplay ON. Enables the display

Control both from Python

With PyVISA and any VISA backend, this opens both instruments, identifies them, sends one setting, and reads one value from each. For the setting, the two libraries have no common command with a worked example on both, so each instrument uses its own: OUTPut ON,(@1) on the E36311A and OUTPut:STATe ON, (@1) on the EDU36311A. For the reading, both libraries hold MEASure:CURRent? (measure current); the EDU36311A library writes it as MEASure:CURRent? (@1). For the basics, see the PyVISA tutorial.

import pyvisa

rm = pyvisa.ResourceManager()
print(rm.list_resources())  # find both VISA addresses

a = rm.open_resource("PASTE_E36311A_ADDRESS")  # Keysight E36311A
b = rm.open_resource("PASTE_EDU36311A_ADDRESS")  # Keysight EDU36311A
for inst in (a, b):
    inst.timeout = 5000  # ms
    print(inst.query("*IDN?"))

# No shared setting with an example on both, so each uses its own command
a.write("OUTPut ON,(@1)")  # Turn On CH1
b.write("OUTPut:STATe ON, (@1)")  # Turn On

# The same reading on both: Measure Current
print(a.query("MEASure:CURRent? (@1)"))
print(b.query("MEASure:CURRent?  (@1)"))

a.close()
b.close()

Run this on your bench

Describe the test; TestFlow's agent uses these command sets to drive your Keysight E36311A or Keysight EDU36311A and writes the report from the measured results.

Get started

Frequently asked questions

What is the difference between the Keysight E36311A and the Keysight EDU36311A for remote control?

In TestFlow's library the E36311A has 26 SCPI commands and the EDU36311A has 24 SCPI commands. 1 command headers are common to both, 17 are only on the E36311A (mostly IEEE 488.2 common (*) and SOURce), and 18 are only on the EDU36311A (mostly OUTPut and SOURce).

Can I use the same SCPI code for the Keysight E36311A and the Keysight EDU36311A?

Partly. 1 command headers are accepted by both, including MEASure:CURRent?. 35 are not, for example *SAV on the E36311A and OUTPut:STATe on the EDU36311A, so a script that uses those needs a separate branch for each instrument.

Which has more remote commands, the E36311A or the EDU36311A?

The E36311A: 26 commands for the E36311A against 24 for the EDU36311A in TestFlow's library. Of those, 9 on the E36311A and 6 on the EDU36311A are queries that read a value or state, and the library splits them into 8 and 10 subsystems.

How do the E36311A and EDU36311A signal operation complete and report errors?

Only the E36311A library has an operation-complete command (*OPC?); the EDU36311A library has none. Both libraries read errors with SYSTem:ERRor?. Each command named here is listed in the tables on this page and on each instrument's command reference.

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.