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 7
(2,925 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 7
(2,914 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 2027 🙂 )
Download All
Message 3 of 7
(2,893 Views)

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

0 Kudos
Message 4 of 7
(2,862 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

Message 5 of 7
(300 Views)

This should be a Method, actually! 

Set BP

Enable BP

Disable BP

Clear BP

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 6 of 7
(34 Views)

Jay14159265_0-1738958467642.png

 

______________________________________________________________
Have a pleasant day and be sure to learn Python for success and prosperity.
0 Kudos
Message 7 of 7
(28 Views)