/

Keithley

/

Keithley 2651A

SCPI COMMAND REFERENCE

Keithley 2651A

Keithley 2651A

The Keithley 2651A is Keithley's source measure unit in the Model 2651A High Power System SourceMeter family. Its SCPI remote-control interface exposes 20 commands across 3 subsystems - 13 settable and 7 queries - and every command is documented here with its parameters, accepted values, return format, and a copy-paste PyVISA example for automating test and measurement.

20

Commands

13

Settable

7

Queries

3

Subsystems

SCPI

Verified

2026-07-16

All commands

20 of 20 commands

:SOURce:OFFModeset / query

Selects the output-off mode for the source-measure unit. The mode can be normal, high-impedance, or zero; the manual also shows remote-interface constants for normal and high-Z selection.

NameTypeValuesDescription
modeenumNORMAL | HI-Z | ZEROOutput-off mode to select.

Selects the output-off function used when the output is turned off in NORMAL output-off mode. The function can be set to CURRENT or VOLTAGE; VOLTAGE is the default.

NameTypeValuesDescription
modeenumCURRENT | VOLTAGESets the output-off function.

Sets the output-off current limit used for the voltage source when the output-off mode is normal. The manual describes it as the smua.source.offlimiti attribute and shows it being assigned a current value remotely.

NameTypeValuesDescription
iValuereal-Current limit value for NORMAL output-off mode.
smua.source.offlimiti = iValue

Sets the voltage output-off limit used in normal output-off mode. It corresponds to the smua.source.offlimitv attribute, which specifies the voltage limit for the current source.

NameTypeValuesDescription
vValuereal-Voltage limit to use in normal output-off mode.

Loads and runs a named script immediately. If no name is provided, the command creates the anonymous script.

NameTypeValuesDescription
scriptNamestring-Name of the script to load and run; it must be a legal Lua variable name.

*IDN?query

Retrieves the identification string. The string includes the manufacturer, model number, serial number, and firmware revision level.

string - The identification string in the format Keithley Instruments, Model 2651A, xxxxxxx, yyyyy, where xxxxxxx is the serial number and yyyyy is the firmware revision level.
*IDN?
*OPCset / query

Sets the OPC bit in the Standard Event Register when all pending overlapped commands complete. It is used to wait for pending overlapped commands to finish.

*OPC?query

Places an ASCII "1" in the output queue when all previous overlapped commands complete. It is used to wait for pending overlapped commands to complete.

integer - Returns an ASCII "1" when all previous overlapped commands complete.
*RSTset / query

Returns the instrument to default conditions.

*TRGset / query

Generates a command interface trigger event for the trigger model.

*TST?query

Requests self-test results. This compatibility command always places a zero (0) in the output queue; the instrument does not actually perform a self-test.

integer - Always returns 0 in the output queue.
*WAIset / query

Suspends execution of subsequent commands until all previously overlapped commands have finished.

*WAI
*CLSset / query

Resets the bits of the event and NTR registers to 0, sets all PTR register bits on, and clears the output queue.

*eseset / query

Programs the Standard Event Status Enable register. The value is sent as a numeric mask; each bit in the register is set according to the decimal value provided.

NameTypeValuesDescription
maskinteger0 - 65535Decimal value used to program the register bits.
*ese 1169
*STB?query

Returns the Status Byte Register. For the *STB? common command, bit B6 is the MSS bit.

integer - Returns the status byte (serial poll byte). For common commands and TSP commands, B6 is the Master Summary Status (MSS) bit.
*SREset / query

Programs the Service Request Enable Register. Use 0 to reset the register bits to 0; the mask range is 0 to 255.

NameTypeValuesDescription
maskinteger0 - 255Mask value written to the Service Request Enable Register.
*SRE?query

Reads the Service Request Enable Register. The returned numeric value indicates which bits are set.

integer - Numeric value of the Service Request Enable Register; the binary equivalent indicates which bits in the register are set.
*ESEset / query

Programs the Event Status Enable Register. The mask can be set from 0 to 255.

NameTypeValuesDescription
maskinteger0 - 255Event status enable mask.
*ESE?query

Reads the Event Status Enable Register.

integer - Returns the current Event Status Enable Register value.
*ESR?query

Reads the Standard Event Status Register.

integer - Returns the numeric value of the Standard Event Status Register.