Command Processing    R&S
® 
ZVA/ZVB/ZVT 
1145.1084.12 5.16  E-1 
they have been received.  
In order to make sure that commands are actually carried out in a certain order, each command must 
be sent in a separate command line, that is to say, with a separate IBWRT()–call.  
The analyzer provides only one command, INITiate<Ch>[:IMMediate], that has been 
implemented for overlapped execution. What is said below is not relevant for the other (sequential) 
SCPI commands.   
Preventing overlapping execution 
In order to prevent an overlapping execution of commands, one of commands *OPC, *OPC? or *WAI 
must be used. All three commands cause a certain action only to be carried out after the hardware has 
been set and has settled. By suitable programming, the controller can be forced to wait for the 
respective action to occur (see table below). 
Command  Action after the hardware has settled  Programming the controller 
*OPC  Setting the operation complete bit in the ESR  – Setting bit 0 in the ESE 
– Setting bit 5 in the SRE 
– Waiting for service request (SRQ) 
*OPC?  Writing a "1" into the output buffer  Addressing the instrument as a talker 
*WAI 
Executing the next command
  
Note: The GPIB bus handshake is not stopped 
Sending the next command