2600S-901-01 Rev. C / January 2008 Return to Section Topics 4-19
Series 2600 System SourceMeter® Instruments Reference Manual Section 4: Basic Operation
Contact check programming example
The command sequence for a typical contact measurement is shown below. These commands set
the contact check speed to fast and the threshold to 10Ω. A contact check measurement against
the threshold is then made. If it fails, a more accurate contact check measurement is made, and
the test is aborted. Otherwise, the output is turned on, and the test continues.
smua.reset() - Restore defaults.
smua.contact.speed = smua.CONTACT_FAST - Set speed to fast.
smua.contact.threshold = 10 - Set threshold to 10Ω.
if (not smua.contact.check()) then
--One/both contact resistances are not
--below the programmed threshold.
smua.contact.speed = smua.CONTACT_SLOW
rhi, rlo = smua.contact.r()
print(rhi, rlo)
exit()
end
-
-
-
-
Check contacts against threshold.
Set speed to slow.
Get resistance readings.
Return contact resistances to the host.
Terminate execution.
smua.source.output = smua.OUTPUT_ON - Turn on output and continue.