17-4 SCPI Command Reference
Command Description
Default
parameter
SCPI
Source
memory
:CALCulate2
:LIMit[1]
:COMPliance
:SOURce2 <NRf>
| <NDN>
:SOURce2?
:STATe <b>
:STATe?
:FAIL?
:LIMit2
:UPPer
[:DATA] <n>
[:DATA]?
:SOURce2 <NRf>
| <NDN>
:SOURce2?
:LOWer
[:DATA] <n>
[:DATA]?
:SOURce2 <NRf>
| <NDN>
:SOURce2?
:PASS
:SOURce2 <NRf>
| <NDN>
:SOURce2?
:STATe <b>
:STATe?
:FAIL?
:LIMit3
:UPPer
[:DATA] <n>
[:DATA]?
:SOURce2 <NRf>
| <NDN>
:SOURce2?
Specify output “fail” pattern (0 to 7, 3-bit;
0 to 15, 4-bit).
2
Query “fail” bit pattern.
1
Enable or disable Limit 1 test.
Query state of Limit 1 test.
Returns result of Limit 1 test: 0 (pass) or 1 (fail).
Path to control LIMIT 2 test:
Configure upper limit:
Specify upper limit (-9.999999e20 to
9.999999e20).
Query upper limit.
Specify output “fail” pattern for grading mode
(0 to 7, 3-bit;0 to 15, 4-bit).
2
Query “fail” bit pattern.
1
Configure lower limit:
Specify lower limit (-9.999999e20 to
9.999999e20).
Query lower limit.
Specify output “fail” pattern for grading mode
(0 to 7, 3-bit; 0 to 15, 4-bit).
2
Query “fail” bit pattern.
1
Path to specify “pass” pattern for sorting mode:
Specify output “pass” pattern (0 to 7, 3-bit;
0 to 15, 4-bit).
2
Query “pass” bit pattern.
1
Enable or disable Limit 2 test.
Query state of Limit 2 test.
Return result of Limit 2 test: 0 (pass) or 1 (fail).
Path to control LIMIT 3 test:
Configure upper limit:
Specify upper limit (-9.999999e20 to
9.999999e20).
Query upper limit.
Specify output “fail” pattern (0 to 7, 3-bit;
0 to 15, 4-bit).
2
Query “fail” bit pattern.
1
15 or 7
OFF
1
15 or 7
-1
15 or 7
15 or 7
OFF
1
15 or 7
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
1
The format (ASCII, hexadecimal, octal, or binary) for the returned value is set by FORMat:SOURce2 <name>.
2
Default based on present digital output size (:SOURce2:BSIZe <n>). 3-bit default is 7. 4-bit default is 15. 16-bit default is 65535.
Table 17-1 (cont.)
CALCulate command summary