2470 High Voltage SourceMeter Instrument Reference Manual
Section 14: TSP command reference
2470-901-01 Rev. A /
May
2019
14-283
tspnet.reset()
This function disconnects all TSP-Net sessions.
Type
TSP-Link accessible
Affected by
Where saved
Default value
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
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.