Remote-control command sets for 2 Tescom instruments from TestFlow's instrument library, each with its arguments and a working PyVISA example.
The library covers 2 radio test sets from Tescom: 376 commands in total, 171 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 Tescom hardware, so every entry is one that drives a real instrument.
60 SCPI commands, 31 queries
316 SCPI commands, 140 queries
These commands appear on more than one Tescom 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, firmware). | 2 of 2 |
The pattern is the same for every Tescom instrument here: open it through VISA, identify it, then write settings and query values. This example uses the Tescom MTP120A; the full MTP120A reference has every command.
import pyvisa
rm = pyvisa.ResourceManager()
print(rm.list_resources()) # find the Tescom MTP120A's VISA address
# Paste the address of your Tescom MTP120A (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("SOURce:GENerator:OUT_A1:STATe ON") # Generator On
print(inst.query("READ:LINK:BT_A:CONNected:BDADdress?")) # Read BT Connected Address
inst.close()2 Tescom models (radio test set): MTP120A, MTP300A. Each page lists every remote-control command TestFlow's agent uses for that instrument, with its arguments.
Yes. Every Tescom 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 Tescom 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 Tescom 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.