Chapter 2 Before use
2-14
2.7 Controlling Message Sync
The following messages (12 types max.) can be received during
measurement by this instrument and analysis of measurement results.
However, if a message is sent to change the measurement parameters
before the previous processing is completed, the message is discarded and
the correct measurement conditions will not be set.
The following program message changes the wavelength to 1550 nm
while performing averaging measurements at a wavelength of 1310 nm.
SOUR:WAV 1310; INIT; SOUR:WAV 1550
Figure 2.7-1 shows the message execution sequence when this message is
sent to the instrument. After setting the initial wavelength, sweeping
starts when INIT is sent. Although a command to change the wavelength
to 1550 nm is sent during sweeping, the command is ignored during
measurement.
Time
Message received
INIT: Measuring
This command is ignored.
SOUR:WAV
1310
Set Wavelength
SOUR:WAV
1550
Change wavelength
Figure 2.7-1 Message Execution Sequence
The control for processing the next command after completing processing
of the message sent first is called sync control.
Sync control is performed by the following methods.
Using
*WAI
command
Using
*OPC?
query
Using
*OPC
command and
*ESR?
query
By querying execution end
The
*WAI
command,
*OPC?
query and *OPC command can be used for all
messages.