Command structure – EXFO PM-1100 Optical Power Meter User Manual
Page 56

Controlling Your Optical Power Meter Remotely
46
PM-1100
Command Structure
An SRQ is forced when a bit is set in the STB and 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 Interface (SCPI) consortium. For
example, the command syntax
FORM:READ[:DATA]
is used to change the measurement display resolution (number of digits
after the decimal point) of a Optical Power Meter.
In this particular example,
³
FORM identifies that the command is a 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 a parameter is optional;
³
³
For example, the typical FORM:READ:DATA 1 command instructs the
PM-1100 to display a power measurement with 1 digit after the decimal
point.
Note: It is recommended to retrieve the response immediately after each query.