User manual

Section 10: TSP-Net Series 3700 System Switch/Multimeter Reference Manual
10-14 3700S-901-01 Rev. C / July 2008
tspnet.tsp.abort()
Function
Aborts device execution.
Usage
tspnet.tsp.abort(<connection id>)
connection id: Integer value used as a handle for other tspnet commands
Remarks
This convenience command simply sends an "abort" string to a device.
Errors:
Invalid Specified Connection
Connection Not Available
Write Failed
Example
tspnet.tsp.abort()
tspnet.tsp.abortonconnect
Attribute
Abort on connect.
Usage
tspnet.tsp.abortonconnect [= <value>]
value: tspnet.TRUE or tspnet.FALSE
Remarks
This setting determines if the Series 3700 sends abort() when it attempts to
connect using tspnet.connect() (on page 10-5) to a TSP
TM
-enabled device. The
default value is tspnet.TRUE (or non-zero).
Sending the abort() command on connection causes any other active interfaces
being used on that device to close to ensure you have obtained access to the remote
device.
Connecting to a TSP device without issuing an abort() command, or when
tspnet.tsp.abortonconnect (on page 10-14) is set to tspnet.FALSE, can
result in the Series 3700 suspending operation until it receives a response back from
the device or until a timeout error generates.
Errors:
<none>
Example
tspnet.tsp.abortonconnect = tspnet.FALSE