Tsplink.writebit(); Tsplink.writeport() - Keithley 708B Reference Manual

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Section 7: Command reference

tsplink.writebit()

This function sets a TSP-Link synchronization line high or low.
Type
TSP-Link accessible
Function
Yes
Usage
tsplink.writebit(bit, data)
bit
data
Details
Use tsplink.writebit() and tsplink.writeport() to control the output state of the synchronization
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 digital I/O lines.
Example
tsplink.writebit(3, 0)
Also see
tsplink.readbit()
tsplink.readport()

tsplink.writeport()

tsplink.writeport()
This function writes to all TSP-Link synchronization lines.
Type
TSP-Link accessible
Function
Yes
Usage
tsplink.writeport(data)
data
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 (see tsplink.writeprotect (on page 7-227)).
The reset() function does not affect the present states of the digital I/O lines.
7-226
Affected by
The trigger line (1 to 3)
The value to write to the bit:
Low: 0
High: 1
(on page 7-216)
(on page 7-216)
(on page 7-226)
Affected by
Value to write to the port (0 to 7)
Models 707B and 708B Switching Matrix Reference Manual
Where saved
Default value
Sets synchronization Line 3 low (0).
Where saved
Default value
707B-901-01 Rev. A / August 2010

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents