LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pop-up using event structure

Hi

Is it possible to use an event structure to call several subVI's?
Look at my program i've attached.
Its now not possible to open another subVI when i've already loaded one. I have to close the subVI and THEN call another subVI.
Is there a way where I can open all subVI and not just one at the time?? ..so i can operate on all subVI's (and mainVI)

thanks

Bjornar
0 Kudos
Message 1 of 5
(2,919 Views)
Hi Bjornar,
i think it is possible, but i can´t say exactly because you forgot to attach your example.
Mike
0 Kudos
Message 2 of 5
(2,916 Views)
ooops Smiley Tongue

here it is




Message Edited by MrNorway on 01-31-2008 11:10 AM
0 Kudos
Message 3 of 5
(2,911 Views)

Well, it's all in the dataflow. The current event cannot complete until everything in it has completed. You have several possibilities:

Place each into a seperate loop and event structure (see attached. Make sure not to lock the FP for the events).

Launch the subVIs via a reference and the run method, for example.

0 Kudos
Message 4 of 5
(2,879 Views)
thanks altenbach! Smiley Very Happy


0 Kudos
Message 5 of 5
(2,877 Views)