System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. B / May 2013 7-375
Details
This setting determines if the instrument sends an abort message when it attempts to connect to a TSP-enabled
instrument using the tspnet.connect() function.
When you send the abort command on an interface, it causes any other active interface on that instrument to
close. If you do not send an abort command (or if tspnet.tsp.abortonconnect is set to 0) and another
interface is active, connecting to a TSP-enabled remote instrument results in a connection. However, the
instrument will not respond to subsequent reads or executes because control of the instrument is not obtained
until an abort command has been sent.
Example
tspnet.tsp.abortonconnect = 0
Configure the instrument so that it does not
send an abort command when connecting to
a TSP-enabled instrument.
Also see
tspnet.connect() (on page 7-367)
tspnet.tsp.rbtablecopy()
This function copies a reading buffer synchronous table from a remote instrument to a TSP-enabled instrument.
Type TSP-Link accessible
Affected by Where saved Default value
Function No
Usage
table = tspnet.tsp.rbtablecopy(connectionID, name)
table = tspnet.tsp.rbtablecopy(connectionID, name, startIndex, endIndex)
A copy of the synchronous table or a string
Integer value used as a handle for other tspnet commands
The full name of the reading buffer name and synchronous table to copy
Details
This function is only appropriate for TSP-enabled instruments.
This function reads the data from a reading buffer on a remote instrument and returns an array of numbers or a
string representing the data. The startIndex and endIndex parameters specify the portion of the reading
buffer to read. If no index is specified, the entire buffer is copied.
The function returns a table if the table is an array of numbers; otherwise a comma-delimited string is returned.
This command is limited to transferring 50,000 readings at a time.
Example
t = tspnet.tsp.rbtablecopy(testConnection,
"testRemotebuffername.readings", 1, 3)
print(t[1], t[2], t[3])
Copy the specified readings table for buffer
items 1 through 3, then display the first three
readings. Sample output:
4.56534e-01
4.52675e-01
Also see
None