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.
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.
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 E36311A | Keysight EDU36311A | |
|---|---|---|
| Commands in TestFlow's library | 26 | 24 |
| Queries (read a value or state) | 9 | 6 |
| Settings and actions | 17 | 18 |
| Subsystems | 8 | 10 |
| Distinct command headers | 18 | 19 |
| Headers the other lacks | 17 | 18 |
| Command language | SCPI | SCPI |
| Operation complete | *OPC? | Not in library |
| Error queue | SYSTem:ERRor? | SYSTem:ERRor? |
| Models on this command set | E36311A, E36312A | EDU36311A |
1 command header is in both libraries. Where the EDU36311A library writes the command differently, its form is shown under the E36311A's.
| Command | What it does |
|---|---|
| MEASure:CURRent? (@<Channel>)EDU36311A: MEASure:CURRent? (@<Channel>) | Measure Current. Measures the output current of the selected channel in amps. |
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.
| Command | What 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). |
| *RST | Reset. Resets the instrument to its default state. |
| Command | What 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. |
| Command | What 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. |
| Command | What it does |
|---|---|
| MEASure:VOLTage? (@<Channel>) | Measure Voltage. Measures the output voltage of the selected channel in volts. |
| Command | What it does |
|---|---|
| SYSTem:ERRor? | Read Error. Reads the first message from the error queue. |
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.
| Command | What 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 |
| Command | What 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 |
| Command | What 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 |
| Command | What it does |
|---|---|
| VOLTage:RANGe <range> ,(@<Channel>) | Voltage range. Sets the voltage range |
| VOLTage:RANGe? (@<Channel>) | Read Votl range. Reads the setted voltage range |
| Command | What it does |
|---|---|
| APPLy <Channel>, <Voltage>, <Current> | Apply. Sets the voltage and current together |
| Command | What it does |
|---|---|
| DISPlay:WINDow:STATe ON | Display ON. Enables the display |
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()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.
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).
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.
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.
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.
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.