109
Programming
Example Programs
FNIdentity function
When this function is called, it resets the instrument and queries the instrument’s
identification string which is displayed on the computer’s screen by the calling func-
tion. To accomplish this task, the FNIdentity function uses the *RST, *OPC?, and
*IDN? common commands. This function is called from examples 1 through 5.
Err_mngmt subroutine
This subroutine checks to make sure that no errors have set bits in the event status
register and that there are no errors in the queue. Exiting this subroutine is only pos-
sible if no errors have occurred. Notice that the logic test in the subroutine tests for
the same event status register bits enabled by the Set_ese subroutine: BIT(Cme,5),
BIT(Cme,4), BIT(Cme,2).
This subroutine is called in examples 1 through 5. However, it is modified in exam-
ples 3, 4, and 5 to allow it to indicate the last programming command that was sent
to the instrument before an error occurred. This is accomplished by adding an
optional argument string.
Cmd_opc subroutine
The Cmd_opc subroutine, found in examples 3, 4, and 5, pauses the program until a
non-sequential command has finished executing on the Keysight 86120B. It uses the
*OPC? query. For more information on non-sequential commands, refer to
force the Keysight 86120B to wait for non-sequential commands” on page 92
Tempo subroutine
This subroutine, which is only found in example 3, pauses the program for a few
seconds while the Keysight 86120B measures the drift on a laser. The argument in
the example sets the pause for 10 seconds.
Содержание 86120B
Страница 1: ...Keysight 86120B Multi Wavelength Meter User s Guide...
Страница 2: ......
Страница 3: ...1...
Страница 12: ...10 General Safety Considerations...
Страница 68: ...You can use the ABORT and CONT softkey to stop and restart a print job that is in progress...
Страница 100: ...98 Programming Monitoring the Instrument...
Страница 163: ...161 Programming Commands CALCulate1 Subsystem Query Response For normal update 34123 For fast update 4268...
Страница 231: ...229 Performance Tests Test 5 Amplitude Accuracy and Linearity...
Страница 232: ......
Страница 233: ...7 Definition of Terms 233 Specifications 235 General Safety Information 239 Specifications and Regulatory Information...
Страница 244: ...242 Specifications and Regulatory Information Product Overview...
Страница 250: ...248 Reference Menu Maps Display List by Power Menu Display List by WL Menu...
Страница 251: ...249 Reference Menu Maps Delta On Menu Delta Off Menu...
Страница 253: ...251 Reference Menu Maps System Print Menu...
Страница 254: ...252 Reference Menu Maps System Setup Menu...
Страница 272: ......