LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Recursion in Labview

Is there any straightforward way to do general recursion in Labview? Every other programming language I've ever seen supports recursion.  I don't want to have to build a stack to push and pop contexts, which will obviously be unique for each implementation of recursion.

Is recursion supported in Labview 8?

Scott
0 Kudos
Message 1 of 2
(2,920 Views)

Hi Scott

You can do recursion using the vi-server.

Have a look at this thread: http://forums.ni.com/ni/board/message?board.id=170&message.id=111223&query.id=0#M111223. There I posted a vi to read the elements of a tree-structure using recursion.

Hope this helps.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 2 of 2
(2,911 Views)