LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

vi's not loaded when executable is launched

Hello everyone,
 
I have a problem concerning the Application builder. I've created an application, a top-level vi is included and some vis that are dynamically called from the top level vi. When the application is launched, only the vis that are statically included in the top-level vi (on its block diagram) are loaded in the memory space of the executable. I thought that all the vi's will be loaded when the executable is launched so they could be called by opening a reference with only the name of the desired vi included in the executable. Since it is not loaded in memory, an error occurs. What is the behaviour when an executable is created and launched? If Labview uses in the same time some vi's having the same names as the vis included in the executable, will there be any errors (or rather warnings) concerning these vis (if a vi is already in memory and another vi, having the same name the first vi in memory is kept and a warning is given to the user; since an executable has its own memory space - different from Labview's memory space -  this kind of conflicts should be avoided)?
 
I would have another question concerning a particular context. The same top level vi should act as follows: it should dynamically call another vi, it should check if parameters have been given for its execution. If parameters were not given it should open the front pannel of the called vi (without executing it), it should wait for the user to choose parameters on the front pannel of the dynamically called vi, to execute it and wait for the value returned by the called vi. Once it has returned a value, the top-level vi should get the returned value (that will be displayed in a string indicator on its front pannel) and afterwards carry on its execution. I have tried to do so using Run and Get Control Value methods from the Invoke node but the behaviour wasn't as expected. Is there any way to accomplish this behaviour?
 
Thanks alot for your help,
Paul. 
0 Kudos
Message 1 of 4
(3,227 Views)

Paul,

You have accidently posted this in the CVI forum.  I am sure you would have better luck posting this in the Labview forum. 

 Good Luck.

0 Kudos
Message 2 of 4
(3,212 Views)

I’m sorry for the inconvenient. Thanks a lot.

0 Kudos
Message 3 of 4
(3,199 Views)
Hello,
 
 
Regards,
 
Benjamin M
NIF
0 Kudos
Message 4 of 4
(3,176 Views)