Models 707B and 708B 199BSwitching Matrix User's Manual
Section 5: Working with the Series 2600A
707B-900-01 Rev. B / June 2013
5-15
muxChannels[1] = "1001, 1202"
muxChannels[2] = "1003, 1204"
muxChannels[3] = "1005, 1206"
muxChannels[4] = "1007, 1208"
muxChannels[5] = "1009, 1210"
muxChannels[6] = "1011, 1212"
for i = 1, 6 do
scan.addimagestep(muxChannels[i])
end
Add entries to the table.
Use the values in the table to create a
scan list.
tsplink.trigger[1].mode = tsplink.TRIG_FALLING
tsplink.trigger[2].mode = tsplink.TRIG_FALLING
tsplink.trigger[1].clear()
tsplink.trigger[2].clear()
Set TSP-Link lines 1 and 2 to send and
receive falling-edge triggers.
Clear any latched triggers on TSP-Link
trigger lines 1 and 2.
scan.bypass = scan.ON
scan.trigger.arm.stimulus = 0
scan.trigger.channel.stimulus =
tsplink.trigger[2].EVENT_ID
tsplink.trigger[1].stimulus =
scan.trigger.EVENT_CHANNEL_READY
scan.scancount = 1
Configure the scanning and triggering
mode of Model 707B or 708B. Bypass
needed for trigger signal to start scan.
Arm scan immediately.
Trigger channel close action with receipt
of trigger on TSP-Link line 2.
Output trigger on TSP-link line 1 after
channel close action occurs.
Loop through scan list once.
end
End of the
configSwitch
function.
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
node[2].smua.measure.nplc = 1
node[2].smua.nvbuffer1.appendmode = 1
Set voltage measurement range to 6 V
Set integration rate.
Enable buffer append mode.
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 the voltage compliance during the
sweep.
Configure linear staircase sweep.
Enable the source action during the
sweep.