Section 6: Working with the Series 2400
Models 707B and 708B 199BSwitching Matrix User's Manual
6-6
707B-900-01 Rev. B / June 2013
Example program code for the Model 707B or 708B
The following code loads a script on the 70xB that contains two functions that:
•
Set up the table of crosspoints to close
•
Execute the test
Example program code for the Model 707B or 708B
Code
Notes and comments
loadscript forScan
This script creates two functions on the Model
707B or 708B to configure and run the test. This
script should be stored in the Model 707B or
708B.
Remember that
loadscript
and
endscript
commands are not necessary if this script is
created in the instrument using TSB or TSB
Embedded.
function setup70xChanList()
reset()
errorqueue.clear()
chanTable = {}
chanTable[1] = "1A01,1B02"
chanTable[2] = "1A03,1B05"
chanTable[3] = "1A05,1B06"
chanTable[4] = "1A07,1B08"
chanTable[5] = "1A09,1B10"
chanTable[6] = "1A11,1B12"
digio.trigger[1].mode = digio.TRIG_FALLING
digio.trigger[2].mode = digio.TRIG_FALLING
digio.trigger[1].clear()
digio.trigger[2].clear()
return chanTable
end
Create a function that sets up the Model 707B or
708B and the list of channels to be used in the
test.
Reset the instrument and clear errors.
Define and populate a table that holds the
crosspoints to be used to connect the SMU to
the diodes under test (also see notes below this
example).
Configure the digital I/O trigger lines to respond
to and generate falling edge triggers.
Clear any latched triggers.
Return the table as an output of the function