04-09-2012 11:22 AM
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
04-09-2012 01:54 PM
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
04-09-2012 03:04 PM
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.
04-09-2012 03:34 PM
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.
04-09-2012 03:48 PM
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.
04-09-2012 04:07 PM
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.