NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Sub sequence running twice

Hi Everyone. I hope someone out there can help me with an annoying problem I am having with my sequence. I have a sub sequence that always runs twice when called from the Main sequence. All other sub sequences called from the main sequence behave and run the one time only. Two of us have had a good look at the coding and can see no reason as to why this is happening.  The parameters/settings for the rogue sequence appear to all be set exactly the same as the other 'good' sub sequences. Is there another setting buried within teststand that could be causing this. I am running Teststand 4.0.

 

Thanks in advance

Ian

0 Kudos
Message 1 of 2
(3,092 Views)

Hi Ian,

 

You haven't got the looping enabled!

 

The easiest way would be to set a breakpoint at the suspect Sequence Call in your MainSequence, then start single stepping, stepping into your sequence and see where that takes you.

 

Regards

Ray Farmer

Message Edited by Ray Farmer on 02-24-2009 12:15 PM
Message Edited by Ray Farmer on 02-24-2009 12:16 PM
Regards
Ray Farmer
0 Kudos
Message 2 of 2
(3,091 Views)