Model 2657A High Power System SourceMeter® Instrument Reference Manual Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012 7-357
Details
Use tsplink.writebit() and tsplink.writeport() to control the output state of the trigger line when
trigger operation is set to tsplink.TRIG_BYPASS.
If the output line is write-protected by the tsplink.writeprotect attribute, this command is ignored.
The reset function does not affect the present states of the TSP-Link trigger lines.
Example
tsplink.writebit(3, 0)
Sets trigger line 3 low (0).
Also see
tsplink.readbit() (on page 7-346)
tsplink.readport()
(on page 7-346)
tsplink.writeport()
(on page 7-357)
tsplink.writeprotect
(on page 7-358)
tsplink.writeport()
This function writes to all TSP-Link synchronization lines.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
tsplink.writeport(data)
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.
The reset() function does not affect the present states of the trigger lines.
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.
Example
tsplink.writeport(3)
Sets the synchronization lines 1 and 2 high (binary 011).
Also see
tsplink.readbit() (on page 7-346)
tsplink.readport()
(on page 7-346)
tsplink.writebit()
(on page 7-356)
tsplink.writeprotect
(on page 7-358)