2600AS-901-01 Rev. B / September 2008 Return to Section Topics 19-233
Series 2600A System SourceMeter® Instruments Reference Manual Section 19: Remote Commands
tspnet.write
Function Write a string to a remote instrument.
TSP-Link
accessibility
This function can be accessed from a remote TSP-Link node.
Usage tspnet.write(connection_id, input_string)
connection_id Integer value used as a handle for other tspnet
commands.
input_string String type used for writing to the remote instrument.
Remarks • The tspnet.write() command sends the command string to the remote instrument. It does
not wait for command completion on the remote instrument.
• The Series 2600A sends the input string to the remote instrument exactly as given. The input
string must contain any necessary new lines or terminations.
• Errors:
Invalid Specified Connection
Write Failed, Timeout
Write Failed
Example Command remote instrument to run script named 'myscript':
tspnet.write(myconnection, 'myscript()\n')
Send a *idn? to a remote instrument:
tspnet.write(myconnection, “*idn?\r\n”)