LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

boolean control disappears

I am facing a queer problem. I have developed quite a intricate vi for handling machine vision. All of a sudden I find that when ever I place a boolean control on one particular area of the front panel and then when I resize the bool. control, it just disappears. But the block diagram contains the control. If I scroll to another area of the front panel and then place a bool, control, resize no problems. I can paste the new resized control to the former area also.But if I resize then poof ! it disappears.
Can some one  pls help me . I cannot rewrite the vi since I have done a lot of work. I am sending the vi after removing the existing controls and block diagram. But it has the problem still. Try placing a bool. and then resize and you will understand

Thanks
Suresh
0 Kudos
Message 1 of 5
(3,126 Views)

Hi Suresh,

Your VI looks like it has become corrupt.  I noticed that in addition to disappearing Booleans, whenever I drop a Knob on your VI, it does not have the circular indicator on the Knob indicating its value.  Also notice that when you resize a Boolean, after it disappears, if you go double-click its terminal on the block diagram, you are taken way off to the right on your panel, and the Boolean has been squished into a 1-pixel width.  If you resize it to the left, it stays invisible, but if you resize it to the right, it appears again.  I also noticed that your panel does not appear to have an origin...I confirmed this by showing the alignment grid on the panel and noticing that there were no "thick" alignment grid lines...the "thick" lines always go back to the panel origin.

I think the best solution for you would be to copy the entire block diagram of your VI into a new VI.  Hopefully the front panel arrangement will be preserved relatively well...I noticed that when I dropped the contents of your diagram into a new VI, I was able to drop and resize new Booleans without problem...the invisible ones were still squished into a one-pixel line, but I was able to resize them to a normal size as well.

Hope this helps...good luck,

-D

Message 2 of 5
(3,105 Views)
I cannot open your example, as I do not have LV 8 installed yet.  

What happens when you double-click on the Block Diagram control?  Or if you use the Find Control?

Is it perhaps going underneath something on your front panel? 
---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 3 of 5
(3,105 Views)
Hi All,
Thanks Daren. I just did that and thankfully the alignments were preserved. I was using a sub panel and the same had problems. But I could fix that quite easily.
Can you pls help me with one other problem ?
I do not know how to control the display at runtime ? I have a vi with sub panel,  and sub vis. the sub panel runs a vi generated by Vision Assistant. I want my front panel to display in a particular manner so that the displayed image and controls are properly visible.
If I align the front panel properly and run everything is ok. But if is scrolled then the display starts at a new point.
Thanks
Suresh
0 Kudos
Message 4 of 5
(3,086 Views)

I'm afraid I don't have enough information to help you out with that problem.  Perhaps if you attach a sample VI that demonstrates the problem I can be of more assistance.

-D

0 Kudos
Message 5 of 5
(3,082 Views)