EasyManuals Logo
Home>Keithley>Measuring Instruments>2461

Keithley 2461 Reference Manual

Keithley 2461
1109 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #726 background imageLoading...
Page #726 background image
Model 2461
Interactive SourceMeter® Instrument Reference Manual Section 8:
TSP command reference
2461-901-01 A/November 2015 8-53
digio.line[N].state
This function sets a digital I/O line high or low when the line is set for digital control and returns the state on the
digital I/O lines.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW)
Yes
Not applicable
Not applicable
See Details
Usage
digio.line[N].state = state
state = digio.line[N].state
N
Digital I/O trigger line (1 to 6)
state
Set the line low: digio.STATE_LOW or 0
Set the line high: digio.STATE_HIGH or 1
Details
When a reset occurs, the digital line state can be read as high because the digital line is reset to a
digital input. A digital input floats high if nothing is connected to the digital line.
This returns the integer equivalent values of the binary states on all six digital I/O lines.
Set the state to digio.STATE_LOW to clear the bit; set the state to digio.STATE_HIGH to set the
bit.
Example
digio.line[1].mode = digio.MODE_DIGITAL_OUT
digio.line[1].state = digio.STATE_HIGH
Sets line 1 (bit B1) of the digital I/O port high.
Also see
digio.line[N].mode (on page 8-50)
digio.readport() (on page 8-53)
digio.writeport() (on page 8-54)
Digital I/O port configuration (on page 3-87)
trigger.digin[N].edge (on page 8-242)
digio.readport()
This function reads the digital I/O port.
Type TSP-Link accessible
Affected by Where saved Default value
Function
Yes
Usage
data = digio.readport()
data
The present value of the input lines on the digital I/O port

Table of Contents

Other manuals for Keithley 2461

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2461 and is the answer not in the manual?

Keithley 2461 Specifications

General IconGeneral
BrandKeithley
Model2461
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals