The B&K Precision 5493C multimeter is controlled remotely with SCPI commands. TestFlow's instrument library holds 54 commands for it, 17 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 5493C on a real bench.
Describe the test; TestFlow's agent uses this command set to drive your B&K Precision 5493C 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.
import pyvisa
rm = pyvisa.ResourceManager()
print(rm.list_resources()) # find the B&K Precision 5493C's VISA address
# Paste the address of your B&K Precision 5493C (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("CONFigure:VOLTage:DC") # Func DCV
print(inst.query("MEASure:VOLTage:DC?")) # Measure DCV
inst.close()Describe the test; TestFlow's agent uses this command set to drive your B&K Precision 5493C and writes the report from the measured results.
Describe the test in a sentence, for example “func dcv on the 5493C, 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.
54 commands in 12 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values.
| Command | What it does | Arguments |
|---|---|---|
| CONFigure:VOLTage:DC | Func DCV. Selects DC voltage as the active measurement function. | None |
| CONFigure:VOLTage:AC | Func ACV. Selects AC voltage as the active measurement function. | None |
| CONFigure:CURRent:DC | Func DCI. Selects DC current as the active measurement function. | None |
| CONFigure:CURRent:AC | Func ACI. Selects AC current as the active measurement function. | None |
| CONFigure:RESistance | Func 2W Resistance. Selects 2-wire resistance as the active measurement function. | None |
| CONFigure:FRESistance | Func 4W Resistance. Selects 4-wire resistance as the active measurement function. | None |
| CONFigure:FREQuency | Func Frequency. Selects frequency as the active measurement function. | None |
| CONFigure:PERiod | Func Period. Selects period as the active measurement function. | None |
| CONFigure:CONTinuity | Func Continuity. Selects continuity as the active measurement function. | None |
| CONFigure:DIODe | Func Diode. Selects diode test as the active measurement function. | None |
| CONFigure? | Read Function. Queries the present measurement function. | None |
| Command | What it does | Arguments |
|---|---|---|
| :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 ON | DCV Autorange On. Enables autorange for DC voltage. | None |
| :SENSe:VOLTage:DC:RANGe:AUTO OFF | DCV Autorange Off. Disables autorange for DC voltage. | None |
| :SENSe:RESistance:RANGe:AUTO ON | Resistance Autorange On. Enables autorange for resistance. | None |
| :SENSe:RESistance:RANGe:AUTO OFF | Resistance Autorange Off. Disables autorange for resistance. | None |
| SENSe:<Function>:NPLC <NPLC> | Set Rate. Sets the measurement integration rate (reading speed). | Text: VOLTage:DC,CURRent:DC,RESistance,FRESistance,TEMPerature; Number: 0.02,0.2,1,10,100 |
| Command | What it does | Arguments |
|---|---|---|
| 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 |
| Command | What it does | Arguments |
|---|---|---|
| CALCulate:SCALe:FUNCtion DB;:CALCulate:SCALe:STATe ON | DB On. Enables the dB math operation. | None |
| CALCulate:SCALe:STATe OFF | DB Off. Disables the dB math operation. | None |
| CALCulate:SCALe:FUNCtion DBM;:CALCulate:SCALe:STATe ON | DBm On. Enables the dBm math operation. | None |
| CALCulate:SCALe:DBM:REFerence <Ohms> | Set dBm Reference. Sets the dBm reference resistance in ohms. | Number |
| :CALCulate:AVERage:STATe ON | MinMax On. Enables the min/max/average statistics operation. | None |
| :CALCulate:AVERage:STATe OFF | MinMax Off. Disables the min/max/average statistics operation. | None |
| :CALCulate:AVERage:MINimum? | Read Min. Returns the minimum of the collected statistics. | None |
| :CALCulate:AVERage:MAXimum? | Read Max. Returns the maximum of the collected statistics. | None |
| :CALCulate:AVERage:AVERage? | Read Average. Returns the average of the collected statistics. | None |
| Command | What it does | Arguments |
|---|---|---|
| <Function>:NULL:STATe ON | Rel On. Enables the relative (null) operation. | Text: VOLTage:DC,VOLTage:AC,CURRent:DC,CURRent:AC,RESistance,FRESistance,FREQuency,PERiod,TEMPerature,CAPacitance |
| <Function>:NULL:STATe OFF | Rel Off. Disables the relative (null) operation. | Text: VOLTage:DC,VOLTage:AC,CURRent:DC,CURRent:AC,RESistance,FRESistance,FREQuency,PERiod,TEMPerature,CAPacitance |
| <Function>:NULL:VALue <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,TEMPerature,CAPacitance; Number |
| <Output Variable>=<Equation> | Math. Variable equals an equation like (${Var_name}= ${Var_name}/2) | Number; Text |
| Command | What it does | Arguments |
|---|---|---|
| :TRIGger:SOURce <Source> | Set Trigger Source. Sets the trigger source. | Text: IMMediate,EXTernal,BUS |
| :TRIGger:COUNt <Count> | Set Trigger Count. Sets the number of triggers accepted before returning to idle. | Number |
| Command | What it does | Arguments |
|---|---|---|
| READ? | Read Value. Triggers and returns one new measurement of the active function. | None |
| Command | What it does | Arguments |
|---|---|---|
| FETCh? | Fetch Value. Returns the last measurement without re-triggering. | None |
| Command | What it does | Arguments |
|---|---|---|
| :INITiate | Init Trigger. Places the meter in the wait-for-trigger state. | None |
| Command | What it does | Arguments |
|---|---|---|
| wait(<ms>) | Wait. Waits for number of milliseconds | Number |
| Command | What it does | Arguments |
|---|---|---|
| save2var <Variable_name> | Save2Variable. Saves last measurement to a variable | Text |
| 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 |
| *OPC? | Operation Complete. Returns 1 when all pending operations are complete. | None |
| *TRG | Trigger Bus. Generates a bus trigger when the instrument is in wait-for-trigger state. | None |
This reference is generated from TestFlow's instrument library, which is drafted from B&K Precision's programming documentation for the 5493C 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.
Yes. The B&K Precision 5493C accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 54 SCPI commands for it: 17 queries that read values or state, and 37 settings and actions.
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?, CONFigure:VOLTage:DC and MEASure:VOLTage:DC?.
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.
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 5493C 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.