4.5 Commands
4 – 53
Standard Event Status Enable
*ESE(?) [
i,
]
{
j
}
Set (query) the Standard Event Status Enable Register [bit
i
]
{
to
j
}
.
*ESE 6,1
Example:
ESE?
64
Clear Status
*CLS
*CLS
immediately clears the ESR, LDEV, and TEEV registers.
*CLS
Example:
Last Execution Error
LEXE?
Query the last execution error code. A query of
LEXE?
always clears
the error code, so a subsequent
LEXE?
will return
0
. Valid codes are:
Value
Definition
0
No execution error since last
LEXE?
1
Illegal value
2
Wrong token
3
Invalid bit
4
Queue full
5
Not compatible
SILD 12345; LEXE?; LEXE?
Example:
1;0
The error (1, “Illegal value,”) is because the parameter value (
12345
)
is too large for
SILD
. The second read of
LEXE?
returns
0
.
LDC500 Series Laser Diode Controllers