Model 2651A High Power System SourceMeter® Instrument User's Manual
Section 3: Using the web interface
Figure 5: TSB Embedded page
basic_source_measure
basic_source_mea
-- Restore Model 2651A defaults...
smua.nvbuffer1.clear()
smua.nvbuffer1.appendmode = 1
1
2
3
4
5
3. Enter the code below in the script box (2).
-- Restore Model 2651A defaults.
smua.reset()
-- Select voltage source function.
smua.source.func = smua.OUTPUT_DCVOLTS
-- Set source range to auto.
smua.source.autorangev = smua.AUTORANGE_ON
-- Set voltage source to 5 V.
smua.source.levelv = 5
-- Set current limit to 10 mA.
smua.source.limiti = 10e-3
-- Set current range to 10 mA.
smua.measure.rangei = 10e-3
-- Turn on output.
smua.source.output = smua.OUTPUT_ON
-- Print and place current reading in buffer.
print(smua.measure.i(smua.nvbuffer1))
-- Turn off output.
smua.source.output = smua.OUTPUT_OFF
-- Beep.
beeper.enable = beeper.ON
beeper.beep(1, 1200)
beeper.enable = beeper.OFF
2651A-900-01 Rev. A / March 2011
3-5