Keithley 2450 Reference Manual page 235

Interactive sourcemeter instrument
Table of Contents

Advertisement

Section 3: Functions and features
-- Configure the Trigger Model
-- Block 1: Clear defbuffer1
trigger.model.setblock(1, trigger.BLOCK_BUFFER_CLEAR, defbuffer1)
-- Block 2: Wait for start-of-test trigger on digital I/O line 5
trigger.model.setblock(2, trigger.BLOCK_WAIT, trigger.EVENT_DIGIO5)
-- Block 3: Recall the first point in the source configuration list
trigger.model.setblock(3, trigger.BLOCK_CONFIG_RECALL, "SOURCE_LIST")
-- Block 4: Recall the first point in the measure configuration list
trigger.model.setblock(4, trigger.BLOCK_CONFIG_RECALL, "MEASURE_LIST")
-- Block 5: Turn SMU output ON
trigger.model.setblock(5, trigger.BLOCK_SOURCE_OUTPUT, smu.ON)
-- Block 6: Allow source to settle; delay stored in source configuration list;
adjust as appropriate
trigger.model.setblock(6, trigger.BLOCK_DELAY_DYNAMIC, trigger.USER_DELAY_S1)
-- Block 7: Measure voltage or current as determined by measure configuration list
and store result in defbuffer1
trigger.model.setblock(7, trigger.BLOCK_MEASURE, defbuffer1)
-- Block 8: Turn SMU output OFF
trigger.model.setblock(8, trigger.BLOCK_SOURCE_OUTPUT, smu.OFF)
-- Block 9: Perform Limit 1 test; limit values stored in measure configuration
list; if pass, go to Block 12
trigger.model.setblock(9, trigger.BLOCK_BRANCH_LIMIT_DYNAMIC, trigger.LIMIT_INSIDE,
1, 12, 7)
-- Block 10: Set digital I/O lines 1-4; output decimal 14 (binary 1110) to
component handler
trigger.model.setblock(10, trigger.BLOCK_DIGITAL_IO, 14, 15)
-- Block 11: Go to Block 16
trigger.model.setblock(11, trigger.BLOCK_BRANCH_ALWAYS, 16)
-- Block 12: Recall the next point in the source configuration list
trigger.model.setblock(12, trigger.BLOCK_CONFIG_NEXT, "SOURCE_LIST")
-- Block 13: Recall the next point in the measure configuration list
trigger.model.setblock(13, trigger.BLOCK_CONFIG_NEXT, "MEASURE_LIST")
-- Block 14: Loop back to Block 5; will loop 3 times unless diode fails one of its
tests
trigger.model.setblock(14, trigger.BLOCK_BRANCH_COUNTER, 3, 5)
-- Block 15: Set digital I/O lines 1-4; output decimal 1 (binary 0001) to component
handler
trigger.model.setblock(15, trigger.BLOCK_DIGITAL_IO, 1, 15)
-- Block 16: Delay 1ms; controls duration of digital bit patterns; adjust as
appropriate
trigger.model.setblock(16, trigger.BLOCK_DELAY_CONSTANT, 0.001)
-- Block 17: Set digital I/O lines 1-4; output decimal 0 (binary 0000) clear
pattern to component handler
trigger.model.setblock(17, trigger.BLOCK_DIGITAL_IO, 0, 15)
-- Block 18: Notify block generates event, which causes output of a trigger pulse
on digital I/O line 6
trigger.model.setblock(18, trigger.BLOCK_NOTIFY, trigger.EVENT_NOTIFY1)
-- Block 19: Loop back to Block 2; keep looping until all diodes have been tested
trigger.model.setblock(19, trigger.BLOCK_BRANCH_COUNTER, number_of_diodes, 2)
-- After executing all of the above commands the trigger model can be initiated by
executing "trigger.model.initiate()"
3-90
Model 2450 Interactive SourceMeter® Instrument Reference Manual
2450-901-01 Rev. B/September 2013

Advertisement

Table of Contents
loading

Table of Contents