Power Supply · SCPI command comparison

Keysight E36233A vs E36311A: SCPI commands and remote control compared

In TestFlow's instrument library, the Keysight E36233A takes 29 SCPI commands, 5 of them queries, and the Keysight E36311A takes 26 SCPI commands, 9 of them queries. That is 3 more on the E36233A. Counting distinct command headers (the command path without its arguments), 2 are accepted by both, 21 exist only on the E36233A, and 16 only on the E36311A. 9% of the E36233A's command headers also exist on the E36311A.

Both libraries have commands under OUTPut, SOURce, MEASure, and SYSTem. Only the E36233A has DISPlay, CURR, and SENSe.

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

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

E36233A commands
29
E36311A commands
26
Shared headers
2
Unique headers
37

Run this on your bench

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

Get started

E36233A vs E36311A 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 E36233AKeysight E36311A
Commands in TestFlow's library2926
Queries (read a value or state)59
Settings and actions2417
Subsystems108
Distinct command headers2318
Headers the other lacks2116
Command languageSCPISCPI
Operation completeNot in library*OPC?
Error queueSYSTem:ERRor?SYSTem:ERRor?
Models on this command setE36233A, E36234AE36311A, E36312A

Commands both accept

2 command headers are in both libraries. Where the E36311A library writes the command differently, its form is shown under the E36233A's.

CommandWhat it does
MEASure:CURRent? (@<Channel>)E36311A: MEASure:CURRent? (@<Channel>)Measure current. Measures the power supply current
SYST:ERR?E36311A: SYSTem:ERRor?Check errors. Checks if there is an error

Only on the Keysight E36233A

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

OUTPut (6 only on the E36233A)

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

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:LEVel:IMMediate:STEP:INCRement <current> , (@<Channel>)Current step. Sets the current step value

CURR (3 only on the E36233A)

CommandWhat it does
CURR:PROT:CLE (@<Channel>)Clear protection. Clears the current protection value
CURR:PROT:STAT ON, (@<Channel>)Enable protection. Enables the current protection
CURR:PROT:TRIP?Check protection. Checks if protection tripped or not

DISPlay (3 only on the E36233A)

CommandWhat it does
DISPlay:TEXT:DATA "<Message>"Display text. Display text on power supply screen
DISPlay:WINDow:TEXT:DATA ""Display clear. Clears display text
DISPlay:WINDow:STATe ONDisplay ON. Enable text display on power supply screen

SENSe (2 only on the E36233A)

CommandWhat it does
SENSe:DLOG:FUNCtion:CURRent <ON | OFF> , (@<Channel>)Sense current. Sets the sense function to sens current
SENSe:DLOG:FUNCtion:VOLTage <ON | OFF> , (@<Channel>)Sense volt. Sets the sense function to sens voltage

MEASure (1 only on the E36233A)

CommandWhat it does
MEASure:VOLTage:DC? (@<Channel>)Measure voltage. Measures the power supply voltage

Only on the Keysight E36311A

16 command headers in the E36311A library have no match in the E36233A library. Below are 11 of them from the 4 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.

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:STATe ON, (@1) on the E36233A and OUTPut ON,(@1) on the E36311A. For the reading, both libraries hold MEASure:CURRent? (measure current); the E36311A 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_E36233A_ADDRESS")  # Keysight E36233A
b = rm.open_resource("PASTE_E36311A_ADDRESS")  # Keysight E36311A
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:STATe ON, (@1)")  # Turn On
b.write("OUTPut ON,(@1)")  # Turn On CH1

# 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 E36233A or Keysight E36311A and writes the report from the measured results.

Get started

Frequently asked questions

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

In TestFlow's library the E36233A has 29 SCPI commands and the E36311A has 26 SCPI commands. 2 command headers are common to both, 21 are only on the E36233A (mostly OUTPut and SOURce), and 16 are only on the E36311A (mostly IEEE 488.2 common (*) and SOURce).

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

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

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

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

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

Only the E36311A library has an operation-complete command (*OPC?); the E36233A 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.