NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Conditional branch

Hi All!

I have a sequence:

TEST#1

TEST#2

TEST#3

TEST#4

TEST#5

MESSAGE

GOTO (TEST#8)

TEST#6

TEST#7

TEST#8

 

In MESSAGE in Preconditions I check if all tests(TEST#1- TEST#5) PASS.

In Post Action: ON Pass – Goto step – TEST#6.

So I expect if preconditions is True it’s skips GOTO (TEST#8) and goes to TEST#6, otherwise it skips MESSAGE and goes to GOTO (TEST#8).

Actually in any case sequence goes to GOTO (TEST#8) and skips TEST#6 and TEST#7.

How can I deal with the problem?

 

0 Kudos
Message 1 of 2
(2,821 Views)

I figured out how to do it:

TEST#1

TEST#2

TEST#3

TEST#4

TEST#5

GOTO (TEST#8)

TEST#6

TEST#7

TEST#8

In GOTO  in Preconditions I check if ANY OF the  tests(TEST#1- TEST#5) FAIL.

0 Kudos
Message 2 of 2
(2,817 Views)