04-06-2019 08:51 AM
Hi, 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.
Solved! Go to Solution.
04-06-2019 11:55 AM
Probe on wire you need or retain value on the debug toolbar. Breakpoint pause only the flow.
04-06-2019 01:55 PM - edited 04-06-2019 01:58 PM
Expanding on Nicola's response, if you put a Probe on a wire, you'll see the values carried in the wire (as through you added an Indicator and put it in a Window by itself). If you want a little more control, for example, to see the last N values, or to make the program "pause" if you get a value > 10 (just an example), you should learn about Custom Probes (look in the LabVIEW Help or do a Web Search for LabVIEW Custom Probes).
Bob Schor