LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control and simulation loop help

Solved!
Go to solution

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.

0 Kudos
Message 1 of 3
(2,096 Views)
Solution
Accepted by Waqar123

Probe on wire you need or retain value on the debug toolbar. Breakpoint pause only the flow. 

Nicola
LabVIEW DeveloperByteLABS.
0 Kudos
Message 2 of 3
(2,081 Views)
Solution
Accepted by Waqar123

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

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