Section 12: SCPI command reference
2470 High Voltage SourceMeter Instrument Reference Manual
12-102
2470-901-01 Rev. A /
May
2019
Details
You can map events to bits in the event registers with this command. This allows you to cause bits in
the condition and event registers to be set or cleared when the specified events occur. You can use
any valid event number as the event that sets or clears bits.
When a mapped event is programmed to set bits, the corresponding bits in both the condition register
and event register are set when the event is detected.
When a mapped event is programmed to clear bits, the bit in the condition register is set to
0
when
the event is detected.
If the event is set to zero (
0
), the bit is never set.
See
(on page B-9) for information about event numbers.
When you query the mapping for a specific bit, the instrument returns the events that were mapped to
set and clear that bit. Zero (
0
) indicates that the bits have not been set.
Example
:STAT:QUES:MAP 0, 4917, 4918
When event 4917 (the buffer is 0% filled) occurs, bit 0 is set in
the condition register and the event register of the
Questionable Event Register. When event 4918 (buffer is
100% filled) occurs, bit 0 in the condition register is cleared.
Also see
(on page B-6)
:STATus:QUEStionable[:EVENt]?
This command reads the Questionable Event Register.
Type
Affected by
Where saved
Default value
Query only
Not applicable
Not applicable
Not applicable
Usage
:STATus:QUEStionable[:EVENt]?
Details
This query reads the contents of the questionable status event register. After sending this command
and addressing the instrument to talk, a value is sent to the computer. This value indicates which bits
in the appropriate register are set.
The Questionable Register can be set to the numeric equivalent of the bit to set. To set more than
one bit of the register, set the Questionable Register to the sum of their decimal weights. For
example, to set bits B12 and B13, set the Questionable Register to 12,288 (which is the sum of
4,096 + 8,192).
Example
:STAT:QUES?
Query the Questionable Register.
Also see
(on page B-6)