Section 7: Command reference
tspnet.tsp.rbtablecopy()
This function copies a reading buffer synchronous table from a remote instrument.
Type
TSP-Link accessible
Function
Yes
Usage
array = tspnet.tsp.rbtablecopy(connectionID, name)
array = tspnet.tsp.rbtablecopy(connectionID, name, startIndex, endIndex)
array
connectionID
name
startIndex
endIndex
Details
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.
startIndex and endIndex specify the portion of the reading buffer to read. If no index is specified, the entire
buffer is copied.
This command is limited to transferring 50,000 readings at a time.
Example 1
t = tspnet.tsp.rbtablecopy(myconnection,
'myremotebuffername.readings', 1, 3)
print(t[1], t[2], t[3])
Example 2
times = tspnet.tsp.rbtablecopy(mytspdevice,
'myremotebuffername.timestamps', 1, 3)
print(times)
Also see
None
7-238
Affected by
A copy of the synchronous table
Integer value used as a handle for other tspnet commands
The full name of the reading buffer name and synchronous table to copy
Integer start value
Integer end value
Models 707B and 708B Switching Matrix Reference Manual
Where saved
Default value
Output:
4.5653423423e-1
4.5267523423e-1
4.5753543423e-1
Output:
01/01/2008
10:10:10.0000013,01/01/2008
10:10:10.0000233,01/01/2008
10:10:10.0000576
707B-901-01 Rev. A / August 2010