2.4 Commands
2 – 11
Command Error
LCME?
Query the last command error code. A query of
LCME?
always clears
the error code, so a subsequent
LCME?
will return
0
. Valid codes are:
Value
Definition
0
No execution error since last
LCME?
1
Illegal command
2
Undefined command
3
Illegal query
4
Illegal set
5
Missing parameter(s)
6
Extra parameter(s)
7
Null parameter(s)
8
Parameter bu
ff
er overflow
9
Bad floating-point
10
Bad integer
11
Bad integer token
12
Bad token value
13
Bad hex block
14
Unknown token
*IDN
Example:
LCME?
4
The error (4, “Illegal set”) is due to the missing “
?
”.
Parity
PARI(?)
{
z
}
Set (query) parity
{
to
z
=
(
NONE 0
,
ODD 1
,
EVEN 2
,
MARK 3
,
SPACE 4
)
}
.
After power-on, modules default to
PARI
NONE
.
PARI EVEN
Example:
Token Mode
TOKN(?)
{
z
}
Set (query) the Token Query mode
{
to
z
=
(
OFF 0
,
ON 1
)
}
.
If
TOKN
ON
is set, then queries to the SIM module that return to-
kens will return the text keyword; otherwise they return the decimal
integer value.
Thus, the only possible responses to the
TOKN?
query are
ON
and
0
.
On reset,
TOKN
is set to
OFF
.
TOKN OFF
Example:
SIM984 Isolation Amplifier
Содержание SIM984
Страница 4: ...ii Contents SIM984 Isolation Ampli er...