Section 6: 9100 System Operation — SCPI Language
6-53
Final Width = 215mm
6.6.5.7
STAT:QUES:COND?
Purpose
QUES:COND?
returns the contents of the Questionable Condition register, which is not cleared by the command.
N.B.
This register contains transient states, in that its bits are not 'sticky', but are set and reset by the referred conditions. The
response to the query therefore represents an instantaneous 'Snapshot' of the register state, at the time that the query was
accepted.
Response
A
<DNPD>
in the form of an Nr1 number is returned. The value of the number, when converted to base 2 (binary), identifies the
Questionable Condition register bits to determine their current status.
For example (refer to Fig. 6.2):
If an incorrect UUT source current was generating an error during Resistance operations, and the temporary 'INV OHM CURR1'
bit 9 of the Condition register was set; and if no other Questionable Condition bits were set, the number
512
would be returned.
6.6.5.8
STAT:PRES
SCPI-Mandated Command
The intention behind mandating the
PRES
command is to enable all bits in the SCPI-defined 'Device-dependent' and 'Transition'
registers in order to provide a "device-independent structure for determining the gross status of a device".
Purpose in the 9100
In the 9100, the functions of the 'Transition' registers are not required, so no access is given. The
PRES
command therefore affects
only the two device-dependent enabling registers:
The Operation Event Enable register
The Questionable Event Enable register.
Refer to Fig. 6.2 and Sub-Section 6.5.4. Sending
PRES
will set true all bits in both Enable registers. This will enable all bits in
the two Event registers, so that all reportable device-dependent events, reported in the two registers, will be capable of generating
an SRQ; providing only that bits 3 and 7 in the IEEE-488.2 Status Byte Register are also enabled.
The use of
PRES
in the 9100 allows the status-reporting structure to be set to a known state, not only for the intention of the SCPI
mandate, but also to provide a known starting point for application programmers.