Command structure – EXFO FLS-5800 CD/PMD Analyzer Source User Manual
Page 39
Controlling the Source Remotely
33
Command Structure
Command Structure
The GPIB and RS-232 commands follow the guidelines determined by the
Standard Commands for Programmable Instruments (SCPI) consortium.
For example, the following command syntax is used to activate or
deactivate the source.
SOUR:POW[:STAT]
³
SOUR, POW and STAT are keywords that define the function of the
command.
³
[
] indicates that a keyword or parameter is optional.
³
space").
³
³
Keywords must be separated by a colon.
To enter commands or queries you must use either the full word for the
command, or the three- or four-letter shortcut. Commands are not
case-sensitive, however spelling errors will cancel the command or query.
The command or query can be written using only shortcuts, only full
words, or a combination of both.
Other command syntax elements are:
³
The comma, which is used to separate values in a command or query.
³
The semi-colon, which is used to separate commands or queries,
when you send more than one at a time
Note: It is recommended that you retrieve the response immediately after
each query.