04-06-2019 02:58 AM
How to pause control and simulation loop at each iteration for troubleshooting purpose.
Solved! Go to Solution.
04-06-2019 08:38 AM
I'm not sure in wath you intend whith control and simultaion loop.
A basic way to manage code is the debug tool you found this here http://www.ni.com/getting-started/labview-basics/i/debug
If you talk about promactically pause a loop, whats structure you have inside the loop?
Did you have a pcture of diagram? More detail?
04-06-2019 08:55 AM
I am running a control simulation and I want to check the value of a parameter on every iteration. I have tried a lot using a breakpoint but after execution vi goes into not responding mode and doesn't show result of parameter. Is there any function, similar to HALT SIMULATION function to pause simulation at current iteration?? Kindly help.
04-06-2019 09:49 AM
Are you tried to link iteration loop on the board of the while loop then place a breakpoint on this wire, this break each iteration.
Are you tried also the step into step out button on the debug toolbar?
Could you place an image of the loop or diagram?
04-06-2019 11:23 AM
Ok Thanks. Step into step out button did the trick for me. I had never used this button before. Job done. Thanks.