
Model 2657A High Power System SourceMeter® Instrument Reference Manual
Appendix D: Common commands
2657A-901-01 Rev. B/December 2012
D-3
Script command equivalents
The commands that can be included in scripts that are equivalent to the common commands are
defined in the table below.
Common
command
Script command equivalent
*CLS
status.reset()
*ESE?
print(tostring(status.standard.enable))
*ESE <mask>
status.standard.enable = <mask>
*ESR?
print(tostring(status.standard.event))
*IDN?
print([[Keithley Instruments Inc.,
Model]]..localnode.model..[[, ]]..localnode.serialno..
[[, ]]..localnode.revision)
*OPC?
waitcomplete() print([[1]])
*OPC
opc()
*RST
reset()
*SRE?
print(tostring(status.request_enable))
*SRE <mask>
status.request_enable = <mask>
*STB?
print(tostring(status.condition))
*TRG N/A
*TST?
print([[0]])
*WAI
waitcomplete()
Command reference
Details of all common commands (except those associated with the status model) are described
below.
Status command usage is contained in the
(on page E-1).
Identification query: *IDN?
Retrieves the identification string.
*IDN?
Command that reads ID information
The identification string includes the manufacturer, model number, serial number, and firmware
revision levels. This string is sent in the following format:
Keithley Instruments Inc., Model 2657A, xxxxxxx, yyyyy
Where:
xxxxxxx
is the serial number
yyyyy
is the firmware revision level
NOTE
Summary of Contents for 2657A
Page 3: ......