SCPI Command Reference 17-39
:MODE <name>
:CALCulate2:CLIMits:MODE <name> Control Digital I/O port pass/fail output 
Parameters <name> = GRADing Output graded “pass/fail” pattern
SORTing Output sorted “pass/fail” pattern
Query :MODE? Query Digital I/O pass/fail mode
Description This command controls how limit calculations drive the Digital I/O lines. In 
GRADing mode, a reading passes if it is within all of the hi/low limit toler-
ances enabled, assuming that it has passed LIMIT 1 compliance test first. 
The Digital I/O lines will be driven with the first pattern of the first compli-
ance, hi, or low failure. Otherwise, the CALC2:CLIM:PASS:SOUR2 pat-
tern will be output.
In SORTing mode, a reading will fail if it fails the compliance test, or is not 
within any of the Digital I/O Bands. If the tests pass and only LIMIT 1 is 
enabled, the CALC2:CLIM:PASS:SOUR2 pattern will be output. Other-
wise, the first limit test band that passes will output its LOW:SOUR2 pattern 
(UPP:SOUR2 patterns will be ignored). If LIMIT1 fails, its SOUR2 pattern 
will be output. If no LIMIT2, 3, 5-12 limit passes, the 
CALC2:CLIM:FAIL:SOUR2 pattern will be output.
 Clear test results
[:IMMediate]
:CALCulate2:CLIMits:CLEar[:IMMediate] Clears test results and resets Digital I/O 
Port
Description This command clears the test results (pass or fail) of the limit tests and 
resets the output lines of the Digital I/O port back to the :SOURce2:TTL 
settings. See SOURce2.
:AUTO <b>
:CALCulate2:CLIMits:CLEar:AUTO <b> Control auto-clear for test results
Parameters <b> = 1 or ON  Enable auto-clear
0 or OFF Disable auto-clear
Query :AUTO? Query state of auto-clear
Description With auto-clear enabled, test results will clear and the output lines of the 
Digital I/O port will reset when the :INITiate command is sent to start a new 
test sequence. 
When disabled, you must use :IMMediate to perform the clear actions.