EasyManua.ls Logo

Keithley 2600B - Digio.writebit()

Keithley 2600B
897 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Section
7: TSP command reference Series 2600B System SourceMeter® Instrument
Reference Manual
7-64 2600BS-901-01 Rev. C / August 2016
digio.writebit()
This function sets a digital I/O line high or low. This function is not available on the Models 2604B/2614B/2634B.
Type TSP-Link accessible
Affected by Where saved Default value
Function
Yes
Usage
digio.writebit(N, data)
N
Digital I/O trigger line (1 to 14)
data
The value to write to the bit:
0 (low)
Non-zero (high)
Details
If the output line is write-protected using the digio.writeprotect attribute, the command is
ignored.
The reset() function does not affect the present state of the digital I/O lines.
Use the digio.writebit() and digio.writeport() commands to control the output state of
the synchronization line when trigger operation is set to digio.TRIG_BYPASS.
The data must be zero (0) to clear the bit. Any value other than zero (0) sets the bit.
Example
digio.writebit(4, 0)
Sets digital I/O line 4 low (0).
Also see
digio.readbit() (on page 7-54)
digio.readport() (on page 7-54)
digio.trigger[N].mode (on page 7-56)
digio.writeport() (on page 7-64)
digio.writeprotect (on page 7-65)
digio.writeport()
This function writes to all digital I/O lines. This function is not available on the Models 2604B/2614B/2634B.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
digio.writeport(data)
data
Value to write to the port (0 to 16383)

Table of Contents

Related product manuals