NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Subsequence does not return result

I want to have a subsequence return a pass or fail result to the main sequence.  I read on the forums to make a pass/fail test in the subsequence and I set that step to cause the sequence to fail.  I set a breakpoint and can see that that step is failing.  I set another breakpoint after the call to the subsequence in the main sequence and that step always passes.

How do I do this properly? I can't seem to find any good documentation on the subject.

I have tested this in 3.5, 4.0, and 4.0.1.  The attached sequences were made in 3.5.
Download All
0 Kudos
Message 1 of 4
(3,454 Views)
Hi Andrew,
 
I think you did a user - mistake. Your sequence call is not from the Step-Type SequnceCall it is from PassFail you can see it under the Properties general tab. If you change it to SequenceCall it runs as assumed.
 
greetings from the lake of Constance, Germany
 
juergen
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 2 of 4
(3,447 Views)
Hi Juergen,

That seems to work fine - thank you!

Andrew
0 Kudos
Message 3 of 4
(3,446 Views)
Hi Andrew,
 
When i closed my TestStand the system asked me so save NI-Types!! That means your Types differs from that which are shipped from NI.
Maybe you will get some problems with typeconflicts in future.
For all other users here in this forum be careful when loading the upper or my example. NEVER accept savings to NI-Steptypes !!!!!
 
Refer to this Site: type conflict error when using TS_EngineGetSeqFile link: http://forums.ni.com/ni/board/message?board.id=330&message.id=17427#M17427
 
 
 
greetings from the lake of Constance, Germany
and get never affected by a type virusSmiley Wink
 
juergen
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 4 of 4
(3,443 Views)