LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Customized boolean not working properly

I want to control the pages of a tab through radio buttons. 

Attached is the program through which I'm doing this.

 

When I run the program and hover over any button, it kind of blinks, like it keeps disappearing and reappearing but it functions correctly. Why is this happening? 

I've attached one control, the other two are similar. 

Download All
0 Kudos
Message 1 of 4
(1,163 Views)

EDIT

 

I've changed the controls. Now, I've used the software's own boolean button from Control palette >> Boolean >> OK Button. The button blinking problem has gone now. 

 

But now when I click on the boolean to change the tab, the ugly original button also shows up for an instance despite that I've designed the boolean control as 'Switch when pressed'. I don't want that to show up, only the customized button should show. What can I do for this?

 

I've attached the updated control. 

0 Kudos
Message 2 of 4
(1,136 Views)

First of all, your attached Control is set to "Switch when Released".  The other thing is if you look up (using Help) the Color property for Booleans, you'll find it is an "Array of up to 4 (Foreground Color, Background Color) pairs, where Foreground Color is the foreground color of the Boolean control and Background Color is the background color of the Boolean control. Color pairs include False, True, True to False, and False to True."  Not sure how you "programmed" your Home button, but you are seeing one (or both) of the last two "colors", I suspect.

 

If you are a beginner with LabVIEW, don't fuss about with the User Interface.  Learn how LabVIEW works.  Understand how Data Flow works.  Learn about "wires", including the Error Wire.  Learn to write (lots of) subVIs, and give them Icons and Descriptions so you'll be able to understand them a week (or a month) later.

 

Bob Schor

0 Kudos
Message 3 of 4
(1,110 Views)

I actually have been given the task of making a GUI for a certain project that's why I'm involved in it. 

 

Alright I'll learn the things that you've listed, thanks for the advice.  🙂 

 

0 Kudos
Message 4 of 4
(1,077 Views)