Section 2: General operation
Model 2651A High Power System SourceMeter® Instrument Reference Manual
2-26
2651A-901-01 Rev. A / March 2011
Basic source-measure commands
Command Description
smua.measure.autorangei = smua.AUTORANGE_ON
Enable current measure autorange.
smua.measure.autorangev = smua.AUTORANGE_ON
Enable voltage measure autorange.
smua.measure.autorangei = smua.AUTORANGE_OFF
Disable current measure autorange.
smua.measure.autorangev = smua.AUTORANGE_OFF
Disable voltage measure autorange.
smua.measure.rangei = rangeval
Set current measure range.
smua.measure.rangev = rangeval
Set voltage measure range.
reading = smua.measure.i()
Request a current reading.
reading = smua.measure.v()
Request a voltage reading.
iReading, vReading = smua.measure.iv()
Request a current and voltage reading.
reading = smua.measure.r()
Request a resistance reading.
reading = smua.measure.p()
Request a power reading.
smua.source.autorangei = smua.AUTORANGE_ON
Enable current source autorange.
smua.source.autorangev = smua.AUTORANGE_ON
Enable voltage source autorange.
smua.source.autorangei = smua.AUTORANGE_OFF
Disable current source autorange.
smua.source.autorangev = smua.AUTORANGE_OFF
Disable voltage source autorange.
smua.source.func = smua.OUTPUT_DCVOLTS
Select voltage source function.
smua.source.func = smua.OUTPUT_DCAMPS
Select current source function.
smua.source.leveli = sourceval
Set current source value.
smua.source.levelv = sourceval
Set voltage source value.
smua.source.limiti = level
Set current limit.
smua.source.limitv = level
Set voltage limit.
smua.source.limitp = level
Set power limit.
smua.source.output = smua.OUTPUT_ON
Turn on source output.
smua.source.output = smua.OUTPUT_OFF
Turn off source output.
smua.source.rangei = rangeval
Set current source range.
smua.source.rangev = rangeval
Set voltage source range.
smua.sense = smua.SENSE_LOCAL
Local sense (2-wire).
smua.sense = smua.SENSE_REMOTE
Remote sense (4-wire).
Requesting readings
You can request readings by including the appropriate measurement command as the argument for
the
print()
command. The following programming example illustrates how to request a current
reading:
print(smua.measure.i())