01-25-2006 04:58 PM
01-25-2006 05:09 PM
Hello,
You need to go to the VI Properties (Ctrl-I) of your subVI, go to the "Window Appearance" page, click "Customize", and deselect "Close Afterward if Originally Closed". You can learn more about all the different window appearance options for a VI in the LabVIEW Help.
Good luck,
-D
01-26-2006 05:01 PM
01-27-2006 01:50 AM
Hiiiii, D
I am also facing the problem of opening the file, execute and close it, let me giv you an explaination.......
Actually, i am calling a vi name counter, that vi is executes in the while loop, now what i supposed to do is to call that vi once and after it execute once, it should close its execution, but what is happening is... when i call the vi, it executes itself , give me an output and with the o/p it again start to execute while loop, which gives me another o/p instead of once, so whtat i should do???
here i am posting you both the vis. counter timer is a counter vi and call counter is calling the counter_Timer to execute, now as i required whenever i call the couner_Timer, it should execute and then should stop,instead it is giving o/p again and again...., which i dont require.
Thanks,
Nishant
01-27-2006 08:27 AM
01-27-2006 10:25 AM
01-27-2006 10:08 PM
Hiiii,
First of all thanks to both of you, but if i remove the front panel from the counter vi, it will not continue iterations as there are shift registers on the while loop, and i also have tried to replace the while loopp with the For loop, but it wasn't worked for me, so can one of you tell me that what should be the alternate for while loop and for loop????
Thanks,
Nishant
01-30-2006 08:10 AM
01-30-2006 09:59 PM
Hiiii, Ceties
Here you can do one thing that you can change the Subvi node setup, change the properties to Show front panel when called and then whenever the vi called, it will execute and wont close if you do not check the property "Close afterwards if originally closed".
Thanks,
Nishant
02-06-2006 10:27 AM