Series 2600 System SourceMeters User's Manual
to the function when it is called.
Interface) after loading and running the script. Note that the Data text box does
not contain any readings as in the previous example; it simply indicates that the
"MeasCurr(ntimes)" function has been created.
function MeasCurr(ntimes)
local l_i -- Local counter variable
reset()
display.screen = display.SMUA
display.smua.measure.func = display.MEASURE_DCAMPS
smua.source.func = smua.OUTPUT_DCVOLTS
smua.source.autorangev = smua.AUTORANGE_ON
smua.source.levelv = 5
smua.source.limiti = 0.1
smua.measure.rangei = 0.1
smua.measure.nplc = 1
smua.source.output = smua.OUTPUT_ON
for l_i = 1, ntimes do
end --for
smua.source.output = smua.OUTPUT_OFF
end --function
print("Function 'MeasCurr(ntimes)' created")
print(smua.measure.i())
Return to
Test Script Processor Interaction 3-21
Figure 3-9
shows the GUI (Graphical User
In this section:
2600S-900-01 Rev. A / May 2006