User manual

Table Of Contents
Part 6: IEEE 488.2 Command Reference
PASS_FAIL, PF
Description
The PASS_FAIL command sets up the Pass/Fail test system.
The PASS_FAIL? query returns the Pass/Fail setup.
Command Syntax
PASS_FAIL <state>,<logic>[,<stop after>]
<state>:= {ON, OFF}
<logic>:= {AllTrue, AllFalse, AnyTrue, AnyFalse, AllQ1ToQ4, AllQ5ToQ8, AllQ9ToQ12,
AnyQ1ToQ4, AnyQ5ToQ8, AnyQ9TOQ12}
<stop after>:= 1 to 1,000,000,000 sweeps
The <logic> argument specifies which set of conditions must be satisfied to constitute a "pass."
Note: The logic accepted by this command depends on the Pass/Fail functionality available on
your instrument. WaveSurfer and HDO4000 oscilloscopes that do not allow you to define
individual PF qualifier conditions do not support the arguments AllQxToQy and AnyQxToQy.These
instruments only support the logic AllTrue.
Query Syntax
PASS_FAIL?
Example (GPIB)
The following instruction sets the test to pass only if all qualifier conditions are false, and to stop after 20
acquisitions:
CMD$="PF ON,ALLFALSE,20": CALL IBWRT(SCOPE%,CMD$)
Related Commands
CRMS
6-73