LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control and simulation loop

Solved!
Go to solution

How to pause control and simulation loop at each iteration for troubleshooting purpose.

0 Kudos
Message 1 of 5
(2,456 Views)

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?



 

Nicola
LabVIEW DeveloperByteLABS.
0 Kudos
Message 2 of 5
(2,421 Views)

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.

0 Kudos
Message 3 of 5
(2,418 Views)
Solution
Accepted by topic author Waqar123

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? 

Nicola
LabVIEW DeveloperByteLABS.
0 Kudos
Message 4 of 5
(2,411 Views)

Ok Thanks. Step into step out button did the trick for me. I had never used this button before. Job done. Thanks.

0 Kudos
Message 5 of 5
(2,403 Views)