
19-220
Return to
2600AS-901-01 Rev. B / September 2008
Section 19: Remote Commands
Series 2600A System SourceMeter® Instruments Reference Manual
tsplink.writeprotect
Attribute
Write protect mask that disables bits from being changed with the
tsplink.writebit
and
tsplink.writeport
functions.
Default
0
TSP-Link
accessibility
This attribute can be accessed from a remote TSP-Link node.
Usage
mask = tsplink.writeprotect
-- Reads write protect mask.
tsplink.writeprotect = mask
-- Writes write protect mask.
mask
Set to the value that specifies the bit pattern for write
protect.
Remarks
• Bits set to 1 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 5 has a binary equivalent 101. This mask write protects lines 1 and 3.
Details
See
Also see
Example
Write protects lines 1 and 3:
tsplink.writeprotect
=
5