Paul,
Actually, recursion is not very difficult to do.
Just make a vi reentrant, and call it dynamically. Debugging is a problem, but you can use popup message boxes (, or make a buffer vi with floating panel so you can see what is happening).
I don't have 7.0 working, but you should be able to open this 6.1 example. Sorry, the example is a bit stupid...
Regard,
Wiebe.
"falkpl" <x@no.email> wrote in message news:211395@exchange.ni.com...
Is it possible to write recursive functions in labview? I have created complex data structures which have a name and a reference to child nodes to simulate a tree structure and I need to do a recursive xapansion of the tree. This can be done very easily with resursion but I keep getting the "can not use vi recursivly" error message when I try to perform such a coded algorithm. I have set the vi to reentrent but still cant get this to work. I am using LV7.0 is this possible or is it a lost cause. I can simulate recursion but this is not as fast or elligant as the simple recursive solution. Any references to recursion in labview would be greatly appreciated.<br><br>Paul