Command structure – EXFO PM-1600 High-Speed Power Meter User Manual
Page 82
Controlling the PM-1600 Automatically or Remotely
72
PM-1600
Command Structure
An SRQ is forced when a bit is set in the STB. At the same time the
corresponding SRE bit is set. When the SRQ is generated, the RQS bit is set
to 1, and remains set until read by a serial poll. Once the RQS is read, it
returns to 0.
Command Structure
The GPIB and RS-232 commands follow the guidelines determined by the
Standard Commands for Programmable Instruments (SCPI) consortium.
For example, the command syntax
FORM:READ[:DATA]
is used to change the measurement display resolution (i.e., the number of
digits after the decimal point) on the PM-1600.
In this particular example,
➤
FORM identifies that the command is part of the SCPI FORMat subset
of commands
➤
READ and DATA are keywords that define the function of the command
➤
[
] indicates that a keyword or parameter is optional
➤
➤
Keywords must be separated by a colon. A typical command would be
FORM:READ:DATA 1
This command instructs the PM-1600 to display a power measurement
with 1 digit after the decimal point.
Note: It is recommended that you retrieve the response immediately after each
query.
Controlling the PM-1600 Automatically or Remotely
72
PM-1600
Command Structure
An SRQ is forced when a bit is set in the STB. At the same time the
corresponding SRE bit is set. When the SRQ is generated, the RQS bit is set
to 1, and remains set until read by a serial poll. Once the RQS is read, it
returns to 0.
Command Structure
The GPIB and RS-232 commands follow the guidelines determined by the
Standard Commands for Programmable Instruments (SCPI) consortium.
For example, the command syntax
FORM:READ[:DATA]
is used to change the measurement display resolution (i.e., the number of
digits after the decimal point) on the PM-1600.
In this particular example,
➤
FORM identifies that the command is part of the SCPI FORMat subset
of commands
➤
READ and DATA are keywords that define the function of the command
➤
[
] indicates that a keyword or parameter is optional
➤
➤
Keywords must be separated by a colon. A typical command would be
FORM:READ:DATA 1
This command instructs the PM-1600 to display a power measurement
with 1 digit after the decimal point.
Note: It is recommended that you retrieve the response immediately after each
query.