WA-1150 and WA-1650 Wavemeter Operating Manual
3 Remote Communications
EXFO Burleigh Products Group Inc. (09042-M-00 Rev C)
3-5
SCPI Command Detail
This section provides detailed information for all SCPI programming commands. The
commands are organized by subsystem.
Common Commands
*CLS
Description
*CLS (clear status) command clears the event status register and the error
queue.
*ESE?
Description
Queries the bits in the event status enable register.
Query Response
Returns an integer which is the sum of all the bit values for those bits that are
set (see Event Status Register Enable table below).
*ESE <integer >
mask from 0 to 255
Description
The *ESE (event status enable) command sets the bits in the event status enable
register and enables the corresponding events in the event status register. For
each bit that is set (equal to 1), it is enabled in the event status register (ESR).
<integer> is an integer which is the sum of all of the bit values for those bits
that are set.
Event Status Enable Register
Bit
Bit Value
Enables
7
128
Power On (PON)
6
64
Not Used
5
32
Command Error (CME)
4
16
Execution Error (EXE)
3
8
Device Dependent Error (DDE)
2
4
Query Error (QYE)
1
2
Not Used
0
1
Operation Complete (OPC)
*ESR?
Description
The *ESR (event status register) query returns a value which encodes the bits
in the event status register. If any bits are set in the ESR, then the ESR
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com