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 #1004 background imageLoading...
Page #1004 background image
Model 2461
Interactive SourceMeter® Instrument Reference Manual Section 8:
TSP command reference
2461-901-01 A/November 2015 8-331
tspnet.termination()
This function sets the device line termination sequence.
Type TSP-Link accessible
Affected by Where saved Default value
Function
No
Usage
type = tspnet.termination(connectionID)
type = tspnet.termination(connectionID, termSequence)
type
The termination type:
tspnet.TERM_LF
tspnet.TERM_CR
tspnet.TERM_CRLF
tspnet.TERM_LFCR
connectionID
The connection ID returned from
tspnet.connect()
termSequence
The termination sequence:
tspnet.TERM_LF
tspnet.TERM_CR
tspnet.TERM_CRLF
tspnet.TERM_LFCR
Details
This function sets and gets the termination character sequence that is used to indicate the end of a
line for a TSP-Net connection.
Using the termSequence parameter sets the termination sequence. The present termination
sequence is always returned.
For the termSequence parameter, use the same values listed in the table above for type. There are
four possible combinations, all of which are made up of line feeds (LF or 0x10) and carriage returns
(CR or 0x13). For TSP-enabled devices, the default is tspnet.TERM_LF. For devices that are not
TSP-enabled, the default is tspnet.TERM_CRLF.
Example
deviceID = tspnet.connect("192.0.2.1")
if deviceID then
tspnet.termination(deviceID, tspnet.TERM_LF)
end
Sets termination type for IP address
192.0.2.1 to TERM_LF.
Also see
tspnet.connect() (on page 8-325)
tspnet.disconnect() (on page 8-326)

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