![Rohde & Schwarz SMBV100B User Manual Download Page 967](http://html.mh-extra.com/html/rohde-and-schwarz/smbv100b/smbv100b_user-manual_1477881967.webp)
Reference Information for Remote Control
R&S
®
SMBV100B
965
User Manual 1178.4460.02 ─ 03
Example: Overlapped command followed by conflicting commands
Suppose that the generator is switched on to provide a real time test signal that
requires some calculation time. This signal is to be added to a waveform from the sec-
ond baseband generator. In this case, the application program has to make sure that
the real signal is available in the added signal before further action is started. This
involves an appropriate synchronization technique for the first command (the following
sequence assumes an appropriate routing):
SOUR:BB:3GPP:STAT ON
The instrument waits until command has finished.
SOUR2:BB:GSM:STAT ON
Depending on the selected synchronization techniques, non-conflicting commands can
be executed while waiting until the synchronized overlapped command has finished.
Example: Polling the progress of the zeroing process
Suppose that you start the zeroing for a connected power sensor via the remote con-
trol command
SENS1:ZERO
. This process blocks the processing of further tasks during
execution. The query for completeness is performed with the
*OPC?
command. It
returns a
1
in the output buffer when the process is completed.
SENS:ZERO;*OPC?
Instead of waiting via
*OPC?
, you can perform alternative tasks while the zeroing is
running, as for example updating the GUI or adjusting other instruments. Synchronize
the commands by querying the progress of the zeroing process periodically via the
event status register
*ESR?
:
*SRE 32
Sets the service request enable. The bit is set when an event in the event status regis-
ter occurs.
*ESE 1
Configures the mask of the event status register to "Operation Complete".
SENS:ZERO;*OPC
Sets the evaluation via the status byte query. It uses
*OPC?
as the reference.
*CLS
Clears all status registers.
Even if the instrument is busy, you can perform this procedure, since the query is exe-
cuted in a subchannel.
A.1.5
Status Reporting System
The status reporting system stores all information on the current operating state of the
instrument, and on errors which have occurred. This information is stored in the status
registers and in the error queue.
You can query both with the commands of the
Additional Basics on Remote Control