C O M M A N D R E F E R E N C E
LDC-3908 Mainframe Command Reference
30
LDC-3908
C H A P T E R
4
!
The ALLCOND? query returns the status summary of enabled conditions from each channel of the
LDC-3908 Laser Diode Controller.
Parameters
None. The response is the sum of the following:
1 - Channel 1 conditions
2 - Channel 2 conditions
4 - Channel 3 conditions
8 - Channel 4 conditions
16 - Channel 5 conditions
32 - Channel 6 conditions
64 - Channel 7 conditions
128 - Channel 8 conditions
Notes
Each channel's conditions that are summarized here represent that channel's contribution to the
Status Byte Register. All of the “bits” of the ALLCOND register are logically ORed to set or clear bit
0 of the Status Byte Register.
The value of the ALLCOND register is not cleared until it is read using the ALLCOND? query. Thus,
if an SRQ is generated from any of the condition “bits” of the ALLCOND register, it is necessary to
use the ALLCOND? query in the user's interrupt service routine to reset the interrupt-enabled
condition. Otherwise, multiple interrupts would occur.
Typical use of the ALLCOND? query would be in conjunction with the *STB? query. For example, if
you first read the status byte with *STB? and find bit 0 is set, then you can read the ALLCOND? to
find out which channel(s) generated the change. If more information is still required, then you can
query the contributing channel(s) for the appropriate conditions (e.g. “CHAN 3;LAS:COND?” or
“CHAN 8;TEC:COND?”, etc.). For more information, see the appropriate condition-enable
commands, e.g. “LAS:ENAB:COND” or “TEC:ENAB:COND”. Refer to the appropriate module
instruction manual for details on each specific module.
Examples
“ALLCOND?” -response: 0, means that no channels have any enabled conditions to pass to the
Status Byte register.
"allcond?" -response: 9, means that channels 1 and 4 have enabled conditions. Bit 0 of the Status
Byte register is set.
“Rad bin;Allcond?” -response: #B10001, means that channels 1 and 5 have enabled conditions.
Bit 0 of the Status Byte register is set.
ALLCOND?
F
RONT
P
ANEL
R
EMOTE
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Summary of Contents for LDC-3908
Page 3: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Page 7: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Page 9: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Page 11: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Page 53: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...