LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Show hidden control inside editor

Hi,

i have following question! I created a user control inside the editor.
It contains a cluster with several controls inside. Each control i can
hide or show. But how can i get back the visibility of the cluster
after i hide it? I didn't found an entry in the menu or anything else...
Could somebody give me a tip?

Thnx
Henrik
0 Kudos
Message 1 of 5
(2,940 Views)
> i have following question! I created a user control inside the editor.
> It contains a cluster with several controls inside. Each control i can
> hide or show. But how can i get back the visibility of the cluster
> after i hide it? I didn't found an entry in the menu or anything else...

If the cluster is a top-level control, then it has a terminal
on the diagram. You can popup on the terminal and either show
or hide the control. If you are talking about controls within
the cluster, then you can do this with cluster popups in LV6,
but it wasn't available with earlier versions of LV.

Greg McKaskle
0 Kudos
Message 2 of 5
(2,940 Views)
Hi Greg,

sorry, i think that i explained it not enough.
What i want to have is a custom control which will show a bitmap when i
insert it into a vi. Cause the custom control is a cluster with 17
controls inside, i wanted to hide all controls and the cluster and show
a bitmap instead. The main reason is to hide the flowing data and to
reduce the size of the painted element in all this control using vi's.
The work i have to do in the custom control editor and there is no
diagram avaible. Later perhaps i have to make changes to the
cluster...how could i make it visible to change the data?

Henrik

PS: I use LV6.


Greg McKaskle schrieb:
> If the cluster is a top-level control, then it has a terminal
> on the diagram. You can popup on the terminal and eithe
r show
> or hide the control. If you are talking about controls within
> the cluster, then you can do this with cluster popups in LV6,
> but it wasn't available with earlier versions of LV.
>
> Greg McKaskle
0 Kudos
Message 3 of 5
(2,940 Views)
> sorry, i think that i explained it not enough.
> What i want to have is a custom control which will show a bitmap when i
> insert it into a vi. Cause the custom control is a cluster with 17
> controls inside, i wanted to hide all controls and the cluster and show
> a bitmap instead. The main reason is to hide the flowing data and to
> reduce the size of the painted element in all this control using vi's.
> The work i have to do in the custom control editor and there is no
> diagram avaible. Later perhaps i have to make changes to the
> cluster...how could i make it visible to change the data?
>

I'm afraid I'm still not sure what is being asked. Here is
my guess. You want to use a strict typedef of a cluster of
17 items. The typedef takes too mu
ch room on your subVI
panels. I'd recommend shrinking the cluster to clip out
the items. This isn't a good idea in general because you
can't see the items, but this seems to be what you are
looking for. Make the cluster be about the size of a
postage stamp and place a graphic or a comment label
inside of it.

When you are ready to show the items again, open the
typedef and grow the cluster again.

If the reason for shrinking the cluster is to minimize
the memory impact, keep in mind that the panels that
contain the controls are not kept in memory on most subVIs,
and in fact, they aren't even compiled into a built executable.

Greg McKaskle
0 Kudos
Message 4 of 5
(2,940 Views)
Hi Greg,

thank's for your help

Henrik


> I'm afraid I'm still not sure what is being asked. Here is
> my guess. You want to use a strict typedef of a cluster of
> 17 items. The typedef takes too much room on your subVI
> panels. I'd recommend shrinking the cluster to clip out
> the items. This isn't a good idea in general because you
> can't see the items, but this seems to be what you are
> looking for. Make the cluster be about the size of a
> postage stamp and place a graphic or a comment label
> inside of it.
>
> When you are ready to show the items again, open the
> typedef and grow the cluster again.
>
> If the reason for shrinking the cluster is to minimize
> the memory impact, keep in mind that the panels that
> contain
the controls are not kept in memory on most subVIs,
> and in fact, they aren't even compiled into a built executable.
>
> Greg McKaskle
0 Kudos
Message 5 of 5
(2,940 Views)