
Series 3700A System Switch/Multimeter User's Manual
Section 4: Applications
function configSMU()
Create a function to configure the
System SourceMeter instrument.
node[2].reset()
node[2].errorqueue.clear()
node[2].smua.nvbuffer1.clear()
Reset the instrument.
Clear all errors and reset status bits.
Clear existing data from data buffer.
node[2].smua.source.func = node[2].smua.OUTPUT_DCAMPS
node[2].smua.source.rangei = 0.01
Set source function to current source.
Set source current range to 10 mA.
node[2].smua.measure.rangev = 6
Set voltage measurement range to
6 V.
Set integration rate.
Enable buffer append mode.
node[2].smua.measure.nplc = 1
node[2].smua.nvbuffer1.appendmode = 1
node[2].smua.trigger.source.limitv = 10
node[2].smua.trigger.source.lineari(0, 0.01, 11)
node[2].smua.trigger.source.action =
node[2].smua.ENABLE
Set voltage compliance during
sweep.
Configure linear staircase sweep.
Enable the source action during the
sweep.
node[2].smua.trigger.measure.v(node[2].smua.nvbuffer1)
node[2].smua.trigger.measure.action =
node[2].smua.ENABLE
Configure sweep voltage
measurements.
Enable voltage measurements during
the sweep.
node[2].smua.trigger.count = 11
node[2].smua.trigger.arm.count = 6
Set trigger count to the number of
steps in the sweep.
Set arm count to six, the total number
of sweeps that will be run for all
diodes.
node[2].tsplink.trigger[1].mode =
node[2].tsplink.TRIG_FALLING
node[2].tsplink.trigger[2].mode =
node[2].tsplink.TRIG_FALLING
Set TSP-Link trigger lines 1 and 2 to
send and receive falling edge trigger
signals.
node[2].tsplink.trigger[1].clear()
node[2].tsplink.trigger[2].clear()
Clear any latched triggers on
TSP-Link trigger lines 1 and 2.
node[2].smua.trigger.arm.stimulus =
node[2].tsplink.trigger[1].EVENT_ID
Configure sweep to start when signal
received on TSP-Link line 1.
node[2].tsplink.trigger[2].stimulus =
node[2].smua.trigger.SWEEP_COMPLETE_EVENT_ID
Configure System SourceMeter to
output trigger signal on TSP-Link line
2 when sweep is complete.
end
3700AS-900-01 Rev. A / July 2011
4-13