LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hiden globals

I have a problem where I have a VI of globals, some of which are
hidden. I need to modify one of these globals, but I cannot access it,
unlike a normally hidden control where I can make it visible via the
context menu of the control's terminal.

Does anyone have a solution to making visible a hidden global?
0 Kudos
Message 1 of 5
(3,057 Views)
Try to play around with "Application Control" VIs; maybe it is possible to programmatically access to a global VI's controls and switch all "hiden" properties to FALSE value - oz

Scott Miller a ecrit :

> I have a problem where I have a VI of globals, some of which are
> hidden. I need to modify one of these globals, but I cannot access it,
> unlike a normally hidden control where I can make it visible via the
> context menu of the control's terminal.
>
> Does anyone have a solution to making visible a hidden global?
0 Kudos
Message 2 of 5
(3,057 Views)
Here is vi that make this.
0 Kudos
Message 3 of 5
(3,057 Views)
I've done this many times with front panel controls, but I can't see a
way to access a control in another VI using the property node. Maybe
this is a none-recoverable dead end in LV? Bugger!


Olivier Zimmermann wrote in message news:<3CA063B7.54CF2F14@isn.in2p3.fr>...
> Try to play around with "Application Control" VIs; maybe it is possible to programmatically access to a global VI's controls and switch all "hiden" properties to FALSE value - oz
0 Kudos
Message 4 of 5
(3,057 Views)
Try this - open a VI reference to the VI with the global. Then get the panel reference. Wire this to a Controls[] property. Take the array into a For loop and wire it to a Visible property. The attached example worked for me. You'll have to change the path in the example.
0 Kudos
Message 5 of 5
(3,057 Views)