beautypg.com

4 program message structure, Table 4-4. scpi command index, Program message structure -4 – KEPCO BIT 4882F User Manual

Page 32: Scpi command index -4

background image

4-4

BIT 4882 030507

4.3.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 (required by Kepco power modules). The message
terminator is not part of the syntax; it is defined by the way your programming language indi-
cates the end of a line (such as a “newline” 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? or TRIG). The message unit may include a data parameter after
the keyword separated by a space; the parameter is usually numeric (e.g., CURR 5),
but may also be a string (e.g., OUTP ON). Figure 4-2 illustrates the message struc-
ture, showing how message units 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
command must use the full syntax shown in Appendix B.

TABLE 4-4. SCPI COMMAND INDEX

COMMAND

PAGE

COMMAND

PAGE

*CLS

A-1

[SOUR]:CURR?

B-5

*ESE

A-2

[SOUR]:CURR:TRIG

B-6

*ESE?

A-2

[SOUR]:CURR:TRIG?

B-6

*ESR?

A-3

[SOUR]:VOLT

B-7

*IDN?

A-3

[SOUR]:VOLT?

B-7

*OPC

A-4

[SOUR]:VOLT:TRIG

B-8

OPC?

A-4

[SOUR]:VOLT:TRIG?

B-8

*RST

A-5

[SOUR]:FUNC:MODE

B-9

*SRE

A-6

STAT:OPER:COND?

B-9

*SRE?

A-6

STAT:OPER:ENAB

B-10

*STB?

A-7

STAT:OPER:ENAB?

B-10

*TRG

A-7

STAT:OPER?

B-11

*TST

A-8

STAT:PRES

B-11

*WAI

A-8

STAT:QUES?

B-12

INIT[:IMM]

B-1

STAT:QUES:COND?

B-12

INIT:CONT

B-1

STAT:QUES:ENAB

B-13

INIT:CONT?

B-2

STAT:QUES:ENAB?

B-13

MEAS:CURR?

B-3

SYST:ERR?

B-14

MEAS:VOLT?

B-3

SYST:LANG

B-14

[SOUR]:CURR

B-4

This manual is related to the following products: