93
Programming
Making Measurements
time. However, non-sequential commands can also be a source of annoying errors.
Always use the *OPC query or *WAI command with the non-sequential commands
to ensure that your programs execute properly.
For example, suppose that you wanted to set the elevation correction value and then
send an :INIT:IMM command. The following programming fragment results in an
error
–213 “Init ignored”
. This occurs because the :ELEVation
command causes
the recalculation of the data which is like sending the :INIT:IMM command. When
the actual :INIT:IMM is sent, the error occurs because the command is already in
progress.
OUTPUT 720;”:INIT:IMM”
OUTPUT 720;”:SENSe:CORRection:ELEVation 1000”
OUTPUT 720;”:INIT:IMM”
Use an *OPC? query to ensure that the :
ELEVation
command has completed as
shown in the following lines:
OUTPUT 720;”:INIT:IMM”
OUTPUT 720;”:SENSe:CORRection:ELEVation 1000”
OUTPUT 720;”*OPC?”
ENTER 720;Response$
OUTPUT 720;”:INIT:IMM”
Or, the *WAI command could be used:
OUTPUT 720;”:INIT:IMM”
OUTPUT 720;”:SENSe:CORRection:ELEVation 1000”
OUTPUT 720;”*WAI?”
OUTPUT 720;”:INIT:IMM”
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: ......