Keithley 2600a series Reference Manual page 545

Sourcemeter
Table of Contents

Advertisement

Series 2600A System SourceMeter® Instruments Reference Manual
tspnet.disconnect
Function
Close a connection to a remote instrument.
TSP-Link
This function can be accessed from a remote TSP-Link node.
accessibility
Usage
tspnet.disconnect(connection_id)
connection_id
Remarks
• This command disconnects the remote instrument by closing the connection.
• For Keithley Instruments TSP
scripts being aborted (terminated).
• Errors:
Invalid Specified Connection
Example
tspnet.disconnect(myconnection)
tspnet.execute
Function
Executes a command string on the remote instrument.
TSP-Link
This function can be accessed from a remote TSP-Link node.
accessibility
Usage
tspnet.execute(connection_id, command_string)
value1 = tspnet.execute(connection_id, command_string, format_string)
value1, value2 = tspnet.execute(connection_id, command_string,
format_string)
value1, ..., valuen = tspnet.execute(connection_id, command_string,
format_string)
connection_id
command_string
format_string
value1
value2
valuen
2600AS-901-01 Rev. B / September 2008
Integer value used as a handle for other tspnet
commands.
TM
devices, this results in any remotely running commands or
The connection ID returned from a tspnet.connect call.
Command to send to the instrument.
Format string for decoding response messages.
The first value decoded from the response message.
The second value decoded from the response message.
The nth value decoded from the response message. There
is one return value per format specifier in the format string.
Return to
Section Topics
Section 19: Remote Commands
19-223

Advertisement

Table of Contents
loading

Table of Contents