Multimeter · SCPI command comparison

Aim-TTi 1604 vs Siglent SDM3045X: SCPI commands and remote control compared

In TestFlow's instrument library, the Aim-TTi 1604 takes 59 SCPI commands, 18 of them queries, and the Siglent SDM3045X takes 116 SCPI commands, 31 of them queries. That is 57 more on the SDM3045X. Counting distinct command headers (the command path without its arguments), 46 are accepted by both, 4 exist only on the 1604, and 39 only on the SDM3045X. 92% of the 1604's command headers also exist on the SDM3045X.

Both libraries have commands under CONFigure, CALCulate, SENSe, MEASure, TRIGger, FUNCtion, READ, and FETCh, plus 3 more roots. Only the SDM3045X has DATA, UNIT, and ABORt.

Both libraries synchronise with *OPC?. Both libraries read errors with SYSTem:ERRor?.

TestFlow's library gives the SDM3055 the same command set as the SDM3045X, so the SDM3045X column applies to it too.

1604 commands
59
SDM3045X commands
116
Shared headers
46
Unique headers
43

Run this on your bench

Describe the test; TestFlow's agent uses these command sets to drive your Aim-TTi 1604 or Siglent SDM3045X and writes the report from the measured results.

Get started

1604 vs SDM3045X at a glance

Counts come from TestFlow's instrument library, the command sets its AI agent uses to drive each instrument. A distinct command header is the command path without its arguments, so :OUTPut ON and :OUTPut OFF count once.

Aim-TTi 1604Siglent SDM3045X
Commands in TestFlow's library59116
Queries (read a value or state)1831
Settings and actions4185
Subsystems1518
Distinct command headers5085
Headers the other lacks439
Command languageSCPISCPI
Operation complete*OPC?*OPC?
Error queueSYSTem:ERRor?SYSTem:ERRor?
Models on this command set1604SDM3045X, SDM3055

Commands both accept

46 command headers are in both libraries. Here are 12, taken across subsystems.

CommandWhat it does
CONFigure:VOLTage:DCConf DCV. Configures the meter to measure DC voltage.
CALCulate:AVERage:STATe ONStatistics On. Enables the min/max/average statistics operation.
SENSe:VOLTage:DC:RANGe <Range>Set DCV Range. Sets the DC voltage measurement range in volts.
MEASure:VOLTage:DC?Measure DCV. Configures DC voltage and returns one measured value in volts.
TRIGger:SOURce <Source>Set Trigger Source. Sets the trigger source.
FUNCtion?Read Function. Queries the present measurement function.
READ?Read Value. Triggers and returns one new measurement of the active function.
FETCh?Fetch Value. Returns the last measurement without re-triggering.
SAMPle:COUNt <Count>Set Sample Count. Sets the number of samples taken per trigger.
INITiateInit Trigger. Places the meter in the wait-for-trigger state.
SYSTem:ERRor?Read Error. Reads the first message from the error queue.
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).

Only on the Aim-TTi 1604

4 command headers in the 1604 library have no match in the SDM3045X library. Below are 4 of them from the 1 largest subsystem; the full list is in the Aim-TTi 1604 command reference.

CALCulate (4 only on the 1604)

CommandWhat it does
CALCulate:NULL:STATe ONRel On. Enables the relative (null) operation.
CALCulate:NULL:OFFSet <Offset>Set Rel Offset. Sets the reference value used by the relative (null) operation.
CALCulate:DB:STATe ONDB On. Enables the dB math operation.
CALCulate:DBM:STATe ONDBm On. Enables the dBm math operation.

Only on the Siglent SDM3045X

39 command headers in the SDM3045X library have no match in the 1604 library. Below are 20 of them from the 6 largest subsystems; the full list is in the Siglent SDM3045X command reference.

SENSe (13 only on the SDM3045X)

CommandWhat it does
SENSe:CURRent:AC:RANGe <Range>Set ACI Range. Sets the fixed AC current range in amps.
SENSe:FRESistance:RANGe <Range>Set 4W Res Range. Sets the fixed 4-wire resistance range in ohms.
SENSe:CAPacitance:RANGe <Range>Set Cap Range. Sets the fixed capacitance range in farads.
SENSe:VOLTage:AC:RANGe:AUTO ONACV Autorange On. Enables autorange for AC voltage measurement.

CALCulate (9 only on the SDM3045X)

CommandWhat it does
CALCulate:SCALe:STATe ONScale On. Enables the scale (dB or dBm) math operation.
CALCulate:SCALe:FUNCtion <Function>Set Scale Function. Selects whether the scale operation computes dB or dBm.
CALCulate:SCALe:DB:REFerence <Reference>Set dB Reference. Sets the dB reference value in dBm.
CALCulate:SCALe:DBM:REFerence <Reference>Set dBm Reference. Sets the dBm reference resistance in ohms.

MEASure (4 only on the SDM3045X)

CommandWhat it does
MEASure:PERiod?Measure Period. Configures period and returns one measurement in seconds.
MEASure:CONTinuity?Measure Continuity. Configures continuity and returns the measured resistance in ohms.
MEASure:DIODe?Measure Diode. Configures diode test and returns the measured forward voltage in volts.
MEASure:TEMPerature?Measure Temperature. Configures temperature and returns one measurement in the configured units.

TRIGger (4 only on the SDM3045X)

CommandWhat it does
TRIGger:SOURce?Read Trigger Source. Returns the present trigger source setting.
TRIGger:DELay <Seconds>Set Trigger Delay. Sets the delay in seconds between the trigger event and each measurement.
TRIGger:DELay:AUTO ONSet Trigger Delay Auto On. Enables automatic trigger delay determined by function and range.
TRIGger:SLOPe <Slope>Set Trigger Slope. Sets the edge polarity used for the external trigger input.

DATA (2 only on the SDM3045X)

CommandWhat it does
DATA:POINts?Read Data Points. Returns the number of readings currently stored in the reading memory.
DATA:REMove? <Count>Remove Data. Reads and removes the specified number of oldest readings from the reading memory.

SYSTem (2 only on the SDM3045X)

CommandWhat it does
SYSTem:BEEPer:STATe ONBeeper On. Enables the beeper.
SYSTem:VERSion?Read SCPI Version. Returns the SCPI version that the instrument complies with.

Control both from Python

With PyVISA and any VISA backend, this opens both instruments, identifies them, sends one setting, and reads one value from each. For the setting, both libraries hold CONFigure:VOLTage:DC (conf dcv), and the same line runs on each. For the reading, both libraries hold MEASure:VOLTage:DC? (measure dcv), and the same line runs on each. For the basics, see the PyVISA tutorial.

import pyvisa

rm = pyvisa.ResourceManager()
print(rm.list_resources())  # find both VISA addresses

a = rm.open_resource("PASTE_1604_ADDRESS")  # Aim-TTi 1604
b = rm.open_resource("PASTE_SDM3045X_ADDRESS")  # Siglent SDM3045X
for inst in (a, b):
    inst.timeout = 5000  # ms
    print(inst.query("*IDN?"))

# The same setting on both: Conf DCV
a.write("CONFigure:VOLTage:DC")
b.write("CONFigure:VOLTage:DC")

# The same reading on both: Measure DCV
print(a.query("MEASure:VOLTage:DC?"))
print(b.query("MEASure:VOLTage:DC?"))

a.close()
b.close()

Run this on your bench

Describe the test; TestFlow's agent uses these command sets to drive your Aim-TTi 1604 or Siglent SDM3045X and writes the report from the measured results.

Get started

Frequently asked questions

What is the difference between the Aim-TTi 1604 and the Siglent SDM3045X for remote control?

In TestFlow's library the 1604 has 59 SCPI commands and the SDM3045X has 116 SCPI commands. 46 command headers are common to both, 4 are only on the 1604 (mostly CALCulate), and 39 are only on the SDM3045X (mostly SENSe and CALCulate).

Can I use the same SCPI code for the Aim-TTi 1604 and the Siglent SDM3045X?

Partly. 46 command headers are accepted by both, including CONFigure:VOLTage:DC, CALCulate:AVERage:STATe, and SENSe:VOLTage:DC:RANGe. 43 are not, for example CALCulate:NULL:STATe on the 1604 and SENSe:CURRent:AC:RANGe on the SDM3045X, so a script that uses those needs a separate branch for each instrument.

Which has more remote commands, the 1604 or the SDM3045X?

The SDM3045X: 59 commands for the 1604 against 116 for the SDM3045X in TestFlow's library. Of those, 18 on the 1604 and 31 on the SDM3045X are queries that read a value or state, and the library splits them into 15 and 18 subsystems.

How do the 1604 and SDM3045X signal operation complete and report errors?

Both libraries synchronise with *OPC?. Both libraries read errors with SYSTem:ERRor?. Each command named here is listed in the tables on this page and on each instrument's command reference.

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.