2400 Series SourceMeter
®
User’s Manual Sweep Operation 10-29
Call OutputCmd(intGPIB, “:CALC2:LIM2:STAT ON”) 'Set Limit2 on
Call OutputCmd(intGPIB, “:CALC2:LIM2:UPP 3E-2”) 'Set Upper Limit to
30mA
Call OutputCmd(intGPIB, “:CALC2:LIM2:LOW 2E-2”) 'Set Lower Limit to
20mA
Call OutputCmd(intGPIB, “:CALC2:LIM2:UPP:SOUR2 4”) 'Set Digital Output
Pattern for Upper
Limit #2 Failure
Call OutputCmd(intGPIB, “:CALC2:LIM2:LOW:SOUR2 5”) 'Set Digital Output
Pattern for Lower
Limit #2 Failure
Call OutputCmd(intGPIB, “:CALC2:CLIM:PASS:SOUR2 14”) 'Set Digital Output
Pattern for Limit #2
Passing
Call OutputCmd(intGPIB, “:CALC2:CLIM:MODE GRAD”) 'Set Limit Results to
Grading
Call OutputCmd(intGPIB, “:CALC2:CLIM:BCON END”) 'Set Binning Control to
End
Call OutputCmd(intGPIB, “:CALC2:CLIM:PASS:SML NEXT”)'Set SML Pass Location
Call OutputCmd(intGPIB, “:CALC2:CLIM:FAIL:SML 100”)'Set SML Fail Location
Call OutputCmd(intGPIB, “:SOUR:MEM:SAVE 2”) 'Save in Source Memory
Location 2.
'Setup Source Memory Location 3
'------------------------------
Call OutputCmd(intGPIB, “*RST”) 'Restore GPIB default
conditions.
Call OutputCmd(intGPIB, “:SOUR:FUNC VOLT”) 'Current Source
Function.
Call OutputCmd(intGPIB, “:SENS:FUNC ‘CURR:DC’”) 'Current Sense
Function.
Call OutputCmd(intGPIB, “:SENS:CURR:PROT .105”) 'Set 105mA Compliance
Call OutputCmd(intGPIB, “:SENS:CURR:RANGE .1”) 'Set 100mA Current
Measure Range
Call OutputCmd(intGPIB, “:SOUR:DEL 1”) 'Set Source Delay to 1
Call OutputCmd(intGPIB, “:SOUR:VOLT 10”) '10V Source Voltage.
Call OutputCmd(intGPIB, “:CALC2:FEED CURR”) 'Send Current(A) Read-
ings to Buffer
Call OutputCmd(intGPIB, “:CALC2:LIM1:STAT ON”) 'Set Limit 1 on
Call OutputCmd(intGPIB, “:CALC2:LIM1:COMP:FAIL IN”)'Set Fail Mode to In
Compliance
Call OutputCmd(intGPIB, “:CALC2:LIM1:COMP:SOUR2 10”)'Set Digital Output
Pattern for Compliance
Failure
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com