Tspnet.reset(); Tspnet.termination() - Keithley 2601B Reference Manual

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

Advertisement

Section 7: TSP command reference
Example
ID = tspnet.connect("192.0.2.1")
tspnet.write(ID, "*idn?\r\n")
repeat bytes = tspnet.readavailable(ID) until bytes > 0
print(tspnet.read(ID))
tspnet.disconnect(ID)
Also see
tspnet.connect()
tspnet.read()
(on page 7-370)

tspnet.reset()

This function disconnects all TSP-Net sessions.
Type
TSP-Link accessible
Function
No
Usage
tspnet.reset()
Details
This command disconnects all remote instruments connected through TSP-Net. For TSP-enabled devices, this
causes any commands or scripts running remotely to be terminated.
Also see
None

tspnet.termination()

This function sets the device line termination sequence.
Type
TSP-Link accessible
Function
No
Usage
type = tspnet.termination(connectionID)
type = tspnet.termination(connectionID, termSequence)
type
connectionID
termSequence
7-372
(on page 7-367)
Affected by
Affected by
An enumerated value indicating the termination type:
1 or tspnet.TERM_LF
4 or tspnet.TERM_CR
2 or tspnet.TERM_CRLF
3 or tspnet.TERM_LFCR
The connection ID returned from tspnet.connect()
The termination sequence
Series 2600B System SourceMeter® Instrument Reference Manual
Where saved
Where saved
Send commands that will create
data.
Wait for data to be available.
Default value
Default value
2600BS-901-01 Rev. B / May 2013

Advertisement

Table of Contents
loading

This manual is also suitable for:

2604b2614b2634b2635b2636b2602b ... Show all

Table of Contents