2600AS-901-01 Rev. B / September 2008 Return to Section Topics 19-231
Series 2600A System SourceMeter® Instruments Reference Manual Section 19: Remote Commands
tspnet.tsp.rbtablecopy
Function Copies a reading buffer synchronous table from a remote instrument.
TSP-Link
accessibility
This function can be accessed from a remote TSP-Link node.
Usage array = tspnet.tsp.rbtablecopy(connection_id, name)
array = tspnet.tsp.rbtablecopy(connection_id, name, start_index,
end_index)
connection_id Integer value used as a handle for other tspnet
commands.
name The full name of the reading buffer synchronous table.
start_index Integer start value.
end_index Integer end value.
array A copy of the synchronous table.
Remarks • This convenience command reads the data from a reading buffer on a remote instrument and
returns an array of numbers or a string representing the data. The name argument identifies the
reading buffer name and synchronous table to copy. The optional start_index and
end_index specify the portion of the reading buffer to read. If no index is specified, the entire
buffer will be copied.
• This command is limited to transferring 50,000 readings at a time.
• Errors:
Invalid Specified Connection
Read Failed, Timeout
Read Failed, Aborted
Read Failed
Write Failed, Timeout
Write Failed
Invalid Reading Buffer Table
Invalid Index Range
Out of Memory
Remote Error,<remote error generated by command>
Example t = tspnet.tsp.rbtablecopy(myconnection, 'myremotebuffername.readings',
1, 3)
print(t[1], t[2], t[3])
Output:
4.5653423423e-1 4.5267523423e-1 4.5753543423e-1