470 High Voltage SourceMeter Instrument Reference Manual Section 14:
2470-901-01 Rev. A / May 2019 14-285
tspnet.tsp.abort()
This function causes the TSP-enabled instrument to stop executing any of the commands that were sent to it.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
tspnet.tsp.abort(connectionID)
Integer value used as a handle for other
commands
Details
This function is appropriate only for TSP-enabled instruments.
Sends an abort command to the remote instrument.
Example
tspnet.tsp.abort(testConnection)
Stops remote instrument execution on
testConnection
.
Also see
None
tspnet.tsp.abortonconnect
This attribute contains the setting for abort on connect to a TSP-enabled instrument.
Type TSP-Link accessible Affected by Where saved Default value
Instrument reset
Usage
tspnet.tsp.abortonconnect = value
value = tspnet.tsp.abortonconnect
ï‚§ Enable: 1
ï‚§ Disable:
Details
This setting determines if the instrument sends an abort message when it attempts to connect to a
TSP-enabled instrument using the tspnet.connect() function.
When you send the abort command on an interface, it causes any other active interface on that
instrument to close. If you do not send an abort command (or if tspnet.tsp.abortonconnect is
set to 0) and another interface is active, connecting to a TSP-enabled remote instrument results in a
connection. However, the instrument will not respond to subsequent reads or executes because
control of the instrument is not obtained until an abort command has been sent.