Ohms programming example
The following programming example illustrates the setup and command sequence of a typical ohms
measurement procedure with the following parameters:
• Source function: Current, 10 mA range, 10 mA output
• Voltage measure range: Autorange
• Voltage compliance: 10 V
• Sense mode: 4-wire
-- Restore 2600B defaults.
smua.reset()
-- Select the current source function.
smua.source.func = smua.OUTPUT_DCAMPS
-- Set the source range to 10 mA.
smua.source.rangei = 10e-3
-- Set the current source to 10 mA.
smua.source.leveli = 10e-3
-- Set the voltage limit to 10 V.
smua.source.limitv = 10
-- Enable 4-wire ohms.
smua.sense = smua.SENSE_REMOTE
-- Set the voltage range to auto.
smua.measure.autorangev = smua.AUTORANGE_ON
-- Turn on output.
smua.source.output = smua.OUTPUT_ON
-- Retrieve a 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”
in the Series 2600B User's Manual 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 following figure (2-wire resistance sensing), test lead resistance can seriously affect the accuracy
of 2-wire resistance measurements, particularly with lower resistance values.