2.4
Commands
2 – 13
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 “
?
”.
Button
LBTN?
Query the last button-press code. A query of
LBTN?
always clears
the button code, so a subsequent
LBTN?
will return
0
. Valid codes
are:
Value
Definition
0
no button pressed since last
LBTN?
1
[UL ]
2
[UL ]
3
[LL ]
4
[LL ]
5
[UL ]
6
[LL ]
LBTN?
Example:
1
SIM964
Analog Limiter