LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

global vi appearance

Hello, i would like to know if there is a way to change vi appearance in a batch. I would like to distinct developpement execution from runtime execution. For example i would like to set all my vi with no quit button, no close window and no sliders. But this only for run time. Is there a way for top vi to know all subs and applying a setup ? Regards Tinnitus
CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 1 of 3
(2,528 Views)

Load your toplevel VI, then use the App.AllVIs in Memory property node to get all VI names. Then loop through the array and open a reference for each VI, get its path and check that it is not a vi.lib or user.lib member. For the other VIs use Vi Prperty nodes to manipulate nearly each attribute you can change with the editor too. Be aware that there are some properties which will you give arrays of references to other objects like VI >> Panel >> Panes[].

 

You just need to do this with VIs which are visible to the user at runtime.

 

Also save the VIs in another place than where you develop them.

 

If you are building an application you do this once in the build specification.

Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
Message 2 of 3
(2,516 Views)

Hello,

 

sorry to dig up this post but could you post the code you use, 

 

i 'm tying but fighting with errors generated ....

 

Regards

 

Tinnitus

 

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 3 of 3
(2,439 Views)