EasyManuals Logo
Home>Keithley>Test Equipment>2450

Keithley 2450 User Manual

Keithley 2450
878 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 #274 background imageLoading...
Page #274 background image
Model 2450
Interactive SourceMeter® Instrument Reference Manual Section 3:
Functions and features
2450-901-01 Rev. B/September 2013 3-129
TSP-Link synchronization programming example
The programming example below illustrates how to set bit B1 of the TSP-Link digital I/O port high,
and then read the entire port value:
tsplink.line[1].mode = tsplink.MODE_DIGITAL_OPEN_DRAIN
-- Set bit B1 high.
tsplink.line[1].state = 1
-- Read I/O port.
data = tsplink.readport()
print(data)
The output would be similar to:
7
To read bit B1 only:
-- To read bit B1 only
data = tsplink.line[1].state
print(data)
The output would be similar to:
tsplink.STATE_HIGH
Using Model 2450 TSP-Link commands with other TSP-Link products
If you are connecting the Model 2450 in a system with other TSP-Link products, be aware that some
of the TSP-Link commands may be different. You can use the earlier versions of the commands, but
be aware that they may not be supported in future versions of the product.
Commands that are the same in all TSP-Link products:
tsplink.group
tsplink.master
tsplink.node
tsplink.readport()
tsplink.state
tsplink.writeport()

Table of Contents

Other manuals for Keithley 2450

Questions and Answers:

Question and Answer IconNeed help?

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

Keithley 2450 Specifications

General IconGeneral
BrandKeithley
Model2450
CategoryTest Equipment
LanguageEnglish

Related product manuals