Status.operation.getmap(); Status.operation.setmap() - Keithley DMM7510 Reference Manual

7 1/2 digit graphical sampling multimeter
Hide thumbs Also See for DMM7510:
Table of Contents

Advertisement

Section 8: TSP command reference

status.operation.getmap()

This function requests the mapped set event and mapped clear event status for a bit in the Operation Event
Registers.
Type
TSP-Link accessible
Function
Yes
Usage
setEvent, clearEvent = status.operation.getmap(bitNumber)
setEvent
clearEvent
bitNumber
Details
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
print(status.operation.getmap(0))
Also see
Operation Event Register

status.operation.setmap()

status.operation.setmap()
This function maps events to bits in the Operation Event Register.
Type
TSP-Link accessible
Function
Yes
Usage
status.operation.setmap(bitNumber, setEvent)
status.operation.setmap(bitNumber, setEvent, clearEvent)
bitNumber
setEvent
clearEvent
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.
8-244
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Affected by
Where saved
The event mapped to set this bit; 0 if no mapping
The event mapped to clear this bit; 0 if no mapping
The bit number to check
(on page 7)
(on page 8-244)
Affected by
Where saved
The bit number that is mapped to an event (0 to 14)
The number of the event that sets the bits in the condition and event registers; 0 if
no mapping
The number of the event that clears the bit in the condition register; 0 if no mapping
Default value
Query bit 0 of the Operation Event
Register.
Example output:
4917
4916
Default value
DMM7510-901-01 Rev. B / May 2015

Advertisement

Table of Contents
loading

Table of Contents