LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't programatically unlock objects on a tab in LV2017

Solved!
Go to solution

@stevem181 wrote:

wiebe@CARYA

 

You'll need to recurse over the pages. So:

 


Recursion is really cool.

Except when you forget what you are doing and try to open the vi on the block diagram, only to realize that this is the vi that you are editing.

Hypothetically speaking, of course Smiley Wink


Or you are single stepping into the recursive calls and stop the VI without backing out of all of the recursive single-stepping. I do not remember  which version but LV would crash.

 

Ben

0 Kudos
Message 11 of 12
(96 Views)
Highlighted

Yes, debugging is not easy with recursive code.

 

Recursion gets even cooler with OO. Then you mix polymorphism with recursion! It doesn't apply too often, but when it does, it saves tons of work. Actually not sure how to do that without OO anymore.

0 Kudos
Message 12 of 12
(85 Views)