Section 5: Working with the Series 2600A
Models 707B and 708B 199BSwitching Matrix User's Manual
5-18
707B-900-01 Rev. B / June 2013
The following table shows a revised example of the
runDiodeTest
function in Example 4.
function runDiodeTest()
This function sequences the
crosspoint closures and
triggering.
configSwitch()
Call function to configure the
Model 707B or 708B.
configSMU()
node[2].smua.source.output = 1
node[2].smua.trigger.initiate()
scan.background()
delay(2)
scanState, scanCount, stepCount = scan.state()
print(scanState, " ", scanCount, " ", stepCount, " ")
while scanState ~=6 do
delay(1)
end
Call function that configures
the System SourceMeter
instrument and turns on its
output.
Initiate the System
SourceMeter so that it is
ready to sweep once a
trigger signal is received.
Note that the output turns on
but no power is applied.
Initiate the System Switch to
start a background scan.
Delay 2 seconds to allow
the scan to start.
Use variables to hold the
scan state response.
Print the response to scan
state, which you can use to
determine when the scan is
complete.
Query the scan state every
second to determine when
the scan completes.
When the scan is complete
(scan state = 6)
, exit
the loop.
node[2].smua.source.output = 0
channel.open("allslots")
Turn off the SMU output.
Open all crosspoints.
end
Ends the
runDiodeTes
t
function.