Remote-control command sets for 4 Elektro-Automatik instruments from TestFlow's instrument library, each with its arguments and a working PyVISA example.
The library covers 2 dynamic loads, 2 power supplies from Elektro-Automatik: 227 commands in total, 88 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 Elektro-Automatik hardware, so every entry is one that drives a real instrument.
96 SCPI commands, 29 queries
45 SCPI commands, 20 queries
59 SCPI commands, 29 queries
27 SCPI commands, 10 queries
These commands appear on more than one Elektro-Automatik instrument in the library, so a script that uses them carries over between models.
| Command | What it does | Models |
|---|---|---|
| *IDN? | Returns the instrument identification string (manufacturer model serial number and firmware). Global command. | 4 of 4 |
| *CLS | Clears the error queue the status byte (STB) and the Event Status Register (ESR). Global command. | 3 of 4 |
| *RST | Resets the device to a defined state switches all DC terminals off and clears the alarm buffer. Global command. | 3 of 4 |
| *STB? | Reads the Status Byte register. Global command. | 3 of 4 |
| SYSTem:ERRor? | Reads the next error from the SCPI error queue and acknowledges device alarms. The return includes a channel marker. | 3 of 4 |
| SYSTem:LOCK | Activates remote control of the device. Remote control is global for all three channels. Must be sent before any setting or status changing command. | 3 of 4 |
| *ESE | Sets the Event Status Enable register a signal filter for the ESR. Global command. | 2 of 4 |
| *ESR? | Reads the Event Status Register related to command transfer and execution. Global command. | 2 of 4 |
The pattern is the same for every Elektro-Automatik instrument here: open it through VISA, identify it, then write settings and query values. This example uses the Elektro-Automatik BT 20010-400 Triple; the full BT 20010-400 Triple reference has every command.
import pyvisa
rm = pyvisa.ResourceManager()
print(rm.list_resources()) # find the Elektro-Automatik BT 20010-400 Triple's VISA address
# Paste the address of your Elektro-Automatik BT 20010-400 Triple (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("OUTPut ON,(@1)") # Turn On
print(inst.query("MEASure:VOLTage? (@1)")) # Measure Voltage
inst.close()4 Elektro-Automatik models (dynamic load, power supply): BT 20010-400 Triple, BT 20010-600, EA PSB-11000-80, EA-PSI 9080-40. Each page lists every remote-control command TestFlow's agent uses for that instrument, with its arguments.
Yes. Every Elektro-Automatik 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 Elektro-Automatik 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 Elektro-Automatik 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.