Power measurements using the remote interface
The following paragraphs summarize basic power measurement commands using the remote
interface and also give a programming example for a typical power measurement situation.
Remote power reading command
The programming example below illustrates how to get a power reading from SMU A:
reading = smua.measure.p()
See Remote source-measure commands (on page 2-10) for more commands necessary to set up
source and measure functions and also Introduction to TSP operation (on page 7-1).
Power measurement programming example
The following 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 2600B defaults.
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 autorange.
smua.measure.autorangei = smua.AUTORANGE_ON
-- Turn on the output.
smua.source.output = smua.OUTPUT_ON
-- Retrieve a power reading.
print(smua.measure.p())
-- Turn off the output.
smua.source.output = smua.OUTPUT_OFF