LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Search for all vis with a broken run arrow

Solved!
Go to solution

I have a VI that searches for all VIs in memory, and I want to modify it so it lists all VIs with a broken run arrow. How can you programmatically check for a broken run arrow? I couldn't find it in the VI's properties.

0 Kudos
Message 1 of 4
(3,023 Views)
Solution
Accepted by topic author bmihura

You can use the VI Property "Execution.State" to check the state of the vi, if the VI is broken you will get the state as "Bad"

-----

The best solution is the one you find it by yourself
Message 2 of 4
(3,020 Views)

Edit: It works, thanks.

 

I tried that, and it says "Run top level" regardless of whether I break the run arrow or not. I tried saving it to disk with the broken arrorw, breaking the arrow in different ways, and I cannot get the "Bad" state like I expect.\

 

 

0 Kudos
Message 3 of 4
(3,014 Views)

Oops nevermind, it works as expected.

0 Kudos
Message 4 of 4
(3,012 Views)