Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-65
Details
Bits that are set to one cause the corresponding line to be write-protected.
The binary equivalent of mask indicates the mask to be set for the I/O port. For example, a mask
value of 7 has a binary equivalent of 00000000000111. This mask write-protects lines 1, 2, and 3.
Example
Write-protects lines 1, 2, 3, and 4.
Also see
digio.writebit() (on page 9-63)
digio.writeport() (on page 9-64)
display.clear()
This function clears all lines of the front-panel display.
Usage
display.clear()
Details
This function switches to the user screen and then clears the front-panel display.
The display.clear(), display.setcursor(), and display.settext() functions are
overlapped commands. That is, the script does not wait for one of these commands to complete.
These functions do not immediately update the display. For performance considerations, they update
the display as soon as processing time becomes available.
Also see
display.setcursor() (on page 9-80)
display.settext() (on page 9-81)
display.getannunciators()
This function reads the annunciators (indicators) that are presently turned on.
Usage
annunciators = display.getannunciators()
The bitmasked value that shows which indicators are turned on
Details
This function returns a bitmasked value showing which indicators are turned on. The 16-bit binary
equivalent of the returned value is the bitmask. The return value is a sum of set annunciators, based
on the weighted value, as shown in the following table.