LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Put breakpoint programmatically

Solved!
Go to solution

Hello folk,

 

Is there any way to put breakpoint programmatically or puase VI on certain occasion?

CLAD
Passionate for LabVIEW
0 Kudos
Message 1 of 5
(2,793 Views)
Solution
Accepted by topic author jatinpatel1489@gmail.com

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!

Message 2 of 5
(2,782 Views)

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.

- Partha ( CLD until Oct 2024 🙂 )
Download All
Message 3 of 5
(2,761 Views)

Happy to help you! Thank you for accepting a solution and giving KUDOs!

0 Kudos
Message 4 of 5
(2,730 Views)

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

0 Kudos
Message 5 of 5
(168 Views)