Reviewing Scpi Syntax Rules - Agilent Technologies 86121A User Manual

Wdm channel analyzer
Table of Contents

Advertisement

4-22 Reviewing SCPI Syntax Rules

Reviewing SCPI Syntax Rules
SCPI command are grouped in subsystems
In accordance with IEEE 488.2, the commands are
grouped into "subsystems." Commands in each sub-
system perform similar tasks. The following subsystems
are provided:
Measurement Instructions
Calculate1 Subsystem
Calculate2 Subsystem
Calculate3 Subsystem
Display Subsystem
Hcopy Subsystem
Mmemory Subsystem
Sense Subsystem
Status Subsystem
System Subsystem
Trigger Subsystem
Sending a command
It's easy to send a command to the instrument. Simply
create a command string from the commands listed in
this book, and place the string in your program lan-
guage's output statement. For commands other than
common commands, include a colon before the sub-
system name. For example, the following string places
the cursor on the peak laser line and returns the power
level of this peak:
OUTPUT 720;":MEAS:SCAL:POW? MAX"
Use either short or long forms
Commands and queries may be sent in either long form
(complete spelling) or short form (abbreviated spell-
ing). The description of each command in this manual
shows both versions; the extra characters for the long
form are shown in lowercase.
The following is a long form of a command:
OUTPUT 720;":MEASure:SCALar:POWer? MAXimum"
And this is the short form of the same command:
OUTPUT 720;":MEAS:SCAL:POW? MAX"

Advertisement

Table of Contents
loading

Table of Contents