
Section 2: General operation
Model 2657A High Power System SourceMeter® Instrument Reference Manual
2-26
2657A-901-01 Rev. B/December 2012
Basic source-measure commands
Command Description
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
Select local sense (2-wire).
smua.sense = smua.SENSE_REMOTE
Select 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())
Source-measure programming example
The following programming example illustrates the setup and command sequence of a basic
source-measure procedure with the following parameters:
•
Source function and range: voltage, autorange
•
Source output level: 1000 V
•
Current compliance limit: 10 mA
•
Measure function and range: current, 20 mA
Summary of Contents for 2657A
Page 3: ......