105
Programming
Reviewing SCPI Syntax Rules
OUTPUT 720;”:CALC2:PEXC 12;:DISP:WIND:GRAP:STAT OFF”
Sending common commands
If a subsystem has been selected and a common command is received by the instru-
ment, the instrument remains in the selected subsystem. For example, if the program
message
”DISPLAY:MARK:MAX:LEFT;*CLS;DISP:MARK:MAX:RIGH”
is received by the instrument, the Display 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 720;”:INIT:CONT ON”
Separate multiple parameters with a comma (,). Spaces can be added around the
commas to improve readability.
OUTPUT 720;”:MEAS:SCAL:POW:FREQ? 1300, MAX”
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.
Numbers
All numbers are expected to be strings of ASCII characters. Thus, when sending the
number 9, you would send a byte representing the ASCII code for the character “9”
(which is 57). A three-digit number like 102 would take up three bytes (ASCII codes
49, 48, and 50). This is taken care of automatically when you include the entire
instruction in a string. Several representations of a number are possible. For exam-
ple, the following numbers are all equal:
28
0.28E2
280E-1
28000m
0.028K
28E-3K
Summary of Contents for 86120B
Page 1: ...Keysight 86120B Multi Wavelength Meter User s Guide...
Page 2: ......
Page 3: ...1...
Page 12: ...10 General Safety Considerations...
Page 68: ...You can use the ABORT and CONT softkey to stop and restart a print job that is in progress...
Page 100: ...98 Programming Monitoring the Instrument...
Page 231: ...229 Performance Tests Test 5 Amplitude Accuracy and Linearity...
Page 232: ......
Page 244: ...242 Specifications and Regulatory Information Product Overview...
Page 250: ...248 Reference Menu Maps Display List by Power Menu Display List by WL Menu...
Page 251: ...249 Reference Menu Maps Delta On Menu Delta Off Menu...
Page 253: ...251 Reference Menu Maps System Print Menu...
Page 254: ...252 Reference Menu Maps System Setup Menu...
Page 272: ......