
SCPI Commands HMF series
Remote Control
11
Basics
SCPI Programmers Manual
•
The requested parameter is transmitted without a header.
Example:
VOLTage:UNIT VOLT
VOLTage:UNIT?, Response: VOLT
1.5 Command Sequence and Synchronization
A sequential command finishes the execution before the next command is starting. 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.
NOTICE
As a general rule, send commands and queries in different program messages.
1.5.1 Preventing Overlapping Execution
Command
Action
Programming the controller
*OPC
Sets the Operation Complete bit in
the ESR after all previous commands
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. This is only the case
after the Operation Complete bit has
been set in the ESR. This bit indi-
cates 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 processing
until all commands have been exe-
cuted before *WAI.
Sending *WAI directly after the com-
mand whose processing should be
terminated before other commands are
executed
Table 1.7: Synchronization using *OPC, *OPC? and *WAI
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 corresponding action.
NOTICE
The HMF series does not support parallel processing of remote commands. If OPC?
returns a „1“, the device is able to process new commands.