Model 2601B-PULSE System SourceMeter Instrument Reference Manual Section 4: Sourcing and measuring
2601B-PULSE-901-01A April 2020 4-51
Power measurement programming example
The following SMU programming example illustrates the setup and command sequence for a typical
power measurement procedure with the following parameters:
• Source function: Voltage, source autorange, 5 V output
• Current measure function and range: Current, autorange
• Current compliance: 50 mA
-- Restore 2601B-PULSE defaults. This disables the pulser.
smua.reset()
-- Select voltage source function.
smua.source.func = smua.OUTPUT_DCVOLTS
-- Enable source autoranging.
smua.source.autorangev = smua.AUTORANGE_ON
-- Set voltage source to 5 V.
smua.source.levelv = 5
-- Set current limit to 50 mA.
smua.source.limiti = 50e-3
-- Set current range to auto.
smua.measure.autorangei = smua.AUTORANGE_ON
-- Turn on output.
smua.source.output = smua.OUTPUT_ON
-- Get power reading.
print(smua.measure.p())
-- Turn off output.
smua.source.output = smua.OUTPUT_OFF
Saved setups
You can restore the 2601B-PULSE to one of six nonvolatile-memory setup configurations (five user
setups and one factory default), or to a setup stored on an external USB flash drive. As shipped from
the factory, the 2601B-PULSE powers up with the factory default settings, which cannot be
overwritten. The default settings are also in the five user setup locations, but may be overwritten. The
factory default settings are listed in the command descriptions in the TSP command reference (on
page 11-1).
The setup configuration that is used when the instrument powers up can be changed.
Saving user setups
You can save the present 2601B-PULSE setup to internal nonvolatile memory or a USB flash drive.