LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Call a VI that calls a SubvI, the SubVI calls the VI --> non recursive solution

I need a example how I can call a VI a second time when i have called some SubVI's.
The last SubVI can call the first SubVI or the main VI.
How can I do this?
My problem is that recursive solutions are not allowed in LabVIEW.
 
 
_________________________________________________________________________________________
Suche ein Beispiel, wie man sinnvoll ein VI, welches mehrere SubVI
aufruft, welche dann am Ende eines Dialogs sämtliche eingegebenen
Werte zusammengefasst wiederum in einem SubVI dargstellt.
Falls die Eingaben widerrufen werden sollen, muss der Dialog erneut
durchlaufen werden.
Hierzu benötige ich einen Lösungsansatz, da rekursives aufrufen in LabVIEW
verboten ist.
Könnte man mit globalen Variablen etwas Sinnvolles gestalten?
Für Beispiele wäre ich dankbar!
0 Kudos
Message 1 of 2
(2,518 Views)
You can do recursion if you call VIs dynamically. Look here for an example.

___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(2,515 Views)