2 – 14
Remote Operation
Console Mode
CONS(?)
{
z
}
Set (query) the Console mode
{
to
z
=
(
OFF 0
,
ON 1
)
}
.
CONS
causes each character received at the Input Bu
ff
er to be copied
to the Output Queue.
At power-on and Device-Clear,
CONS
is set to
OFF
.
CONS?
Example:
0
Identify
*IDN?
Read the device identification string.
The identification string is formatted as:
Stanford Research Systems,SIM928,s/n******,ver#.#
where
******
is the 6-digit serial number, and
#.#
is the firmware
revision level.
*IDN?
Example:
Stanford Research Systems,SIM928,s/n003075,ver1.1
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 complete,
but does not a
ff
ect the ESR register.
*OPC
Example:
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
*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
.
SIM928
Isolated Voltage Source