/

Keithley

/

Keithley 2657A

SCPI COMMAND REFERENCE

Keithley 2657A

Keithley 2657A

The Keithley 2657A is Keithley's source measure unit in the Model 2657A High Power System SourceMeter family. Its SCPI remote-control interface exposes 14 commands across 1 subsystems - 7 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.

14

Commands

7

Settable

7

Queries

1

Subsystems

SCPI

Verified

2026-07-16

All commands

14 of 14 commands

*IDN?query

Returns the identification string for the unit, including the manufacturer, model number, serial number, and firmware revision levels.

string - The identification string in the format: Keithley Instruments Inc., Model 2657A, xxxxxxx, yyyyy.
*IDN?
*OPCset / query

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

*OPC?query

Operation complete query that places an ASCII "1" in the output queue when all previous overlapped commands complete.

integer - Places a "1" in the output queue when all previous overlapped commands complete.
*RSTset / query

Returns the instrument to default conditions. It performs the same actions as reset().

*TRGset / query

Generates a command interface trigger event for the trigger model.

*TST?query

Requests self-test results. This command always places a zero (0) in the output queue and is included for common command compatibility only; 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 previous overlapped commands are finished. It pauses until overlapped commands are complete and is not needed for sequential commands.

*WAI
*CLSset / query

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

*CLS
*SRE?query

Returns the Service Request Enable Register value. The response is a decimal value indicating which bits in the register are set.

integer - Decimal value of the Service Request Enable Register; the value indicates which bits are set.
*SRE?
*STB?query

Reads the status byte register. The status byte can also be read by serial poll.

integer - The current status byte value.
*SREset / query

Programs the Service Request Enable Register. Use it to set or clear the enable bits that control whether summary events generate a service request (SRQ); a value of 0 clears the register.

NameTypeValuesDescription
maskinteger0 - 255Service Request Enable Register bit mask to program.
*ESEset / query

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

NameTypeValuesDescription
maskinteger0 - 255Mask value used to program the Event Status Enable Register.
*ESE?query

Reads the Event Status Enable Register.

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

Reads the Standard Event Status Register.

numeric - Numeric value of the Standard Event Status Register.
*ESR?