R E M O T E O P E R A T I O N S
Status Reporting
02_03
LDC-3926339
31
C H A P T E R
3
Status Reporting
The following sections discuss the LDC-3926339 module-dependent aspects of
status reporting, including the OUTOFF commands and queries. The Output Off
Register section also contains information on enabling the conditions that disable
one of the laser current sources.
Refer to the LDC-3926 User's Guide, Chapter 3 Remote Operations for more
detailed information about standard status structures and mainframe-related
commands.
Status Registers
The LDC-3926339 module provides status registers which are summarized in the
mainframe. These summaries are accessed using the ALLCOND? and ALLEVE?
remote queries. Refer to the LDC-3926 User's Guide for details about remote
status reporting.
Each channel of the mainframe may contribute to the ALLCOND and ALLEVE
registers. For the LDC-3926339 module, the enabled conditions of both laser
current sources are logically ORed, and the summary is passed to the appropriate
bit of the ALLCOND register (see Figure 3.2). Likewise, the enabled events of
both current sources are logically ORed, and the summary is passed to the
appropriate bit of the ALLEVE register (see Figure 3.3). An
appropriate bit
is the
bit corresponding to the channel number; bits 0-15 correspond to channels 1-16.
For example, you may wish to have the mainframe generate an interrupt to the
host PC in the event of the laser current source going into Power Limit. As Figure
3.3 shows, bit 3 of the laser Event register is set when the laser goes in or out of
Power Limit. Enable the event by setting bit 3 in the laser Enable Event register
using the command
LASER:ENAB:EVE 8
. This allows the event to be passed to
the ALLEVE register in the mainframe. You can monitor the ALLEVE status by
using the ALLEVE? query, and you can monitor the summary using the *STB?
query. To generate the SRQ (interrupt) for our example, you must also set the
Service Request Enable Register. For example, *SRE 1 allows the ALLEVE
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com