06-04-2014 04:52 AM
Hello folk,
Is there any way to put breakpoint programmatically or puase VI on certain occasion?
Solved! Go to Solution.
06-04-2014 05:51 AM
You are most probably looking for a conditional probe: Right-click on a wire > Custom probe > ...
In Help sreach for "probes" and then select the "creating custom".
Happy VI-ing!
06-04-2014 06:31 AM
jatinpatel1489@gmail.com wrote:
Hello folk,
Is there any way to put breakpoint programmatically or puase VI on certain occasion?
No! But you can suspend a callee VI programatically. Run the attached VIs & see.
06-05-2014 02:12 AM
Happy to help you! Thank you for accepting a solution and giving KUDOs!
10-04-2024 01:17 PM
TenYearsLater.png
Just a note to anyone who is trying to do this programmatically:
Traverse the block diagram via scripting for the SubVI node you're interesting in attaching a breakpoint to.
Then write to its "Breakpoint Status" property.
I can also confirm that this can be done while the VI is running, and that the property exists on many, if not all, block diagram nodes.
SubVI Breakpoint Status Property.png
Mr. Jim
02-07-2025 01:51 PM
This should be a Method, actually!
Set BP
Enable BP
Disable BP
Clear BP
02-07-2025 02:01 PM
Jay14159265_0-1738958467642.png