
2600AS-901-01 Rev. B / September 2008
Return to
14-11
Series 2600A System SourceMeter® Instruments Reference Manual
Section 14: System Expansion (TSP-Link)
-- Creates a reading buffer on a node in a remote group.
node[N].tsplink.group = G
node[N].execute("rbremote = smua.makebuffer(20) " ..
"smua.measure.count = 20 " ..
"smua.measure.overlappedv(rbremote)")
waitcomplete(G)
-- Creates a variable on the local node to access the reading buffer.
rblocal = node[N].getglobal("rbremote")
-- Access data from the reading buffer.
print(rblocal[1])
-- Runs code on the remote node that updates the reading buffer.
node[N].execute("smua.measure.overlappedv(rbremote)")
-- Use the clearcache command if the reading buffer contains cached data.
rblocal.clearcache()
-- If you do not use the clearcache command, the data buffer values do
--not update. The same data buffer values will print each time the
command is issued.
print(rblocal[1])