2470 High Voltage SourceMeter Instrument Reference Manual
Section 12: SCPI command reference
2470-901-01 Rev. A /
May
2019
12-99
:STATus:OPERation:MAP
This command allows you to map event numbers to bits in the Operation Event Registers.
Type
Affected by
Where saved
Default value
Command and query
Not applicable
Not applicable
Not applicable
Usage
:STATus:OPERation:MAP <bitNumber>, <setEvent>
:STATus:OPERation:MAP <bitNumber>, <setEvent>, <clearEvent>
:STATus:OPERation:MAP? <bitNumber>
<bitNumber>
The bit number that is mapped to an event (
0
to
14
)
<setEvent>
The number of the event that sets the bits in the condition and event registers; 0 if no
mapping
<clearEvent>
The number of the event that clears the bit in the condition register; 0 if no mapping
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.
The query requests the mapped set event and mapped clear event status for a bit in the Operation
Event Registers. 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
:STATus:OPERation: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
Operation Event Register. When event 4918 (buffer is
100% filled) occurs, bit
0
in the condition register is
cleared.
Also see
(on page B-7)