Tspnet.write(); Userstring.add() - Keithley 708B Reference Manual

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Section 7: Command reference

tspnet.write()

This function writes a string to the remote instrument.
Type
TSP-Link accessible
Function
Yes
Usage
tspnet.write(connectionID, inputString)
connectionID
inputString
Details
The tspnet.write() function sends inputString to the remote instrument. It does not wait for command
completion on the remote instrument.
The Model 707B or 708B sends inputString to the remote instrument exactly as indicated. The
inputString must contain any necessary new lines, termination, or other syntax elements needed to complete
properly.
Example
tspnet.write(myID, "runscript()\r\n")
Also see
tspnet.connect()
tspnet.disconnect()
tspnet.read()

userstring.add()

This function adds a user-defined string to nonvolatile memory.
Type
TSP-Link accessible
Function
Yes
Usage
userstring.add(name, value)
name
value
Details
This function associates the string value with the string name and stores this key-value pair in nonvolatile
memory.
Use the userstring.get() function to retrieve the value associated with the specified name.
7-240
Affected by
The connection ID returned from tspnet.connect()
The string to be written
(on page 7-229)
(on page 7-230)
(on page 7-232)
Affected by
The name of the string; the key of the key-value pair
The string to associate with name; the value of the key-value pair
Models 707B and 708B Switching Matrix Reference Manual
Where saved
Default value
Commands the remote instrument to run script
named "myID".
Where saved
Default value
707B-901-01 Rev. A / August 2010

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents