Agilent Technologies 86082A User Manual page 192

Wavelength domain component analyzer
Table of Contents

Advertisement

Combine commands in the same subsystem
You can combine commands from the same subsystem provided that they are
both on the same level in the subsystem's hierarchy. Commands are separated
with a semi-colon (;). For example, the following two lines,
sendMessage":SENSe:WAVelength:STARt 1550NM"
sendMessage":SENSe:WAVelength:STOP 1560NM"
can be combined into one line:
sendMessage":SENSe:WAVelength:STARt 1550NM;STOP 1560NM"
The semicolon separates the two functions.
Combine commands from different subsystems
You can send commands and program queries from different subsystems on
the same line by preceding the new subsystem by a semicolon followed by a
colon. In the following example, the colon and semicolon pair before CALCulate
allows you to send a command from another subsystem.
sendMessage":SENSe:WAVelength:SPAN:FULL;:CALCulate:MARKer1:MAXimum"
Sending common commands
If a subsystem has been selected and a common command is received by the
instrument, the instrument remains in the selected subsystem. For example, if
the command
sendMessage":SENSe:WAVelength:STARt 1550NM;*CLS;STOP 1550NM"
is sent to the instrument, the Sense subsystem remains selected. If some other
type of command is received within a program message, you must reenter the
original subsystem after the command.
Adding parameters to a command
Many commands have parameters that specify an option. Use a space charac-
ter to separate the parameter from the command, as shown in the following
line:
sendMessage":SENSe:WAVelength:STARt 1550NM"
Separate multiple parameters with a comma (,). Spaces can be added around
the commas to improve readability.
sendMessage":DISPlay:WINDow:TRACe:STATe TRB, ON"
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Remote Operation
SCPI Syntax Rules
5-17

Advertisement

Table of Contents
loading

Table of Contents