Digio.writeport() - Keithley 2601B Reference Manual

2600b series system sourcemeter instrument
Hide thumbs Also See for 2601B:
Table of Contents

Advertisement

Series 2600B System SourceMeter® Instrument Reference Manual
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)
Also see
digio.readbit()
digio.readport()
digio.trigger[N].mode

digio.writeport()

digio.writeprotect
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
Function
Yes
Usage
digio.writeport(data)
data
Details
The binary representation of data indicates the output pattern to be written to the I/O port. For example, a data
value of 170 has a binary equivalent of 00000010101010. Lines 2, 4, 6, and 8 are set high (1), and the other 10
lines are set low (0).
Write-protected lines are not changed.
The reset() function does not affect the present states 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.
Example
digio.writeport(255)
Also see
digio.readbit()
digio.readport()
digio.writebit()
digio.writeprotect
2600BS-901-01 Rev. B / May 2013
(on page 7-49)
(on page 7-50)
(on page 7-52)
(on page 7-59)
(on page 7-60)
Affected by
Value to write to the port (0 to 16383)
(on page 7-49)
(on page 7-50)
(on page 7-58)
(on page 7-60)
Section 7: TSP command reference
Sets digital I/O line 4 low (0).
Where saved
Default value
Sets digital I/O Lines 1 through 8 high (binary
00000011111111).
7-59

Advertisement

Table of Contents
loading

This manual is also suitable for:

2604b2614b2634b2635b2636b2602b ... Show all

Table of Contents