Appendix D: Common commands Model 2651A High Power System SourceMeter® Instrument Reference Manual
D-2 2651A-901-01 Rev. A / March 2011
Mnemonic Name Description
*TRG Trigger command Generates the trigger.EVENT.ID for use with the trigger model and
scanning. For detailed information, see Trigger: *TRG
(on page D-
3).
*TST? Self-test query Returns a 0. For detailed information, see Self-test query: *TST?
(on page D-3).
*WAI Wait-to-continue command Waits until all previous commands have completed. For detailed
information, see Wait-to-continue: *WAI
(on page D-4).
Script command equivalents
Script command equivalents for 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 on all common commands except those associated with the status model are covered below.
NOTE
Status command usage is contained in the Status model (on page E-1).