
2606B System SourceMeter® Instrument Reference Manual
Section 2: General operation
2606B-901-01 Rev. B / May 2018
2-51
Contact check commands
The following table summarizes the basic contact check commands. For a more complete description
of these commands, refer to the
(on page 7-1). For connection information,
refer to
(on page 2-51).
Basic contact check commands
Command
Description
flag = smu
X
.contact.check()
Determine if contact resistance is lower than
threshold.
rhi, rlo = smu
X
.contact.r()
Measure the aggregate contact resistance.
smu
X
.contact.speed = speed_opt
Set
speed_opt
to one of the following:
0
or
smu
X
.CONTACT_FAST
1
or
smu
X
.CONTACT_MEDIUM
2
or
smu
X
.CONTACT_SLOW
smu
X
.contact.threshold = rvalue
Set resistance threshold for the contact check
function.
Contact check programming example
The following programming example illustrates the setup and command sequence for a typical
contact measurement. These commands set the contact check speed to fast and the threshold to
100
Ω. Then, a contact check measurement against the threshold is 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.
-- Restore defaults.
smua.reset()
-- Set speed to fast.
smua.contact.speed = smua.CONTACT_FAST
-- Set threshold to 100 ohms.
smua.contact.threshold = 100
-- Check contacts against threshold.
if not smua.contact.check() then
-- Set speed to slow.
smua.contact.speed = smua.CONTACT_SLOW
-- Get aggregate resistance readings.
rhi, rlo = smua.contact.r()
-- Return contact resistances to the host.
print(rhi, rlo)
-- Terminate execution.
exit()
end
-- Turn output on and continue.
smua.source.output = smua.OUTPUT_ON