Multimeter · SCPI command reference

B&K Precision 5492B SCPI commands

The B&K Precision 5492B multimeter is controlled remotely with SCPI commands. TestFlow's instrument library holds 52 commands for it, 16 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 5492B on a real bench.

Commands
52
Queries
16
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 5492B and writes the report from the measured results.

Get started

Control the B&K Precision 5492B from Python

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.

import pyvisa

rm = pyvisa.ResourceManager()
print(rm.list_resources())  # find the B&K Precision 5492B's VISA address

# Paste the address of your B&K Precision 5492B (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("FUNCtion \"VOLT:DC\"")  # Func DCV
print(inst.query("MEASure:VOLTage:DC?"))  # Measure DCV

inst.close()

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your B&K Precision 5492B and writes the report from the measured results.

Get started

Run a 5492B test without writing code

Describe the test in a sentence, for example “func dcv on the 5492B, 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.

Get started

SCPI command reference

52 commands in 13 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values.

Function (FUNCtion) (11)

CommandWhat it doesArguments
FUNCtion "VOLT:DC"Func DCV. Selects DC voltage as the active measurement function.None
FUNCtion "VOLT:AC"Func ACV. Selects AC voltage as the active measurement function.None
FUNCtion "CURR:DC"Func DCI. Selects DC current as the active measurement function.None
FUNCtion "CURR:AC"Func ACI. Selects AC current as the active measurement function.None
FUNCtion "RES"Func 2W Resistance. Selects 2-wire resistance as the active measurement function.None
FUNCtion "FRES"Func 4W Resistance. Selects 4-wire resistance as the active measurement function.None
FUNCtion "FREQ"Func Frequency. Selects frequency as the active measurement function.None
FUNCtion "PER"Func Period. Selects period as the active measurement function.None
FUNCtion "CONT"Func Continuity. Selects continuity as the active measurement function.None
FUNCtion "DIOD"Func Diode. Selects diode test as the active measurement function.None
FUNCtion?Read Function. Queries the present measurement function.None

Measurement (MEASure) (9)

CommandWhat it doesArguments
MEASure:VOLTage:DC?Measure DCV. Configures DC voltage and returns one measured value in volts.None
MEASure:VOLTage:AC?Measure ACV. Configures AC voltage and returns one measured value in volts.None
MEASure:CURRent:DC?Measure DCI. Configures DC current and returns one measured value in amps.None
MEASure:CURRent:AC?Measure ACI. Configures AC current and returns one measured value in amps.None
MEASure:RESistance?Measure 2W Resistance. Configures 2-wire resistance and returns one measured value in ohms.None
MEASure:FRESistance?Measure 4W Resistance. Configures 4-wire resistance and returns one measured value in ohms.None
MEASure:FREQuency?Measure Frequency. Configures frequency and returns one measured value in Hz.None
MEASure:PERiod?Measure Period. Configures period and returns one measured value in seconds.None
MEASure:DIODe?Measure Diode. Configures diode test and returns the forward voltage in volts.None

Sense (SENSe) (9)

CommandWhat it doesArguments
:SENSe:VOLTage:DC:RANGe <Range>Set DCV Range. Sets the DC voltage measurement range in volts.Number
:SENSe:VOLTage:AC:RANGe <Range>Set ACV Range. Sets the AC voltage measurement range in volts.Number
:SENSe:CURRent:DC:RANGe <Range>Set DCI Range. Sets the DC current measurement range in amps.Number
:SENSe:CURRent:AC:RANGe <Range>Set ACI Range. Sets the AC current measurement range in amps.Number
:SENSe:RESistance:RANGe <Range>Set Resistance Range. Sets the 2-wire resistance measurement range in ohms.Number
:SENSe:VOLTage:DC:RANGe:AUTO ONDCV Autorange On. Enables autorange for DC voltage.None
:SENSe:VOLTage:DC:RANGe:AUTO OFFDCV Autorange Off. Disables autorange for DC voltage.None
:SENSe:RESistance:RANGe:AUTO ONResistance Autorange On. Enables autorange for resistance.None
:SENSe:RESistance:RANGe:AUTO OFFResistance Autorange Off. Disables autorange for resistance.None

Other subsystem (5)

CommandWhat it doesArguments
<Function>:NPLCycles <NPLC>Set Rate. Sets the measurement integration rate (reading speed).Text: VOLTage:DC,VOLTage:AC,CURRent:DC,CURRent:AC,RESistance,FRESistance; Number: 0.1-10
<Function>:REFerence:STATe ONRel On. Enables the relative (null) operation.Text: VOLTage:DC,VOLTage:AC,CURRent:DC,CURRent:AC,RESistance,FRESistance,FREQuency,PERiod
<Function>:REFerence:STATe OFFRel Off. Disables the relative (null) operation.Text: VOLTage:DC,VOLTage:AC,CURRent:DC,CURRent:AC,RESistance,FRESistance,FREQuency,PERiod
<Function>:REFerence <Offset>Set Rel Offset. Sets the reference value used by the relative (null) operation.Text: VOLTage:DC,VOLTage:AC,CURRent:DC,CURRent:AC,RESistance,FRESistance,FREQuency,PERiod; Number
<Output Variable>=<Equation>Math. Variable equals an equation like (${Var_name}= ${Var_name}/2)Number; Text

Calculate (CALCulate) (5)

CommandWhat it doesArguments
CALCulate2:STATe ONMinMax On. Enables the min/max/average statistics operation.None
CALCulate2:STATe OFFMinMax Off. Disables the min/max/average statistics operation.None
CALCulate2:FORMat MINimum;:CALCulate2:DATA?Read Min. Returns the minimum of the collected statistics.None
CALCulate2:FORMat MAXimum;:CALCulate2:DATA?Read Max. Returns the maximum of the collected statistics.None
CALCulate2:FORMat MEAN;:CALCulate2:DATA?Read Average. Returns the average of the collected statistics.None

UNIT subsystem (4)

CommandWhat it doesArguments
UNIT:VOLTage:AC DBDB On. Enables the dB math operation.None
UNIT:VOLTage:AC VDB Off. Disables the dB math operation.None
UNIT:VOLTage:AC DBMDBm On. Enables the dBm math operation.None
UNIT:VOLTage:AC:DBM:IMPedance <Impedance>Set dBm Reference. Sets the dBm reference resistance in ohms.Number: 1-9999

Read (READ) (1)

CommandWhat it doesArguments
READ?Read Value. Triggers and returns one new measurement of the active function.None

Fetch (FETCh) (1)

CommandWhat it doesArguments
FETCh?Fetch Value. Returns the last measurement without re-triggering.None

Trigger (TRIGger) (1)

CommandWhat it doesArguments
:TRIGger:SOURce <Source>Set Trigger Source. Sets the trigger source.Text: IMMediate,EXTernal,BUS

Initiate (INITiate) (1)

CommandWhat it doesArguments
:INITiateInit Trigger. Places the meter in the wait-for-trigger state.None

WAIT subsystem (1)

CommandWhat it doesArguments
wait(<ms>)Wait. Waits for number of millisecondsNumber

SAVE subsystem (1)

CommandWhat it doesArguments
save2var <Variable_name>Save2Variable. Saves last measurement to a variableText

IEEE 488.2 common commands (3)

CommandWhat it doesArguments
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).None
*RSTReset. Resets the instrument to its default state.None
*TRGTrigger 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 5492B 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 5492B support SCPI remote control?

Yes. The B&K Precision 5492B accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 52 SCPI commands for it: 16 queries that read values or state, and 36 settings and actions.

How do I control the B&K Precision 5492B 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 5492B?

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 5492B 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 5492B 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.