Power Supply · SCPI command reference

Sorensen XPF35-10DP SCPI commands

The Sorensen XPF35-10DP power supply is controlled remotely with SCPI commands. TestFlow's instrument library holds 44 commands for it, 18 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 XPF35-10DP on a real bench.

Commands
44
Queries
18
Subsystems
14
Models covered
1

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Sorensen XPF35-10DP and writes the report from the measured results.

Get started

Control the Sorensen XPF35-10DP 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 Sorensen XPF35-10DP's VISA address

# Paste the address of your Sorensen XPF35-10DP (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("OP1 1")  # Turn On CH1
print(inst.query("OP1?"))  # Read Output State CH1

inst.close()

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Sorensen XPF35-10DP and writes the report from the measured results.

Get started

Run a XPF35-10DP test without writing code

Describe the test in a sentence, for example “turn on ch1 on the XPF35-10DP, then read output state ch1 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

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

V subsystem (8)

CommandWhat it doesArguments
V1 <Volt>Set Voltage CH1. Sets output 1 voltage in volts.Number
V1V <Volt>Set Voltage Verify CH1. Sets output 1 voltage in volts and waits until it is reached.Number
V1?Read Voltage Setting CH1. Reads the set voltage of output 1.None
V1O?Measure Voltage CH1. Reads back the actual output voltage of output 1.None
V2 <Volt>Set Voltage CH2. Sets output 2 voltage in volts.Number
V2V <Volt>Set Voltage Verify CH2. Sets output 2 voltage in volts and waits until it is reached.Number
V2?Read Voltage Setting CH2. Reads the set voltage of output 2.None
V2O?Measure Voltage CH2. Reads back the actual output voltage of output 2.None

OP subsystem (6)

CommandWhat it doesArguments
OP1 1Turn On CH1. Enables output 1.None
OP1 0Turn Off CH1. Disables output 1.None
OP2 1Turn On CH2. Enables output 2.None
OP2 0Turn Off CH2. Disables output 2.None
OP1?Read Output State CH1. Reads whether output 1 is ON (1) or OFF (0).None
OP2?Read Output State CH2. Reads whether output 2 is ON (1) or OFF (0).None

I subsystem (6)

CommandWhat it doesArguments
I1 <Amp>Set Current CH1. Sets output 1 current limit in amps.Number
I1?Read Current Setting CH1. Reads the set current limit of output 1.None
I1O?Measure Current CH1. Reads back the actual output current of output 1.None
I2 <Amp>Set Current CH2. Sets output 2 current limit in amps.Number
I2?Read Current Setting CH2. Reads the set current limit of output 2.None
I2O?Measure Current CH2. Reads back the actual output current of output 2.None

OVP subsystem (4)

CommandWhat it doesArguments
OVP1 <Volt>Set OVP CH1. Sets the over-voltage protection trip point of output 1 in volts.Number
OVP1?Read OVP CH1. Reads the over-voltage trip setting of output 1.None
OVP2 <Volt>Set OVP CH2. Sets the over-voltage protection trip point of output 2 in volts.Number
OVP2?Read OVP CH2. Reads the over-voltage trip setting of output 2.None

OCP subsystem (4)

CommandWhat it doesArguments
OCP1 <Amp>Set OCP CH1. Sets the over-current protection trip point of output 1 in amps.Number
OCP1?Read OCP CH1. Reads the over-current trip setting of output 1.None
OCP2 <Amp>Set OCP CH2. Sets the over-current protection trip point of output 2 in amps.Number
OCP2?Read OCP CH2. Reads the over-current trip setting of output 2.None

OPALL subsystem (2)

CommandWhat it doesArguments
OPALL 1Turn On All. Enables all outputs simultaneously.None
OPALL 0Turn Off All. Disables all outputs simultaneously.None

Save (SAVE) (1)

CommandWhat it doesArguments
SAV1 <Slot>Save State. Saves the current setup to the specified store.Number: 0-9

RCL subsystem (1)

CommandWhat it doesArguments
RCL1 <Slot>Recall State. Recalls a setup from the specified store.Number: 0-9

LOCAL subsystem (1)

CommandWhat it doesArguments
LOCALGo Local. Returns the instrument to local (front-panel) control.None

EER subsystem (1)

CommandWhat it doesArguments
EER?Read Error. Returns and clears the execution-error register value.None

Other subsystem (1)

CommandWhat it doesArguments
<Output Variable>=<Equation>Math. Variable equals an equation like (${Var_name}= ${Var_name}/2)Number; Text

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 (7)

CommandWhat it doesArguments
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).None
*RSTReset. Resets the instrument to its default state.None
*CLSClear Status. Clears the status registers and the error queue.None
*TST?Self Test. Runs the self-test and returns 0 for pass.None
*OPC?Operation Complete. Returns 1 when all pending operations are complete.None
*WAIWait To Continue. Waits until all pending operations are complete before continuing.None
*TRGTrigger Bus. Generates a bus trigger.None

Where these commands come from

This reference is generated from TestFlow's instrument library, which is drafted from Sorensen's programming documentation for the XPF35-10DP and checked when the agent runs it. Ranges, timing, and option-dependent commands are defined by Sorensen's programming manual: check it before you rely on an edge case. Last updated November 12, 2026.

Frequently asked questions

Does the Sorensen XPF35-10DP support SCPI remote control?

Yes. The Sorensen XPF35-10DP accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 44 SCPI commands for it: 18 queries that read values or state, and 26 settings and actions.

How do I control the Sorensen XPF35-10DP 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?, OP1 1 and OP1?.

Which command reads a value from the Sorensen XPF35-10DP?

OP1? (read output state ch1). Reads whether output 1 is ON (1) or OFF (0). The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the Sorensen XPF35-10DP 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 Sorensen XPF35-10DP 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.