NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand crashes by 'for each' loop

Solved!
Go to solution

Teststand crashes from time to time for unknown reasons. We think that 'for each' loops could be the reason. By replacing the 'for each' loop with a for loop and iterating using the index the problem is resolved.

 

Is this a known problem in Teststand? Is it possible that this is resolved in Teststand 4.1 (We use 4.0.1) ?

 

Kind Regards,

Coulembier Jeroen

Message 1 of 4
(4,586 Views)
Solution
Accepted by JeroenC
That sounds exactly like a previous problem report (98902), which was fixed in 4.1.
Message 2 of 4
(4,576 Views)

The issue that was fixed occurred when the End step of the foreach loop was the last step in a sequence. You can workaround the problem in 4.0.1 by placing a label step at the end of the sequence so that the foreach's end step is no longer the last step.

 

Hope this helps,

-Doug

Message 3 of 4
(4,572 Views)

Yeah !!

 

This thread help me to get rid of some strange headaches !!!

 

Thanks for healing

 

Juergen 

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 4 of 4
(4,490 Views)