LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

recursion with reentrant vi's

Hi tbd,

when posting I had some issues hence the numerous attachments....

I can see why your first example doesn't work, first you open a reference to the same vi (not only in name, but also in memory) thought truly recursive, this will fail.
The second method is new to me, I'll have a look at it

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 11 of 13
(781 Views)

Hey TonP,

      Ran into a rather annoying limitation of this recursive technique (at least in 7.1) .  It works if "A" calls itself dynamically.  But if B is a [re-entrant] subVI of A, and B calls A - then there's a problem (Error 1042.)

Cheers. 

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
0 Kudos
Message 12 of 13
(764 Views)
Hi TBD,

strange could you contact me at LAVA? I'm known as tcplomp

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 13 of 13
(760 Views)