Command
ESR?
Syntax
*ESR?
>>
Description
Query the Standard Event Status Register
Parameters
N/A
Response
Unsigned integer 8 bit value for the register <0 to 255>, as a string.
Bit
Description
Decimal Value
7 (MSB)
Not used
0
6
Not used
0
5
Command error
32
4
Command Execution Error
16
3
Device Dependent Error
8
2
Not used
0
1
Not used
0
0 (LSB)
Operation Complete
1
Example
*ESR? -> 8
*ESR? -> 32
NOTE
It is recommended to use the
*ESR?
command query after every command that is sent to the device. The
*ESR?
query will be able to catch:
l
Device dependent Error
– the device is reporting an error in operation.
l
Execution Error
– SCPI was unable to execute the given command.
l
Command Error
– SCPI was unable to parse the given command, likely due to an incorrect command.
Quantifi Photonics | SLED 1000 / 1300 Series PXIe User Manual | Document version 1.08
44 / 61