Series 2600B System SourceMeter® Instrument Reference Manual
Section 2: General operation
2600BS-901-01 Rev. B / May 2013
2-35
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 Channel 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: 5 V
•
Current compliance limit: 10 mA
•
Measure function and range: current, 10 mA
-- Restore Series 2600B 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 the current reading in the reading buffer.
print(smua.measure.i(smua.nvbuffer1))
-- Turn off output.
smua.source.output = smua.OUTPUT_OFF
Содержание System SourceMeter 2601B
Страница 841: ......