08-12-2011 08:49 AM
08-12-2011 09:13 AM
Post your code so I can have a go at it.
08-16-2011 05:32 AM
08-16-2011 07:39 AM
@Mitsurugi wrote:
Heya, sorry for taking so long to get back to you. Ive attached a small app that illustrates the problem with the buttons. The images are included also. What I've found recently is that you don't even have to actually run the app to have the images disappear. If you just open the project, and leave it for a while (say 30, 40 minutes?), then they will go blank. I dunno if it's the way I've set up the buttons (mechanical action, picture items and whatnot), the nature of the images used, or what. For a while I was even thinking that I may be the amount of memory on my machine (pretty small), but then that can't be it because none of the other buttons in the app I'm working on are ever affected..... Anyway, have a gander, and see if you can spot summat I've missed. Ta much.
That has nothing to do with the mechanical action. What you describe is strange indeed. I will have a look and get back with you.
08-16-2011 07:44 AM
Is it the image on the booleans that are disappearing or the entire button? Why are your labels tucked behind the buttons? If you want them removed simply right-click>>Visible Items>>Labels. I don't know if this has anything to do with it, but don't hide your labels behind your controls/indicators. When the buttons disappear, what happens if you double click on the boolean from the block diagram? Can you see the outline of your control?
08-16-2011 08:27 AM
08-16-2011 08:32 AM - edited 08-16-2011 08:34 AM
08-16-2011 09:06 AM
I left your VI open for awhile and it indeed went black on the booleans. If you click the button you will see the picture reappear. I'm not sure what's going on with your pic, but there does not seem to be an off-state color set for the boolean. Also, your Stop button should be set to Latch when Released. Otherwise LV may not catch the state change.
08-16-2011 09:19 AM
08-16-2011 10:58 AM
Try changing your controls to Strictly typed.