LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

resizing controls and indicators

 

I am recently having problem with resizing the boolian controls and indicator on my front panel. When I change the size either height or width, the control or indicator disappears from the front panel and goes to some invisible mode. If I copy the same control/indicator to an other vi, it start behaving normally; means, I can change the appearance.

 

I could not figure out why a vi goes into such a mode where I can't change the size of these cotrols? and I need help to prevent my vi go into this mode; and, if it goes their how to get out of it?

 

 

Someone please help me out to fix this problem.

 

Regards,

 

Mansoor

0 Kudos
Message 1 of 6
(3,543 Views)

It is hard to answer without a vi. 

You can always find an indicator or control from its block diagram terminal: context menu -> find control or indicator. or simple double click

It looks like the controls become hidden. Then you will have a command in the terminal context menu "Show control" instead of "Hide Control"

Or you have simply scrolled away.

Or colored invisible

Or the control is in something like cluster:  hidden by border of the container

Or there is some other element above the control

The only thing that confuses me - is that it happens with size changes. I need the vi to answer

0 Kudos
Message 2 of 6
(3,524 Views)

 

I have two boolain controls on the attached vi, the names are "Boolean" and "Create Assessment File". Both of them are not responding correctly to the size change command; either it is done programmatically, through property window or just  by extending it with cursor pointer.

0 Kudos
Message 3 of 6
(3,518 Views)

How are you trying to change the size?

 

Your front panel caused me a crash on my LabVIEW but I did see that the initial size was a width of 1 and height of 20 on the Boolean.  I also saw that the actual control was several screens away from the label.

0 Kudos
Message 4 of 6
(3,515 Views)

No crashes for me.

 

But something seems to be corrupted in your VI.  I see what you mean about things disappearing when I try to drag the borders of the boolean button.  And having the one label so far away from the button is suspicious.  I don't see where you attempted programmatic changes of the controls.

 

All I can recommend is that you trash this VI and start over fresh.  There is nothing going on in it that can't be easily replicated.

 

 

0 Kudos
Message 5 of 6
(3,509 Views)

One problem is that your front panel objects are spaced very (very!) far apart. Did you fall asleep with your head resting the cursor keys while an item was selected??? 😄

 

There is a maximum panel size in pixels, and if you exceed that, things get weird. Also your button is a single pixel wide (reading the property), which is too narrow. You probably want it to be a little wider. Here's a quick modification after making the button a little larger and moving everything near the origin.

0 Kudos
Message 6 of 6
(3,504 Views)