
Remotely Controlling the T200S
50
T200S
Communication Principle
SCPI Command Structure and Syntax
The information presented in this section provides an overview of SCPI programming. If you
need detailed information, refer to:
³
The International Institute of Electrical and Electronics Engineers. IEEE Standard
488.2-1992, IEEE Standard Codes, Formats, Protocols and Common Commands For Use
with ANSI/IEEE Std. 488.1-1987. New York, 1992.
³
Standard Commands for Programmable Instruments (SCPI). Volume 1: Syntax and
Style. Vers. 1999.0 May, U.S.A, 1999.
Syntax of Messages
The provided commands follow the guidelines determined by the Standard Commands for
Programmable Instruments (SCPI) consortium. A program message consists of one or
more commands (and/or queries) with their appropriate parameters.
For example, a program message could contain a command used to activate or deactivate
the output synchro signal (Trig out). The corresponding command syntax would be:
When sending a message containing the previous command, you would actually type:
OUTP:SYNC:STAT ON.
The following table shows elements that are commonly used in the commands or queries
syntax.
Item
Meaning
[ ]
Enclose optional keywords or parameters.
Do not include square brackets in your program message.
<wsp>
Indicates that a space is required ("wsp" stands for "white space").
Corresponds to ASCII character codes (0 to 9 and 11 to 32, in decimal).
Do not include
"<wsp>"
in your program message; simply type a space.
< >
Text appearing between angled brackets specifies the command parameter
to be sent or the response you will receive from an instrument.
Do not include angled brackets in your program message.
|
Indicates that one, and only one, value must be selected from the available
choices.
Example: If the list is 0|1, you can only select 0
or
1.
Do not include the pipe character in your program message.
{ }
Indicates that the enclosed parameters can appear 0 to n times when the
command is used.
Do not include braces in your program message.
:
Mandatory to separate keywords. Can be omitted at the beginning of a
program message. For example, you can use either :SYST:ERR or SYST:ERR.
OUTP:SYNC:STAT<wsp><Boolean Program Data>
Mandatory
keywords
Optional keyword
(in square brackets)
Required
space
Parameter
Keyword
separators
Содержание T200S
Страница 1: ...User Guide T200S Tunable Laser Source www EXFO com...
Страница 18: ......
Страница 48: ......
Страница 66: ......
Страница 144: ......