Section 2: General operation Model 2657A High Power System SourceMeter® Instrument Reference Manual
2-32 2657A-901-01 Rev. B/December 2012
-- Restore Model 2657A defaults.
smua.reset()
-- Select current source function.
smua.source.func = smua.OUTPUT_DCAMPS
-- Set source range to 20 mA.
smua.source.rangei = 20e-3
-- Set current source to 10 mA.
smua.source.leveli = 10e-3
-- Set voltage limit to 100 V.
smua.source.limitv = 100
-- Enable 4-wire ohms.
smua.sense = smua.SENSE_REMOTE
-- Set voltage range to auto.
smua.measure.autorangev = smua.AUTORANGE_ON
-- Turn on output.
smua.source.output = smua.OUTPUT_ON
-- Get resistance reading.
print(smua.measure.r())
-- Turn off output.
smua.source.output = smua.OUTPUT_OFF
Ohms sensing
Ohms measurements can be made using either 2-wire or 4-wire sensing. See DUT test connections
(on page 2-41) for information on connections and sensing methods.
The 2-wire sensing method has the advantage of requiring only two test leads. However, as shown in
the followin
g figure (Two-wire resistance sensing), test lead resistance can seriously affect the
accuracy of 2-wire resistance measurements, particularly with lower resistance values.