The Siglent SDM3045X and SDM3055 multimeter is controlled remotely with SCPI commands. TestFlow's instrument library holds 116 commands for it, 31 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 SDM3045X on a real bench.
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 Siglent SDM3045X's VISA address
# Paste the address of your Siglent SDM3045X (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") # Conf DCV
print(inst.query("MEASure:VOLTage:DC?")) # Measure DCV
inst.close()Describe the test in a sentence, for example “conf dcv on the SDM3045X, 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.
116 commands in 18 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values. The SDM3045X and SDM3055 share this command set in TestFlow's library.
| Command | What it does | Arguments |
|---|---|---|
| SENSe:VOLTage:DC:RANGe <Range> | Set DCV Range. Sets the fixed DC voltage range in volts (0.2, 2, 20, 200 or 1000). | Number: 0.6,6,60,600,1000 |
| SENSe:VOLTage:AC:RANGe <Range> | Set ACV Range. Sets the fixed AC voltage range in volts (0.2, 2, 20, 200 or 750). | Number: 0.6,6,60,600,750 |
| SENSe:CURRent:DC:RANGe <Range> | Set DCI Range. Sets the fixed DC current range in amps. | Number: 0.0006,0.006,0.06,0.6,6,10 |
| SENSe:CURRent:AC:RANGe <Range> | Set ACI Range. Sets the fixed AC current range in amps. | Number: 0.06,0.6,6,10 |
| SENSe:RESistance:RANGe <Range> | Set 2W Res Range. Sets the fixed 2-wire resistance range in ohms. | Number: 600,6000,60000,600000,6000000,60000000,100000000 |
| SENSe:FRESistance:RANGe <Range> | Set 4W Res Range. Sets the fixed 4-wire resistance range in ohms. | Number: 600,6000,60000,600000,6000000,60000000,100000000 |
| SENSe:CAPacitance:RANGe <Range> | Set Cap Range. Sets the fixed capacitance range in farads. | Number: 0.000000002,0.00000002,0.0000002,0.000002,0.00002,0.0002,0.01 |
| SENSe:VOLTage:DC:RANGe:AUTO ON | DCV Autorange On. Enables autorange for DC voltage measurement. | None |
| SENSe:VOLTage:DC:RANGe:AUTO OFF | DCV Autorange Off. Disables autorange for DC voltage measurement. | None |
| SENSe:VOLTage:AC:RANGe:AUTO ON | ACV Autorange On. Enables autorange for AC voltage measurement. | None |
| SENSe:VOLTage:AC:RANGe:AUTO OFF | ACV Autorange Off. Disables autorange for AC voltage measurement. | None |
| SENSe:CURRent:DC:RANGe:AUTO ON | DCI Autorange On. Enables autorange for DC current measurement. | None |
| SENSe:CURRent:DC:RANGe:AUTO OFF | DCI Autorange Off. Disables autorange for DC current measurement. | None |
| SENSe:RESistance:RANGe:AUTO ON | Res Autorange On. Enables autorange for 2-wire resistance measurement. | None |
| SENSe:RESistance:RANGe:AUTO OFF | Res Autorange Off. Disables autorange for 2-wire resistance measurement. | None |
| SENSe:VOLTage:DC:NPLC <NPLC> | Set DCV NPLC. Sets the integration time for DC voltage in number of power line cycles. | Number: 0.3,1,10 |
| SENSe:CURRent:DC:NPLC <NPLC> | Set DCI NPLC. Sets the integration time for DC current in number of power line cycles. | Number: 0.3,1,10 |
| SENSe:RESistance:NPLC <NPLC> | Set 2W Res NPLC. Sets the integration time for 2-wire resistance in number of power line cycles. | Number: 0.3,1,10 |
| SENSe:FRESistance:NPLC <NPLC> | Set 4W Res NPLC. Sets the integration time for 4-wire resistance in number of power line cycles. | Number: 0.3,1,10 |
| SENSe:VOLTage:DC:IMPedance <Impedance> | Set DCV Impedance. Sets the DC voltage input impedance to 10 MOhm or greater than 10 GOhm. | Text: 10M,10G |
| SENSe:CONTinuity:THReshold:VALue <Ohm> | Set Cont Threshold. Sets the continuity beep resistance threshold in ohms (1 to 2000). | Number |
| SENSe:<Function>:NULL:STATe ON | Null On. Enables the relative (null) math operation. | Text: VOLTage:DC,VOLTage:AC,CURRent:DC,CURRent:AC,RESistance,FRESistance,FREQuency,CAPacitance,TEMPerature |
| SENSe:<Function>:NULL:STATe OFF | Null Off. Disables the relative (null) math operation. | Text: VOLTage:DC,VOLTage:AC,CURRent:DC,CURRent:AC,RESistance,FRESistance,FREQuency,CAPacitance,TEMPerature |
| SENSe:<Function>:NULL:VALue <Offset> | Set Null Offset. Sets the reference (null) value subtracted from subsequent readings. | Text: VOLTage:DC,VOLTage:AC,CURRent:DC,CURRent:AC,RESistance,FRESistance,FREQuency,CAPacitance,TEMPerature; Number: value |
| SENSe:<Function>:NULL:VALue? | Read Null Offset. Returns the present null reference value. | Text: VOLTage:DC,VOLTage:AC,CURRent:DC,CURRent:AC,RESistance,FRESistance,FREQuency,CAPacitance,TEMPerature |
| Command | What it does | Arguments |
|---|---|---|
| CONFigure:VOLTage:DC | Conf DCV. Configures the instrument for DC voltage measurement using autorange. | None |
| CONFigure:VOLTage:DC <Range> | Conf DCV Range. Configures DC voltage measurement and sets the specified range or autorange. | Text: 600mV,6V,60V,600V,1000V,AUTO |
| CONFigure:VOLTage:AC | Conf ACV. Configures the instrument for AC voltage measurement using autorange. | None |
| CONFigure:VOLTage:AC <Range> | Conf ACV Range. Configures AC voltage measurement and sets the specified range or autorange. | Text: 600mV,6V,60V,600V,750V,AUTO |
| CONFigure:CURRent:DC | Conf DCI. Configures the instrument for DC current measurement using autorange. | None |
| CONFigure:CURRent:DC <Range> | Conf DCI Range. Configures DC current measurement and sets the specified range or autorange. | Text: 600uA,6mA,60mA,600mA,6A,10A,AUTO |
| CONFigure:CURRent:AC | Conf ACI. Configures the instrument for AC current measurement using autorange. | None |
| CONFigure:CURRent:AC <Range> | Conf ACI Range. Configures AC current measurement and sets the specified range or autorange. | Text: 60mA,600mA,6A,10A,AUTO |
| CONFigure:RESistance | Conf 2W Resistance. Configures the instrument for 2-wire resistance measurement using autorange. | None |
| CONFigure:RESistance <Range> | Conf 2W Res Range. Configures 2-wire resistance measurement and sets the specified range in ohms or autorange. | Text: 600,6000,60000,600000,6000000,60000000,100000000,AUTO |
| CONFigure:FRESistance | Conf 4W Resistance. Configures the instrument for 4-wire resistance measurement using autorange. | None |
| CONFigure:FRESistance <Range> | Conf 4W Res Range. Configures 4-wire resistance measurement and sets the specified range in ohms or autorange. | Text: 600,6000,60000,600000,6000000,60000000,100000000,AUTO |
| CONFigure:FREQuency | Conf Frequency. Configures the instrument for frequency measurement. | None |
| CONFigure:PERiod | Conf Period. Configures the instrument for period measurement. | None |
| CONFigure:CAPacitance | Conf Capacitance. Configures the instrument for capacitance measurement using autorange. | None |
| CONFigure:CAPacitance <Range> | Conf Cap Range. Configures capacitance measurement and sets the specified range or autorange. | Text: 2nF,20nF,200nF,2uF,20uF,200uF,10000uF,AUTO |
| CONFigure:CONTinuity | Conf Continuity. Configures the instrument for continuity test. | None |
| CONFigure:DIODe | Conf Diode. Configures the instrument for diode test. | None |
| CONFigure:TEMPerature | Conf Temperature. Configures the instrument for temperature measurement. | None |
| CONFigure? | Read Conf. Returns the present function and range configuration as a quoted string. | None |
| Command | What it does | Arguments |
|---|---|---|
| CALCulate:SCALe:STATe ON | Scale On. Enables the scale (dB or dBm) math operation. | None |
| CALCulate:SCALe:STATe OFF | Scale Off. Disables the scale (dB or dBm) math operation. | None |
| CALCulate:SCALe:FUNCtion <Function> | Set Scale Function. Selects whether the scale operation computes dB or dBm. | Text: DB,DBM |
| CALCulate:SCALe:DB:REFerence <Reference> | Set dB Reference. Sets the dB reference value in dBm. | Number |
| CALCulate:SCALe:DBM:REFerence <Reference> | Set dBm Reference. Sets the dBm reference resistance in ohms. | Number: 50,75,93,110,124,125,135,150,250,300,500,600,800,900,1000,1200 |
| CALCulate:AVERage:STATe ON | Statistics On. Enables the statistics (min max average) math operation. | None |
| CALCulate:AVERage:STATe OFF | Statistics Off. Disables the statistics (min max average) math operation. | None |
| CALCulate:AVERage:AVERage? | Stat Average. Returns the average of all readings since statistics were enabled. | None |
| CALCulate:AVERage:MINimum? | Stat Min. Returns the minimum reading since statistics were enabled. | None |
| CALCulate:AVERage:MAXimum? | Stat Max. Returns the maximum reading since statistics were enabled. | None |
| CALCulate:AVERage:COUNt? | Stat Count. Returns the number of readings included in the statistics. | None |
| CALCulate:AVERage:PTPeak? | Stat PtoP. Returns the peak-to-peak value of the readings since statistics were enabled. | None |
| CALCulate:LIMit:STATe ON | Limit On. Enables the limit (pass/fail) math operation. | None |
| CALCulate:LIMit:STATe OFF | Limit Off. Disables the limit (pass/fail) math operation. | None |
| CALCulate:LIMit:LOWer <Lower> | Set Limit Lower. Sets the lower limit for the limit (pass/fail) operation. | Number |
| CALCulate:LIMit:UPPer <Upper> | Set Limit Upper. Sets the upper limit for the limit (pass/fail) operation. | Number |
| Command | What it does | Arguments |
|---|---|---|
| FUNCtion "VOLTage:DC" | Func DCV. Selects DC voltage as the active measurement function. | None |
| FUNCtion "VOLTage:AC" | Func ACV. Selects AC voltage as the active measurement function. | None |
| FUNCtion "CURRent:DC" | Func DCI. Selects DC current as the active measurement function. | None |
| FUNCtion "CURRent:AC" | Func ACI. Selects AC current as the active measurement function. | None |
| FUNCtion "RESistance" | Func 2W Resistance. Selects 2-wire resistance as the active measurement function. | None |
| FUNCtion "FRESistance" | Func 4W Resistance. Selects 4-wire resistance as the active measurement function. | None |
| FUNCtion "FREQuency" | Func Frequency. Selects frequency as the active measurement function. | None |
| FUNCtion "PERiod" | Func Period. Selects period as the active measurement function. | None |
| FUNCtion "CAPacitance" | Func Capacitance. Selects capacitance as the active measurement function. | None |
| FUNCtion "CONTinuity" | Func Continuity. Selects continuity test as the active measurement function. | None |
| FUNCtion "DIODe" | Func Diode. Selects diode test as the active measurement function. | None |
| FUNCtion "TEMPerature" | Func Temperature. Selects temperature as the active measurement function. | None |
| FUNCtion? | Read Function. Returns the active measurement function as a quoted string. | None |
| Command | What it does | Arguments |
|---|---|---|
| MEASure:VOLTage:DC? | Measure DCV. Configures DC voltage and returns one measurement in volts. | None |
| MEASure:VOLTage:AC? | Measure ACV. Configures AC voltage and returns one measurement in volts. | None |
| MEASure:CURRent:DC? | Measure DCI. Configures DC current and returns one measurement in amps. | None |
| MEASure:CURRent:AC? | Measure ACI. Configures AC current and returns one measurement in amps. | None |
| MEASure:RESistance? | Measure 2W Resistance. Configures 2-wire resistance and returns one measurement in ohms. | None |
| MEASure:FRESistance? | Measure 4W Resistance. Configures 4-wire resistance and returns one measurement in ohms. | None |
| MEASure:FREQuency? | Measure Frequency. Configures frequency and returns one measurement in Hz. | None |
| MEASure:PERiod? | Measure Period. Configures period and returns one measurement in seconds. | None |
| MEASure:CAPacitance? | Measure Capacitance. Configures capacitance and returns one measurement in farads. | None |
| MEASure:CONTinuity? | Measure Continuity. Configures continuity and returns the measured resistance in ohms. | None |
| MEASure:DIODe? | Measure Diode. Configures diode test and returns the measured forward voltage in volts. | None |
| MEASure:TEMPerature? | Measure Temperature. Configures temperature and returns one measurement in the configured units. | None |
| Command | What it does | Arguments |
|---|---|---|
| TRIGger:SOURce <Source> | Set Trigger Source. Sets the trigger source to immediate external or bus. | Text: IMMediate,EXTernal,BUS |
| TRIGger:SOURce? | Read Trigger Source. Returns the present trigger source setting. | None |
| TRIGger:DELay <Seconds> | Set Trigger Delay. Sets the delay in seconds between the trigger event and each measurement. | Number |
| TRIGger:DELay:AUTO ON | Set Trigger Delay Auto On. Enables automatic trigger delay determined by function and range. | None |
| TRIGger:DELay:AUTO OFF | Set Trigger Delay Auto Off. Disables automatic trigger delay so the manual delay value is used. | None |
| TRIGger:COUNt <Count> | Set Trigger Count. Sets the number of triggers accepted before returning to the idle state. | Number |
| TRIGger:SLOPe <Slope> | Set Trigger Slope. Sets the edge polarity used for the external trigger input. | Text: POSitive,NEGative |
| Command | What it does | Arguments |
|---|---|---|
| SYSTem:BEEPer:STATe ON | Beeper On. Enables the beeper. | None |
| SYSTem:BEEPer:STATe OFF | Beeper Off. Disables the beeper. | None |
| SYSTem:ERRor? | Read Error. Reads and clears the oldest entry from the error queue (0,"No error" if empty). | None |
| SYSTem:VERSion? | Read SCPI Version. Returns the SCPI version that the instrument complies with. | None |
| Command | What it does | Arguments |
|---|---|---|
| DATA:POINts? | Read Data Points. Returns the number of readings currently stored in the reading memory. | None |
| DATA:REMove? <Count> | Remove Data. Reads and removes the specified number of oldest readings from the reading memory. | Number |
| Command | What it does | Arguments |
|---|---|---|
| SAMPle:COUNt <Count> | Set Sample Count. Sets the number of samples taken per trigger. | Number |
| SAMPle:COUNt? | Read Sample Count. Returns the number of samples taken per trigger. | None |
| Command | What it does | Arguments |
|---|---|---|
| READ? | Read Value. Starts a measurement using the present configuration and returns the reading. | None |
| Command | What it does | Arguments |
|---|---|---|
| FETCh? | Fetch Value. Returns readings already stored in instrument memory from the last triggered acquisition. | None |
| Command | What it does | Arguments |
|---|---|---|
| INITiate | Initiate. Changes state from idle to wait-for-trigger and stores readings in memory when triggered. | None |
| Command | What it does | Arguments |
|---|---|---|
| UNIT:TEMPerature <Unit> | Set Temp Units. Sets the temperature measurement units to Celsius Fahrenheit or Kelvin. | Text: C,F,K |
| Command | What it does | Arguments |
|---|---|---|
| ABORt | Abort. Aborts a measurement in progress and returns the trigger system to idle. | None |
| Command | What it does | Arguments |
|---|---|---|
| <Output Variable>=<Equation> | Math. Variable equals an equation like (${Var_name}= ${Var_name}/2) | Number; Text |
| 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 |
| *CLS | Clear Status. Clears all event registers and the error queue. | None |
| *TST? | Self Test. Runs the self-test and returns 0 for pass or 1 for failure. | 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 |
| *WAI | Wait To Continue. Waits until all pending operations are complete before continuing. | None |
This reference is generated from TestFlow's instrument library, which is drafted from Siglent's programming documentation for the SDM3045X and SDM3055 and checked when the agent runs it. Ranges, timing, and option-dependent commands are defined by Siglent's programming manual: check it before you rely on an edge case. Last updated November 17, 2026.
Yes. The Siglent SDM3045X accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 116 SCPI commands for it: 31 queries that read values or state, and 85 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 measurement 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 Siglent SDM3045X 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.