Model 2651A High Power System SourceMeter® Instrument Reference Manual
Section 2: General operation
2651A-901-01 Rev. A / March 2011
2-35
Remote ohms command
Use the
smua.measure.r()
function to obtain a resistance reading. The programming example
below illustrates how to obtain a resistance reading from SMU A:
reading = smua.measure.r()
See
Remote source-measure procedure
(on page 2-25) for more commands necessary to set up
source and measure functions, and
(on page 5-1) for more details.
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: auto
•
Voltage compliance: 10 V
•
Sense mode: 4-wire
-- Restore Model 2651A defaults.
smua.reset()
-- Select current source function.
smua.source.func = smua.OUTPUT_DCAMPS
-- Set source range to 10 mA.
smua.source.rangei = 10e-3
-- Set current source to 10 mA.
smua.source.leveli = 10e-3
-- Set voltage limit to 10 V.
smua.source.limitv = 10
-- 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