Kepco MST 488 Programmer Manuel d'utilisateur Page 34

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 68
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 33
3-8
MST488-27 013004
3.4.4 PROGRAM MESSAGE STRUCTURE
SCPI program messages consist of one or more message units ending with a terminator. The ter-
minator is not part of the syntax; it is defined by the way your programming language indicates
the end of a line. The message unit is a keyword consisting of a single command or query word
followed by a terminator (e.g., CURR?<newline> or TRIG<end-of-line>). The message unit may
include a data parameter after the keyword separated by a space; the parameter is usually
numeric (e.g., CURR 5<newline>), but may also be a string (e.g., OUTP ON<newline>). Figure
3-3 illustrates the message structure, 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 com-
mand must use the full syntax shown in Appendix B.
3.4.4.1 KEYWORD
Keywords are instructions recognized by a decoder within the MST 488-27 controller, referred to
as a “parser.” Each keyword describes a command function; all keywords used by the MST 488-
27 controller are listed in Figure 3-2.
TABLE 3-4. SCPI COMMAND INDEX
COMMAND
PAR.
REFERENCE
COMMAND
PAR.
REFERENCE
COMMAND
PAR.
REFERENCE
*CLS A.2 INST:SEL, ? B.7, B.8 STAT:QUES? B.28
*ESE A.3 INST:STAT B.9 STAT:QUES:COND? B.29
*ESE? A.4 MEAS:CURR? B.10 STAT:QUES:ENAB B.30
*ESR? A.5 MEAS:VOLT? B.11 STAT:QUES:ENAB? B.31
*IDN? A.6 OUTP:[STAT] B.12 STAT:QUES:INST[1]? B.32
*OPC A.7 OUTP:[STAT}? B.13 STAT:QUES:INST2? B.33
OPC? A.8 [SOUR]:CURR B.14 STAT:QUES:INST[1]:ENAB, ? B.34, B.35
OPT? A.9 [SOUR]:CURR? B.15 STAT:QUES:INST2:ENAB, ? B.36, B.37
*RST A.10 [SOUR]:CURR:TRIG B.16 STAT:QUES:INST:ISUM? B.38
*SRE A.11 [SOUR]:CURR:TRIG? B.17 STAT:QUES:INST:ISUM:ENAB, ? B.39, B.40
*SRE? A.12 [SOUR]:VOLT B.18 SYS:COMM:GPIB:ADDR B.41
*STB? A.13 [SOUR]:VOLT? B.19 SYST:COMM:SER:BAUD B.42
*TRG A.14 [SOUR]:VOLT:TRIG B.20 SYST:COMM:SER:ECHO B.43
*TST A.15 [SOUR]:VOLT:TRIG? B.21 SYST:COMM:SER:PACE B.44
*WAI A.16 [SOUR]:FUNC:MODE B.22 SYST:COMM:SER:PROM B.45
INIT[:IMM] B.2 STAT:OPER:COND? B.23 SYST:ERR B.46
INIT:CONT B.3 STAT:OPER:ENAB B.24 SYST:LANG B.47
INIT:CONT? B.4 STAT:OPER:ENAB? B.25 SYST:SET B.48
INST:CAT B.5 STAT:OPER? B.26 SYST:VERS? B.49
INST:NSEL B.6 STAT:PRES B.27
Vue de la page 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 67 68

Commentaires sur ces manuels

Pas de commentaire