Dynamic Load · SCPI command reference

B&K Precision MDL001 SCPI commands

The B&K Precision MDL001 dynamic load is controlled remotely with SCPI commands. TestFlow's instrument library holds 81 commands for it, 44 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 MDL001 on a real bench.

Commands
81
Queries
44
Subsystems
15
Models covered
1

Run this on your bench

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

Get started

Control the B&K Precision MDL001 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 MDL001's VISA address

# Paste the address of your B&K Precision MDL001 (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("INP:PROT:CLE")  # Clear Input Protection
print(inst.query("MEAS:VOLT?"))  # Measure Voltage

inst.close()

Run this on your bench

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

Get started

Run a MDL001 test without writing code

Describe the test in a sentence, for example “clear input protection on the MDL001, then measure voltage 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

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

Current (CURRent) (13)

CommandWhat it doesArguments
CURR <a>Set Current. Sets the current regulated in constant current mode.Number: 0 through max rated current in A, or MIN, MAX
CURR?Query Current. Returns the constant current setpoint.None
CURR:SLEW:POS <a>Set Positive Current Slew. Sets the slew rate for positive current transitions.Number: See specifications in A/us, or MIN, MAX
CURR:SLEW:POS?Query Positive Current Slew. Returns the positive current slew rate.None
CURR:SLEW:NEG <a>Set Negative Current Slew. Sets the slew rate for negative current transitions.Number: See specifications in A/us, or MIN, MAX
CURR:SLEW:NEG?Query Negative Current Slew. Returns the negative current slew rate.None
CURR:SLEW <a>Set Current Slew Both. Sets the positive and negative slew rate for current changes.Number: See specifications in A/us, or MIN, MAX
CURR:PROT:STAT <b>Set Current Protection State. Enables or disables overcurrent protection.Text: 0 | 1 | OFF | ON
CURR:PROT:STAT?Query Current Protection State. Returns the overcurrent protection state.None
CURR:PROT:LEV <a>Set Current Protection Level. Sets the soft overcurrent protection level.Number: 0 through max rated current in A
CURR:PROT:LEV?Query Current Protection Level. Returns the soft overcurrent protection level.None
CURR:PROT:DEL <s>Set Current Protection Delay. Sets how long current may exceed the protection level before the input turns off.Number: 0 to 60 s
CURR:PROT:DEL?Query Current Protection Delay. Returns the overcurrent protection delay.None

INP subsystem (11)

CommandWhat it doesArguments
INP <b>Set Input State. Turns the load input on or off for the selected channel.Text: 0 | 1 | OFF | ON
INP?Query Input State. Returns the input state of the selected channel.None
INP:ALL <b>Set All Inputs State. Turns all load module inputs on or off.Text: 0 | 1 | OFF | ON
INP:TIM <b>Set Input Timer. Enables or disables the electronic load on timer.Text: 0 | 1 | OFF | ON
INP:TIM?Query Input Timer. Returns the on timer state.None
INP:TIM:DEL <s>Set Input Timer Delay. Sets the on timer time before the input changes state.Number: 1 to 60000 s, MIN, MAX, DEF
INP:TIM:DEL?Query Input Timer Delay. Returns the on timer setting.None
INP:SHOR <b>Set Input Short. Programs the load to its maximum sink current in the present range.Text: 0 | 1 | OFF | ON
INP:SHOR?Query Input Short. Returns the load short state of the selected channel.None
INP:PROT:CLEClear Input Protection. Clears latched input protection conditions so the input can be turned on again.None
INP OFFInput Off. Turns the load input off.None

Status (STATus) (9)

CommandWhat it doesArguments
STATus:CHANnel?Query Channel Event Register. Returns and clears the Channel Event register for the selected channel.None
STATus:CHANnel:CONDition?Query Channel Condition Register. Returns the real-time Channel Condition register for the selected channel.None
STATus:CHANnel:ENABle <mask>Set Channel Enable Register. Sets the Channel Enable register mask for the selected channel.Number: 0 to 65535
STATus:CHANnel:ENABle?Query Channel Enable Register. Reads the Channel Enable register for the selected channel.None
STATus:CSUM?Query Channel Summary Event. Returns and clears the Channel Event summary register for all channels.None
STATus:CSUMmary:ENABle <mask>Set Channel Summary Enable. Sets the Channel Enable summary register mask.Number: 0 to 255
STATus:CSUMmary:ENABle?Query Channel Summary Enable. Reads the Channel Enable summary register.None
STATus:OPERation?Query Operation Event Register. Returns and clears the Operation Event register.None
STATus:OPERation:CONDition?Query Operation Condition Register. Returns the real-time Operation Condition register.None

Trigger (TRIGger) (5)

CommandWhat it doesArguments
TRIG:IMMTrigger Immediate. Generates a single trigger signal.None
TRIGger:SOURce <source>Set Trigger Source. Selects the trigger source for the whole mainframe.Text: BUS | EXTernal | HOLD | MANUal | TIMer
TRIGger:SOURce?Query Trigger Source. Returns the selected trigger source.None
TRIGger:TIMer <seconds>Set Trigger Timer Period. Sets the period of the internal trigger generator.Number: 1 to 999.99 s, or MINimum, MAXimum, DEFault
TRIGger:TIMer?Query Trigger Timer Period. Returns the internal trigger generator period in seconds.None

Channels (CHANnel) (5)

CommandWhat it doesArguments
CHAN <n>Select Channel. Selects the electronic load channel for subsequent commands.Number: channel number
CHAN:ID?Query Module Model. Reads the model numbers of the modules installed in the mainframe.None
CHANnel <channel>Select Channel (CHANNEL). Selects the channel that subsequent channel-specific commands address.Number: 1 to 8, 11 to 18
CHANnel?Query Selected Channel. Returns the currently selected channel number.None
CHANnel:ID?Query Channel Module IDs. Returns model, serial and firmware of the installed modules.None

System (SYSTem) (5)

CommandWhat it doesArguments
SYST:ERR?Query Error. Reads the next entry from the error queue.None
SYSTem:CLEarClear Error Queue. Clears all messages from the error queue.None
SYSTem:ERRor?Read Next Error. Returns the next error number and message from the error queue.None
SYSTem:PRESetSystem Preset. Returns the instrument to front-panel-optimized states.None
SYSTem:VERSion?Query SCPI Version. Returns the SCPI version the instrument complies with.None

Function (FUNCtion) (4)

CommandWhat it doesArguments
FUNC <f>Set Regulation Mode. Selects the input regulation mode (CC, CR, CV, CP or CZ).Text: CURR | RES | VOLT | POW | IMP
FUNC?Query Regulation Mode. Returns the current input regulation mode.None
FUNC:MODE <m>Set Input Mode. Selects whether the regulation mode follows FUNC or the active list.Text: FIX | LIST
FUNC:MODE?Query Input Mode. Returns FIX or LIST.None

Fetch (FETCh) (3)

CommandWhat it doesArguments
FETC:VOLT?Fetch Voltage. Returns the latest stored voltage reading without new acquisition.None
FETC:CURR?Fetch Current. Returns the latest stored current reading without new acquisition.None
FETC:POW?Fetch Power. Returns the latest stored power reading without new acquisition.None

Voltage (VOLTage) (2)

CommandWhat it doesArguments
VOLT <v>Set Voltage. Sets the voltage regulated in constant voltage mode.Number: See specifications for range in V, or MIN, MAX
VOLT?Query Voltage. Returns the constant voltage setpoint.None

RES subsystem (2)

CommandWhat it doesArguments
RES <r>Set Resistance. Sets the resistance regulated in constant resistance mode.Number: 0 to max rated resistance in ohm, or MIN, MAX
RES?Query Resistance. Returns the constant resistance setpoint.None

POW subsystem (2)

CommandWhat it doesArguments
POW <p>Set Power. Sets the power regulated in constant power mode.Number: 0 to max rated power in W, or MIN, MAX
POW?Query Power. Returns the constant power setpoint.None

TRAN subsystem (2)

CommandWhat it doesArguments
TRAN <b>Set Transient State. Turns the transient generator on or off.Text: 0 | 1 | OFF | ON
TRAN?Query Transient State. Returns the transient generator state.None

Measurement (MEASure) (2)

CommandWhat it doesArguments
MEAS:VOLT?Measure Voltage. Performs a one-shot voltage measurement and returns the reading.None
MEAS:CURR?Measure Current. Performs a one-shot current measurement and returns the reading.None

PROT subsystem (1)

CommandWhat it doesArguments
PROT:CLEClear Protection Latch. Clears the latch that disabled the input after an OV or OC fault.None

IEEE 488.2 common commands (15)

CommandWhat it doesArguments
*RSTReset Instrument. Resets the load to its factory default state with the input off.None
*IDN?Identify. Returns manufacturer, model, serial number and firmware revision.None
*CLSClear Status. Clears the event registers, status byte and error queue.None
*OPCOperation Complete. Sets the OPC bit when all pending operations have completed.None
*OPC?Operation Complete Query. Places a 1 in the output queue when all pending operations are complete.None
*WAIWait To Continue. Prevents processing of later commands until pending operations complete.None
*ESE <value>Set Standard Event Enable. Programs the Standard Event Status Enable register.Number: 0 to 255
*ESE?Query Standard Event Enable. Reads the Standard Event Status Enable register.None
*ESR?Read Standard Event Status. Reads and clears the Standard Event Status register.None
*SRE <value>Set Service Request Enable. Programs the Service Request Enable register.Number: 0 to 255
*SRE?Query Service Request Enable. Reads the Service Request Enable register.None
*STB?Read Status Byte. Reads the Status Byte register without clearing it.None
*TRGSend Bus Trigger. Generates a bus trigger when BUS is the trigger source.None
*TST?Self Test. Runs a self-test; returns 0 if passed, non-zero error code otherwise.None
*RDT?Query Frame Types. Returns the module type installed in each channel.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 MDL001 and checked when the agent runs it. The library marks this instrument as supporting *OPC? for operation-complete synchronisation. It reads errors back with SYSTem:ERRor?. 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 October 18, 2026.

Frequently asked questions

Does the B&K Precision MDL001 support SCPI remote control?

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

How do I control the B&K Precision MDL001 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?, INP:PROT:CLE and MEAS:VOLT?.

Which command reads a value from the B&K Precision MDL001?

MEAS:VOLT? (measure voltage). Performs a one-shot voltage measurement and returns the reading. The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the B&K Precision MDL001 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 MDL001 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.