Models 707B and 708B 199BSwitching Matrix User's Manual
Section 5: Working with the Series 2600A
707B-900-01 Rev. B / June 2013
5-13
for i = 1, table.getn(xptTable) do
if i > 1 then
triggered = tsplink.trigger[2].wait(3)
if triggered == true then
channel.exclusiveclose(xptTable[i])
tsplink.trigger[1].assert()
else
print("Trigger not received")
end
else
channel.exclusiveclose(xptTable[i])
tsplink.trigger[1].assert()
end
end
Turn off the SMU output.
Open all crosspoints.
waitcomplete()
node[2].smua.source.output = 0
channel.open("allslots")
print("done")
After all switch and measure actions
have completed, turn off the SMU output,
open all crosspoints, and print "done";
the computer controller can query for
"done" to determine when the test is
complete.
end
Ends the runDiodeTest function.
endscript
Ends the diodeTest script.
Program code to run the test
The example program code stores the program in the instrument for later use. To run the program,
send the following commands to the Model 707B or 708B.
Example program code to run the test
Code
Notes and comments
diodeTest()
runDiodeTest()
Run the script to define the functions.
Execute the test by calling the function that configures the instruments
and sequences their actions.
To retrieve data from the System SourceMeter instrument through TSP-Link, use the
printbuffer()
command to print the data to the computer communication interface. An example is
shown below.
Example: Retrieve buffer data
Code
Notes and comments
printbuffer(1, node[2].smua.nvbuffer1.n,
node[2].smua.nvbuffer1.readings)
Print all readings from the SMU data buffer. Note that
"readings" is a buffer attribute.