![SRS Labs SIM960 Operation And Service Manual Download Page 48](http://html1.mh-extra.com/html/srs-labs/sim960/sim960_operation-and-service-manual_1354206048.webp)
3 – 22
Remote Operation
Operation Complete
*OPC(?)
Operation Complete. Sets the OPC flag in the ESR register.
The query form
*OPC?
writes a
1
in the Output Queue when com-
plete, but does not a
ff
ect the ESR register.
*OPC?
Example:
1
Wait
WAIT
i
Wait
i
milliseconds before processing more commands from the host.
When using the
WAIT
command, be careful to not overflow the input
bu
ff
er of the SIM960 (see section 3.3.2).
SETP 0
Example:
RATE 0.1
SETP 1.0; WAIT 5000; SMON?
+00.483159
Execution Error
LEXE?
Query the last execution error code. Valid codes are:
Value
Definition
0
No execution error since last
LEXE?
1
Illegal value
2
Wrong token
3
Invalid bit
16
Invalid parameter
17
Missing parameter
18
No change
20
Ramp in progress
21
Limits conflict
*STB? 12; LEXE?; LEXE?
Example:
3
0
The error (3, “Invalid bit,”) is because
*STB?
only allows bit-specific
queries of 0–7. The second read of
LEXE?
returns
0
.
SIM960 Analog PID Controller