4 – 54
Remote Operation
Last 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 “
?
”.
Laser Diode Condition
LDCR? [
i
]
Read the Laser Diode Condition Register [bit
i
].
Laser Diode Positive-Transition
LDPT(?) [
i,
]
{
j
}
Set (query) the Laser Diode Positive Transition Register [bit
i
]
{
to
j
}
.
LDPT 4,1
Example:
Laser Diode Negative-Transition
LDNT(?) [
i,
]
{
j
}
Set (query) the Laser Diode Negative Transition Register [bit
i
]
{
to
j
}
.
LDNT?
Example:
16
LDC500 Series Laser Diode Controllers