NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

teststand 2012 preserves variable value

Solved!
Go to solution

I have a problem with TestStand 2012 which preserves variable value. I have a step and its settings in string variable. I use pre-expression at step like Step.Settings += "00". I run the sequence under sequential model and the problem is that Step.Settings is equal to "00" on first run, "0000" on second run, "000000" on third run and so on but it should remains "00" on each run. I cannot find the root cause. Did anyone has the same problem and can advice how to solve it?

0 Kudos
Message 1 of 3
(3,613 Views)
Solution
Accepted by topic author ww12345

Try unchecking the Sequence Properties>>Optimize Reentrant Calls to this Sequence for the sequence that contains the step.

0 Kudos
Message 2 of 3
(3,611 Views)

It works good, thank you. I don't know why this setting is enabled as default seeing that it makes such problems.

0 Kudos
Message 3 of 3
(3,608 Views)