11-22 Limit Testing Models 2500 and 2502 User’s Manual
Table 11-2 summarizes the basic SCPI command sequence for performing a limit test for
the diode current test.
NOTE See Appendix H for a complete program listing that includes additional pro-
gramming steps necessary to test the values returned by the
:CALC7:LIM3:FAIL? and :CALC7:LIM4:FAIL? queries.
Table 11-2
Limits test programming example
Command Description
*RST
:SENS1:CURR:RANG:AUTO ON
:SOUR1:VOLT:TRIG 1
:SOUR1:DEL 0.1
:CALC7:FEED CALC3
:CALC7:LIM3:UPP 10e-3
:CALC7:LIM3:LOW 4e-3
:CALC7:LIM4:UPP 8e-3
:CALC7:LIM4:LOW 6e-3
:CALC7:CLIM:PASS:SOUR3 1
:CALC7:LIM3:UPP:SOUR3 2
:CALC7:LIM3:LOW:SOUR3 2
:CALC7:LIM4:UPP:SOUR3 3
:CALC7:LIM4:LOW:SOUR3 3
:CALC7:CLIM:BCON IMM
:CALC7:LIM1:STAT 0
:CALC7:LIM3:STAT 1
:CALC7:LIM4:STAT 1
:OUTP1 ON
:INIT
:OUTP1 OFF
:CALC7:LIM3:FAIL?
:CALC7:LIM4:FAIL?
Restore GPIB default conditions.
Turn on channel 1 measure auto range.
Output 1V on channel 1 when triggered.
100ms source delay.
Use CALC3 (Ch. 1) data for limits comparison.
Limit 3 upper value = 10mA.
Limit 3 lower value = 4mA.
Limit 4 upper value = 8mA
Limit 4 lower value = 6mA.
Digital I/O port = 0001 (1) when test passes.
Digital I/O port = 0010 (2) when upper Limit 3
fails.
Digital I/O port = 0010 (2) when lower Limit 3
fails.
Digital I/O port = 0011 (3) when upper Limit 4
fails.
Digital I/O port = 0011 (3) when lower Limit 4
fails.
Update Digital I/O port immediately after test.
Turn off Limit 1 test.
Turn on Limit 3 test.
Turn on Limit 4 test.
Turn on channel 1 source output.
Trigger reading and limits test.
Turn off output.
Query Limit 3 test results (1 = discard diode).
Query Limit 4 test results (1 = send diode to QA).
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com