Read/Write

PassFailPolicy Property


Description

Sets the policy used to determine how global pass/fail is computed. Learn more about Global Pass/Fail.

 VB Syntax

object.PassFailPolicy = value

Variable

(Type) - Description

object

(object) - An Aux I/O or Handler I/O object

value

(enum as NAPassFailPolicy) Choose from:

0 - naPolicyAllTests - - Pass/Fail Status returns PASS if all tests on all measurements pass.

1 - naPolicyAllMeas  - Pass/Fail Status returns PASS if all measurements have associated tests, and all tests pass. FAIL is returned if even one measurement has no associated limit test.

Only those measurements which are not in HOLD mode contribute to the pass/fail result.

Return Type

Long Integer

Default

naPolicyAllTests

Examples

matHndler.PassFailPolicy = naPolicyAllTests 'Write

policy = aux.PassFailPolicy 'Read

C++ Syntax

HRESULT put_PassFailPolicy ( tagNAPassFailPolicy Policy);

HRESULT get_PassFailPolicy ( tagNARearPanelIOLogic* Policy);

Interface

IHWAuxIO4

IHWMaterialHandlerIO2