User manual
18-40 SCPI Command Reference 2400 Series SourceMeter
®
 User’s Manual 
For the sorting mode, this command defines the 3-bit or 4-bit output 
pass pattern for the Limit 1 test (compliance) when Limits 2, 3, 5-12 
are disabled.
FAIL:SOURce2 <NRf> | <NDN>
:CALCulate2:CLIMits:FAIL:SOURce2 <NRf> | <NDN> Specify fail pattern
NOTE The above command to set the composite fail pattern for the Model 2401 is 
invalid and will cause an undefined header error.
Parameters <NRf> = 0 to 7 (3-bit)  Decimal value 
0 to 15 (4-bit)  Decimal value 
<NDN> =  0 to #b111 (3-bit) Binary value 
0 to #b1111 (4-bit) Binary value 
0 to #q7 (3-bit) Octal value 
0 to #q17 (4-bit) Octal value 
0 to #h7 (3-bit) Hexadecimal value 
0 to #hF (4-bit) Hexadecimal value
Query :SOURce2? Query programmed source value 
Description For the sorting mode, this command is used to define the 3-bit or 4-
bit output pattern for the Digital I/O Port when there are failures. Note 
that the output value can be specified using binary, octal, decimal, or 
hexadecimal format. Use the table provided in the “Description” for 
the :SOURce command to determine the decimal parameter value 
for the desired digital output pattern.
FAIL:SMLocation <NRf> | NEXT 
PASS:SMLocation <NRf> | NEXT
:CALCulate2:CLIMits:FAIL:SMLocation <NRf> | NEXT  Specify “fail” source memory location
:CALCulate2:CLIMits:PASS:SMLocation <NRf> | NEXT  Specify “pass” source memory location
Parameters <NRf> = 1 to 100 Specify memory location point
NEXT Next memory location point in list
(present location + 1)
Query :SMLocation? Query “pass” or “fail” source memory 
location
Description While using a Source Memory Sweep when performing limit tests, 
the sweep can branch to a specified memory location point or pro
-
ceed to the next memory location in the list.
When a memory location is specified with PASS, the sweep will 
branch to that memory location if the test is successful (PASS condi
-
tion). If not successful (FAIL condition), the sweep proceeds to the 
next memory location in the list. With NEXT selected (the default), 
the sweep proceeds to the next memory location (present location + 










