Additional Basics on Remote Control
R&S
®
NGA100
118
User Manual 5601.8919.02 ─ 03
A.2.1
Preventing Overlapping Execution
Table A-4: Synchronization using *OPC, *OPC? and *WAI
Command
Action
Programming the controller
*OPC
Sets the Operation Complete bit
in the ESR after all previous com-
mands have been executed.
●
Setting bit 0 in the ESE
●
Setting bit 5 in the SRE
●
Waiting for service request
(SRQ)
*OPC?
Stops command processing until
1 is returned. It occurs after the
Operation Complete bit has been
set in the ESR. This bit indicates
that the previous setting has been
completed.
Sending
*OPC?
directly after the
command whose processing
should be terminated before other
commands can be executed.
*WAI
Stops further command process-
ing until all commands have been
executed before
*WAI
.
Sending
*WAI
directly after the
command whose processing
should be terminated before other
commands are executed
To prevent an overlapping execution of commands the commands
*OPC
,
*OPC?
or
*WAI
can be used. All three commands cause a certain action only to be carried out
after the hardware has been set. The controller can be forced to wait for the corre-
sponding action.
The R&S NGA100 series does not support parallel processing of remote commands. If
OPC?
returns a "1", the device is able to process new commands.
Command Sequence and Synchronization