Remote-control command sets for 7 Fluke instruments from TestFlow's instrument library, each with its arguments and a working PyVISA example.
The library covers 6 multimeters, 1 power supply from Fluke: 620 commands in total, 204 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 Fluke hardware, so every entry is one that drives a real instrument.
56 SCPI commands, 19 queries
97 SCPI commands, 29 queries
114 SCPI commands, 34 queries
61 SCPI commands, 20 queries
113 SCPI commands, 33 queries
118 SCPI commands, 35 queries
61 SCPI commands, 34 queries
These commands appear on more than one Fluke instrument in the library, so a script that uses them carries over between models.
| Command | What it does | Models |
|---|---|---|
| *CLS | Clears all event registers and the error queue. | 7 of 7 |
| *IDN? | Returns the instrument identification string (manufacturer, model, serial, firmware). | 7 of 7 |
| *RST | Resets the instrument to its default state. | 7 of 7 |
| *TRG | Generates a bus trigger when the trigger source is set to BUS. | 7 of 7 |
| *TST? | Runs the self-test and returns 0 for pass or 1 for failure. | 7 of 7 |
| *OPC? | Returns 1 when all pending operations are complete. | 6 of 7 |
| *WAI | Waits until all pending operations are complete before continuing. | 4 of 7 |
| CALCulate:LIMit:LOWer | Sets the lower limit for the limit-test (pass/fail) math operation. | 4 of 7 |
The pattern is the same for every Fluke instrument here: open it through VISA, identify it, then write settings and query values. This example uses the Fluke 45; the full 45 reference has every command.
import pyvisa
rm = pyvisa.ResourceManager()
print(rm.list_resources()) # find the Fluke 45's VISA address
# Paste the address of your Fluke 45 (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("FREQ") # Func Frequency
print(inst.query("FUNC1?")) # Read Function
inst.close()7 Fluke models (multimeter, power supply): 45, 8558A, 8588A, 8808A, 8845A, 8846A, PM 2832. Each page lists every remote-control command TestFlow's agent uses for that instrument, with its arguments.
Yes. Every Fluke 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 Fluke 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 Fluke 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.