In TestFlow's instrument library, the Kikusui PLZ164WA takes 35 SCPI commands, 13 of them queries, and the Siglent SDL1020X-E takes 99 SCPI commands, 42 of them queries. That is 64 more on the SDL1020X-E. Counting distinct command headers (the command path without its arguments), 2 are accepted by both, 23 exist only on the PLZ164WA, and 97 only on the SDL1020X-E. 8% of the PLZ164WA's command headers also exist on the SDL1020X-E.
Both libraries have commands under SOUR, MEAS, and SYST. Only the PLZ164WA has INP. Only the SDL1020X-E has TRIGger and SENSe.
Only the SDL1020X-E library has an operation-complete command (*OPC?); the PLZ164WA library has none. Only the PLZ164WA library has an error-queue read (SYSTem:ERRor?); the SDL1020X-E library has none.
TestFlow's library gives the PLZ334WA and PLZ664WA the same command set as the PLZ164WA, so the PLZ164WA column applies to them too. TestFlow's library gives the SDL1030X-E the same command set as the SDL1020X-E, so the SDL1020X-E column applies to it too.
Describe the test; TestFlow's agent uses these command sets to drive your Kikusui PLZ164WA or Siglent SDL1020X-E 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.
| Kikusui PLZ164WA | Siglent SDL1020X-E | |
|---|---|---|
| Commands in TestFlow's library | 35 | 99 |
| Queries (read a value or state) | 13 | 42 |
| Settings and actions | 22 | 57 |
| Subsystems | 8 | 6 |
| Distinct command headers | 25 | 99 |
| Headers the other lacks | 23 | 97 |
| Command language | SCPI | SCPI |
| Operation complete | Not in library | *OPC? |
| Error queue | SYSTem:ERRor? | Not in library |
| Models on this command set | PLZ164WA, PLZ334WA, PLZ664WA | SDL1020X-E, SDL1030X-E |
2 command headers are in both libraries.
| Command | What it does |
|---|---|
| *IDN? | Identify. Identify the instrument |
| *RST | Reset. Reset the instrument |
23 command headers in the PLZ164WA library have no match in the SDL1020X-E library. Below are 11 of them from the 4 largest subsystems; the full list is in the Kikusui PLZ164WA command reference.
| Command | What it does |
|---|---|
| SOUR:FUNC:MODE <Mode> | Mode. Sets the load mode constant(voltage, current, resistance or power) |
| SOUR:FUNC:MODE? | Read Mode. Reads the mode |
| SOUR:CURR <Amp> | Set Current. Sets the current |
| SOUR:CURR? | Read Set Current. Reads set current |
| Command | What it does |
|---|---|
| INP:STAT ON | Turn On. Turns the load on |
| INP:STAT? | Read State. Read the load state (On or off) |
| INP:PROT:CLE | Clear Protection. Clears all protection |
| Command | What it does |
|---|---|
| MEAS:CURR? | Measure current. Measures the current |
| MEAS:VOLT? | Measure volt. Measure the voltage |
| MEAS:POW? | Measure power. Measure the power |
| Command | What it does |
|---|---|
| SYST:ERR? | Read Error. Reads errors |
97 command headers in the SDL1020X-E library have no match in the PLZ164WA library. Below are 17 of them from the 6 largest subsystems; the full list is in the Siglent SDL1020X-E command reference.
| Command | What it does |
|---|---|
| :SOURce:INPut:STATe <state> | Set Input State. Turns the load input on or off. |
| :SOURce:INPut:STATe? | Query Input State. Returns 1 if the load input is on, otherwise 0. |
| :SOURce:SHORt:STATe <state> | Set Short Circuit State. Sets the short circuit status of the load. |
| :SOURce:SHORt:STATe? | Query Short Circuit State. Returns 1 if the short circuit is on, otherwise 0. |
| Command | What it does |
|---|---|
| *CLS | Clear Status. Clears the event registers and the error list. |
| *ESE <number> | Set Standard Event Enable. Sets the bits in the standard event status enable register. |
| *ESE? | Query Standard Event Enable. Returns the standard event status enable register value. |
| *ESR? | Query Standard Event Status. Returns and clears the standard event status register. |
| Command | What it does |
|---|---|
| MEASure:VOLTage:DC? | Measure Voltage. Returns the real-time voltage measurement. |
| MEASure:CURRent:DC? | Measure Current. Returns the real-time current measurement. |
| MEASure:POWer:DC? | Measure Power. Returns the real-time power measurement. |
| MEASure:RESistance:DC? | Measure Resistance. Returns the real-time resistance measurement. |
| Command | What it does |
|---|---|
| SENSe:AVERage:COUNt <index> | Set Average Count. Sets the averaging point count for read-back current and voltage. |
| SENSe:AVERage:COUNt? | Query Average Count. Returns the averaging point count index. |
| Command | What it does |
|---|---|
| TRIGger:SOURce <source> | Set Trigger Source. Sets the trigger source of the load. |
| TRIGger:SOURce? | Query Trigger Source. Returns the trigger source. |
| Command | What it does |
|---|---|
| SYSTem:SENSe:STATe <state> | Set Sense State. Enables or disables the Sense function. |
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: INP:STAT ON on the PLZ164WA and :SOURce:LIST:STATe:ON on the SDL1020X-E. For the reading, the two libraries have no common command with a worked example on both, so each instrument uses its own: MEAS:CURR? on the PLZ164WA and MEASure:VOLTage:DC? on the SDL1020X-E. 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_PLZ164WA_ADDRESS") # Kikusui PLZ164WA
b = rm.open_resource("PASTE_SDL1020X_E_ADDRESS") # Siglent SDL1020X-E
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("INP:STAT ON") # Turn On
b.write(":SOURce:LIST:STATe:ON") # Enter List Test
# No shared reading with an example on both, so each uses its own command
print(a.query("MEAS:CURR?")) # Measure current
print(b.query("MEASure:VOLTage:DC?")) # Measure Voltage
a.close()
b.close()Describe the test; TestFlow's agent uses these command sets to drive your Kikusui PLZ164WA or Siglent SDL1020X-E and writes the report from the measured results.
In TestFlow's library the PLZ164WA has 35 SCPI commands and the SDL1020X-E has 99 SCPI commands. 2 command headers are common to both, 23 are only on the PLZ164WA (mostly SOUR and INP), and 97 are only on the SDL1020X-E (mostly SOURce and IEEE 488.2 common (*)).
Partly. 2 command headers are accepted by both. 120 are not, for example SOUR:FUNC:MODE on the PLZ164WA and :SOURce:INPut:STATe on the SDL1020X-E, so a script that uses those needs a separate branch for each instrument.
The SDL1020X-E: 35 commands for the PLZ164WA against 99 for the SDL1020X-E in TestFlow's library. Of those, 13 on the PLZ164WA and 42 on the SDL1020X-E are queries that read a value or state, and the library splits them into 8 and 6 subsystems.
Only the SDL1020X-E library has an operation-complete command (*OPC?); the PLZ164WA library has none. Only the PLZ164WA library has an error-queue read (SYSTem:ERRor?); the SDL1020X-E library has none. 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.