Tspnet.execute() - Keithley DMM7510 Reference Manual

7 1/2 digit graphical sampling multimeter
Hide thumbs Also See for DMM7510:
Table of Contents

Advertisement

Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
tspnet.disconnect()
This function disconnects a specified TSP-Net session.
Type
TSP-Link accessible
Function
No
Usage
tspnet.disconnect(connectionID)
connectionID
Details
This function disconnects the two devices by closing the connection. The connectionID is the
session handle returned by tspnet.connect().
For TSP-enabled devices, this aborts any remotely running commands or scripts.
Example
testID = tspnet.connect("192.0.2.0")
-- Use the connection
tspnet.disconnect(testID)
Also see
tspnet.connect()

tspnet.execute()

This function sends a command string to the remote device.
Type
TSP-Link accessible
Function
No
Usage
tspnet.execute(connectionID, commandString)
value1 = tspnet.execute(connectionID, commandString, formatString)
value1, value2 = tspnet.execute(connectionID, commandString, formatString)
value1, ..., valueN = tspnet.execute(connectionID, commandString, formatString)
connectionID
commandString
value1
value2
valueN
...
formatString
DMM7510-901-01 Rev. B / May 2015
Affected by
The connection ID returned from tspnet.connect()
(on page 8-354)
Affected by
The connection ID returned from tspnet.connect()
The command to send to the remote device
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 for
each format specifier in the format string
One or more values separated with commas
Format string for the output
Section 8: TSP command reference
Where saved
Default value
Create a TSP-Net session.
Close the session.
Where saved
Default value
8-355

Advertisement

Table of Contents
loading

Table of Contents