The B&K Precision 5491B multimeter is controlled remotely with SCPI commands. TestFlow's instrument library holds 42 commands for it, 14 of them queries that read values or state, grouped below by subsystem with their arguments. It is the same library TestFlow's AI agent uses to drive the 5491B on a real bench.
Commands
42
Queries
14
Subsystems
13
Models covered
1
Run this on your bench
Describe the test; TestFlow's agent uses this command set to drive your B&K Precision 5491B and writes the report from the measured results.
With PyVISA, any VISA backend, and the instrument on USB, LAN or GPIB, this opens a session, identifies the instrument, sends one setting, and reads one value. Every command in it comes from the reference below. For a full walkthrough, see the PyVISA tutorial and the SCPI command cheat sheet.
Describe the test in a sentence, for example “func dcv on the 5491B, then measure dcv and log it against a limit”. TestFlow's agent builds the steps from this command library, runs them on your bench through the TestFlow desktop app, and writes the report from the measured values. See AI test automation for lab instruments for how that works and where it stops.
Set Rel Offset. Sets the reference value used by the relative (null) operation.
Text: VOLTage:DC,VOLTage:AC,CURRent:DC,CURRent:AC,RESistance,FREQuency,PERiod; Number
<Output Variable>=<Equation>
Math. Variable equals an equation like (${Var_name}= ${Var_name}/2)
Number; Text
Voltage (VOLTage) (4)
Command
What it does
Arguments
VOLTage:DC:RANGe:UPPer <Range>
Set DCV Range. Sets the DC voltage measurement range in volts.
Number: 0.2,2,20,200,1000
VOLTage:AC:RANGe:UPPer <Range>
Set ACV Range. Sets the AC voltage measurement range in volts.
Number: 0.2,2,20,200,750
VOLTage:DC:RANGe:AUTO ON
DCV Autorange On. Enables autorange for DC voltage.
None
VOLTage:DC:RANGe:AUTO OFF
DCV Autorange Off. Disables autorange for DC voltage.
None
RES subsystem (3)
Command
What it does
Arguments
RESistance:RANGe:UPPer <Range>
Set Resistance Range. Sets the 2-wire resistance measurement range in ohms.
Number: 0-20e6
RESistance:RANGe:AUTO ON
Resistance Autorange On. Enables autorange for resistance.
None
RESistance:RANGe:AUTO OFF
Resistance Autorange Off. Disables autorange for resistance.
None
Current (CURRent) (2)
Command
What it does
Arguments
CURRent:DC:RANGe:UPPer <Range>
Set DCI Range. Sets the DC current measurement range in amps.
Number: 0-20
CURRent:AC:RANGe:UPPer <Range>
Set ACI Range. Sets the AC current measurement range in amps.
Number: 0-20
Read (READ) (1)
Command
What it does
Arguments
READ?
Read Value. Triggers and returns one new measurement of the active function.
None
Fetch (FETCh) (1)
Command
What it does
Arguments
FETCh?
Fetch Value. Returns the last measurement without re-triggering.
None
Trigger (TRIGger) (1)
Command
What it does
Arguments
:TRIGger:SOURce <Source>
Set Trigger Source. Sets the trigger source.
Text: IMMediate,EXTernal,BUS
System (SYSTem) (1)
Command
What it does
Arguments
:SYSTem:ERRor?
Read Error. Reads the first message from the error queue.
None
WAIT subsystem (1)
Command
What it does
Arguments
wait(<ms>)
Wait. Waits for number of milliseconds
Number
SAVE subsystem (1)
Command
What it does
Arguments
save2var <Variable_name>
Save2Variable. Saves last measurement to a variable
Text
IEEE 488.2 common commands (3)
Command
What it does
Arguments
*IDN?
Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).
None
*RST
Reset. Resets the instrument to its default state.
None
*TRG
Trigger Bus. Generates a bus trigger when the instrument is in wait-for-trigger state.
None
Where these commands come from
This reference is generated from TestFlow's instrument library, which is drafted from B&K Precision's programming documentation for the 5491B and checked when the agent runs it. Ranges, timing, and option-dependent commands are defined by B&K Precision's programming manual: check it before you rely on an edge case. Last updated November 17, 2026.
Frequently asked questions
Does the B&K Precision 5491B support SCPI remote control?
Yes. The B&K Precision 5491B accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 42 SCPI commands for it: 14 queries that read values or state, and 28 settings and actions.
How do I control the B&K Precision 5491B from Python?
Install PyVISA and a VISA backend, find the instrument's address with ResourceManager().list_resources(), open it, then send commands with write() and read values with query(). The example on this page sends *IDN?, FUNCtion "VOLT:DC" and MEASure:VOLTage:DC?.
Which command reads a value from the B&K Precision 5491B?
MEASure:VOLTage:DC? (measure dcv). Configures DC voltage and returns one measured value in volts. The full list of queries is in the command reference on this page, grouped by subsystem.
Can I automate the B&K Precision 5491B without writing code?
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 the B&K Precision 5491B through the TestFlow desktop app, and writes the report from the measured results.
Your next test, automated today
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.