Series 2600 System SourceMeters Reference Manual Basic Operation 4-23
Return to Section 4 topics 2600S-901-01 Rev. A / May 2006
Remote power programming
The following paragraphs summarize basic commands necessary for remote
power programming and also give a programming example for a typical power
measurement situation.
Remote power command
Use the following command to obtain a power reading:
reading = smuX.measure.p()
See Table 4-7 for more commands necessary to set up source and measure func-
tions and also Section 12 for more details.
Power programming example
The command sequence for a typical power measurement is shown below. These
commands set up the SourceMeter as follows:
• Source function: voltage, auto source range, 5V output
• Current measure function and range: current, auto
• Current compliance: 50mA
smua.reset() --Restore Series 2600 defaults.
smua.source.func = smua.OUTPUT_DCVOLTS --Select voltage source function.
smua.source.autorangev = smua.AUTORANGE_ON --Set source range to auto.
smua.source.levelv = 5 --Set voltage source to 5V.
smua.source.limiti = 50e-3 --Set current limit to 50mA.
smua.measure.autorangei = smua.AUTORANGE_ON--Set current range to auto.
smua.source.output = smua.OUTPUT_ON --Turn on output.
print(smua.measure.p()) --Get power reading.
smua.source.output = smua.OUTPUT_OFF --Turn off output.