System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. B / May 2013 7-365
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
Sets trigger line 3 low (0).
Also see
tsplink.readbit() (on page 7-353)
tsplink.readport() (on page 7-353)
tsplink.writeport() (on page 7-365)
tsplink.writeprotect (on page 7-366)
tsplink.writeport()
This function writes to all TSP-Link synchronization lines. This function is not available on the Models
2604B/2614B/2634B.
Type TSP-Link accessible
Affected by Where saved Default value
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.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.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
Sets the synchronization lines 1 and 2 high (binary 011).
Also see
tsplink.readbit() (on page 7-353) tsplink.readbit() (on page 7-353)
tsplink.readport() (on page 7-353)
tsplink.writebit() (on page 7-364)
tsplink.writeprotect (on page 7-366) tsplink.writebit() (on page 7-364)
tsplink.writeprotect (on page 7-366)