Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-397
Also see
tsplink.readbit() (on page 9-385)
tsplink.readport() (on page 9-385)
tsplink.writeport() (on page 9-397)
tsplink.writeprotect (on page 9-397)
tsplink.writeport()
This function writes to all TSP-Link synchronization lines. This command is not available on the 2604B, 2614B, or
2634B.
Usage
tsplink.writeport(data)
Value to write to the port (0 to 7)
Details
The binary representation of data indicates the output pattern that is written to the I/O port. For
example, a data value of 2 has a binary equivalent of 010. Line 2 is set high (1), and the other two
lines are set low (0).
Write-protected lines are not changed.
Use the tsplink.writebit() and tsplink.writeport() commands to control the output state
of the synchronization line when trigger operation is set to tsplink.TRIG_BYPASS.
The reset() function does not affect the present states of the trigger lines.
Example
Sets the synchronization lines 1 and 2 high (binary 011).
Also see
tsplink.readbit() (on page 9-385)
tsplink.readport() (on page 9-385)
tsplink.writebit() (on page 9-396)
tsplink.writeprotect (on page 9-397)
tsplink.writeprotect
This attribute contains the write-protect mask that protects bits from changes by the tsplink.writebit() and
tsplink.writeport() functions. This command is not available on the 2604B, 2614B, or 2634B.
Instrument reset
Recall setup