Table 3-3. scpi command index, 4 program message structure, Program message structure -10 – KEPCO TMA VXI-27 User Manual
Page 27: Scpi command index -10, E 3-3)

3-10
TMA VXI -27 101602
3.5.4
PROGRAM MESSAGE STRUCTURE
SCPI program messages (commands from controller to power supply) consist of one or more
message units ending in a message terminator. The message terminator is not part of the syntax; it
is defined by the way your programming language indicates the end of a line (such as a “new-
line” or “end-of-line” character). The message unit is a keyword consisting of a single command
or query word followed by a message terminator (e.g., CURR?
the parameter is usually numeric (e.g., CURR 5
OUTP ON
are combined. The following subparagraphs explain each component of the message structure.
NOTE: An alternative to using the message structure for multiple messages defined in the fol-
lowing paragraphs is to send each command as a separate line. In this case each com-
mand must use the full syntax shown in Appendix B.
TABLE 3-3. SCPI COMMAND INDEX
COMMAND
PAR.
REFERENCE
COMMAND
PAR.
REFERENCE
COMMAND
PAR.
REFERENCE
*CLS
INST:STAT
STAT:QUES?
*ESE
MEAS:CURR?
STAT:QUES:COND?
*ESE?
MEAS:VOLT?
STAT:QUES:ENAB
*ESR?
OUTP:[STAT]
STAT:QUES:ENAB?
*IDN?
OUTP:[STAT}?
STAT:QUES:INST?
*OPC, *OPC?
[SOUR]:CURR
STAT:QUES:INST1?
OPT?
[SOUR]:CURR?
STAT:QUES:INST2?
*RST
[SOUR]:CURR:TRIG
STAT:QUES:INST:ENAB, ?
*SRE
[SOUR]:CURR:TRIG?
STAT:QUES:INST1:ENAB, ?
*SRE?
[SOUR]:VOLT
STAT:QUES:INST2:ENAB, ?
*STB?
[SOUR]:VOLT?
STAT:QUES:INST:ISUM?
*TRG
[SOUR]:VOLT:TRIG
STAT:QUES:INST:ISUM:ENAB, ?
*TST
[SOUR]:VOLT:TRIG?
SYST:ERR
*WAI
[SOUR]:FUNC:MODE
SYST:ERR:CODE?
INIT[:IMM]
STAT:OPER:COND?
SYST:ERR:CODE:ALL?
INIT:CONT
STAT:OPER:ENAB
SYST:LANG
INIT:CONT?
STAT:OPER:ENAB?
SYST:SET
INST:CAT
STAT:OPER?
SYST:VERS?
INST, INST?
STAT:PRES