EasyManua.ls Logo

Anritsu MS9740A - Page 43

Anritsu MS9740A
320 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2.7 Controlling Message Sync
2-27
2
Before Use
:INITiate:IMMediate:SEQuence[1|2]
:INSTrument:SELect
However, if the next message is sent before the previous asynchronous
message processing is completed, the message is discarded and the
correct measurement conditions will not be obtained.
The following program message executes the single measurement,
detects the peak level and its wavelength, and read its wavelength.
:INIT; :CALC:MARKer1:MAX; :CALC:MARK1:Y?
Figure 2.7-1 shows the message execution sequence when this message is
sent to the MS9740A. After executing
:INIT
, sweeping starts. As the
peak search is executed during sweeping,
:CALC:MARKer1:MAX
is
executed as well. The read peak level and wavelength during sweeping
are sometimes different from those after sweeping.
Figure 2.7-1 Message Processing Order
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
Using
ESR2?
query
The
*WAI
command,
*OPC?
query, *OPC command, and
*ESR?
query can
be used for all messages.
Time
Message received
:INIT;
Sweeping
:CALC:MARKer1:MAX;
Peak search detection
:CALC:MARK1:Y?
Save to marker data output queue
Peak detected at this time point

Table of Contents

Related product manuals