IEEE-488 Reference
3-74
With auto-clear enabled, the fail indication of a limit test clears when instrument operation en-
ters the idle state. With auto-clear disabled, the fail indication will remain until it is cleared by
the :CLEar[:IMMediate] command.
PRINT #1, "output 16; :calc3:lim:cle:auto on; auto?"
' Enable auto-clear and
query
PRINT #1, "enter 16"
' Get response message
from 2002
:PASS:SOURce <NRf>
:CALCulate3:PASS:SOURce <NRf>
Specify “pass” pattern
<NRf> = 0 to 15
Specify digital pattern for output port
:SOURce
Query programmed source value
This command is used to specify which line(s) of the Digital Output Port will go true when there
are no failures in the limit tests.
Each output line is assigned a decimal weight as follows:
Digital Output
Decimal Weight
Line #1
1
Line #2
2
Line #3
4
Line #4
8
The parameter value for the digital pattern is determined by adding the decimal weights of the
desired output lines. For example, if you want output lines #2 and #3 to go true when all enabled
limit tests pass, use a parameter value of 6 (2+4).
The actual true state (high or low) of each digital output line depends on its programmed polar-
ity. Polarity is programmed from the OUTPut Subsystem (see paragraph 3.16).
Note that when the binning strobe is enabled (see :BSTRobe command path), output line #4 is
not considered to be part of the digital output pattern. The binning strobe uses line #4. With the
strobe enabled, parameter values 8 through 15 are treated the same as parameters 0 through 7.
PRINT #1, "output 16; :calc3:pass:sour 3; sour?"
' Select line #3
PRINT #1, "enter 16"
' Get response message from
2002
:CLIMits:FAIL?
:CALCulate3:CLIMits:FAIL?
Read composite result of limit tests
This query command is used to obtain the composite result of the LIMIT 1 and LIMIT 2 tests.
The composite result is the logical OR’ed summary of LIMIT 1 and LIMIT 2:
1 = One or both tests have failed.
0 = Both tests have passed.
In the event of a failure (1), you can determine which test(s) has failed by using the fail com-
mand of each limit (:LIMit1:FAIL? and :LIMit2:FAIL?).
Description
Program fragment
Parameters
Query
Description
Program fragment
Содержание 2002
Страница 123: ...Front Panel Operation 2 106...
Страница 145: ...IEEE 488 Reference 3 22...
Страница 167: ...IEEE 488 Reference 3 44...
Страница 284: ...A Specifications A 1...
Страница 362: ......
Страница 364: ...This page left blank intentionally...
Страница 365: ......