4: Sourcing and measuring 2470 High Voltage SourceMeter Instrument
4-74 2470-901-01 Rev. A / May 2019
TRIG:BLOC:DIG:IO 19, 4, 15
TRIG:BLOC:DEL:CONS 20, 0.001
TRIG:BLOC:DIG:IO 21, 0, 15
TRIG:BLOC:NOT 22, 1
TRIG:BLOC:BRAN:COUN 23, 10, 2
ï‚§ Block 10: Set up the constant limits to
perform the second test.
ï‚§ Block 11: If block 10 fails, drive line 1
high.
ï‚§ Block 13: Set up the constant limits to
perform the third test.
ï‚§ Block 14: If block 13 fails, drive line 2
high.
ï‚§ Block 16: Set up the constant limits to
perform the fourth test.
ï‚§ Block 17: If block 10 fails, drive lines 1
and 2 high.
ï‚§ Block 19: If block 10 fails, drive line 3
high.
ï‚§ Block 20: Delay for 1 ms
ï‚§ Block 21: Set all digital lines low.
ï‚§ Block 22: Send out a notify event to
indicate that the test has ended.
ï‚§ Block 23: Return to block 2 23 times.
Resistor grading TSP code
local number_of_resistors = 100
-- Reset instrument to default settings.
reset()
-- Measure function must be first measure setting;
-- most other settings are tied to the function.
smu.measure.func = smu.FUNC_DC_VOLTAGE
smu.measure.unit = smu.UNIT_OHM
-- Report Vmeasured/Isource.
-- Use 4-wire or "remote" voltage sensing.
smu.measure.sense = smu.SENSE_4WIRE
-- Measure the actual value of the source for higher accuracy.
smu.source.readback = smu.ON
-- Default setting; turn off for more speed, but reduced accuracy.
-- Set measurement integration time to 1 PLC (16.67 ms at 60 Hz).
-- Decrease to reduce test time; trade off accuracy for speed.
smu.measure.nplc = 1
-- Immediately update autozero reference measurements and then
-- disable the autozero function.
smu.measure.autozero.once()
-- Source function must be first source setting;
-- most other settings are tied to the function.
smu.source.func = smu.FUNC_DC_CURRENT
-- Set this after setting source function to current.
smu.measure.range = 2
-- This is a current range.
smu.source.range = 0.01
-- Set source level to 10 mA.
smu.source.level = 0.01