Remote Operation
Getting Started
Combine commands from different subsystems
You can send commands and program queries from different subsystems on the same line; simply precede the new subsystem by a semicolon followed by a colon. In the following example, the colon and semicolon pair before CALC allows you to send a command from another subsystem.
OUTPUT 723;”:SENS:WAV:SPAN:FULL;:CALC:MARK1:MAX”
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
OUTPUT 723;”:SENS:WAV:STAR 1300NM;*CLS;STOP 1400NM”
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 character to separate the parameter from the command, as shown in the following line:
OUTPUT 723;”:SENS:BWID:RES 0.1NM”
Separate multiple parameters with a comma (,). Spaces can be added around the commas to improve readability.
OUTPUT 723;”:DISP:WIND:TRAC:STAT TRB, ON”
White space
White space is defined to be one or more characters from the ASCII set of
0 through 32 decimal, excluding 10 (NL). White space is usually optional, and can be used to increase the readability of a program.