NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems using "Step Failure Causes Sequence Failure".

TestStand 1.0.3
Windows 2000 Pro SP1

I am trying to use the step property feature "Step Failure Causes Sequence
Failure" on a pass/fail test but the feature is not working as I expected
nor as it seems to be documented on page 5-4 and 5-21 of the TestStand User
Manual.

According to the manual when this option is selected for a step AND the
sequence containing the step has its "Goto Cleanup on Sequence Failure"
property unchecked, the status of the sequence is supposed to be set to
Failed but execution is supposed to continue with the next step in the
sequence.

However, it seems that whenever the step fails execution ALWAYS jumps to the
end of the sequence. Both the step's On Pass and On Fail Post Action
s are
set to "Goto Next Step". And the sequence property "Goto Cleanup on
Sequence Failure" is NOT checked.

No matter what I do, I can NOT get TestStand to both set the sequence's
status to Fail AND allow execution to continue with the next after a step
fails. The documentation IS a bit vague and I'm not sure if what I'm
expecteing is supposed to work for a pass/fail test.

Any ideas? Any help or insight would be appreciated.

Bob Rafuse
Etec Inc.
0 Kudos
Message 1 of 6
(5,159 Views)
Hi Bob,


In Station Options and select the Execution Tab. Uncheck the Always Goto Cleanup on Sequence Failure.

This should sort your problem out.

Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 6
(5,159 Views)
Ray,

> In Station Options and select the Execution Tab. Uncheck the Always
> Goto Cleanup on Sequence Failure.
>
> This should sort your problem out.

DOH! I was unawares of this setting. That did the trick! Thanks!

Bob.
0 Kudos
Message 3 of 6
(5,159 Views)

Hi Ray -

 

I'm using TS 4.2 and i'm having this issue on one sequence file only.  The "immediately go to cleanup on sequence failure" option is NOT checked in my Station Options.  But when i run one particular sequence, any errors will always go to the cleanup for that sequence.

 

any other ideas what might cause this?  Again, i'm only seeing this behavior on one of my sequences and the rest of them do not behave this way.

 

Thanks

[DL]
0 Kudos
Message 4 of 6
(4,523 Views)

Hi,

 

Have you checked the actual properties of the Sequence / SequencesFile or any steps that might have a Post Action step to goto to Cleanup?

 

 

Regards
Ray Farmer
Message 5 of 6
(4,518 Views)

it worked, i must have over looked it.  i swear i checked that though Smiley Happy

[DL]
0 Kudos
Message 6 of 6
(4,496 Views)