LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

event handler detecting a switch press

Hi,

        I got a VI from the NI website(http://zone.ni.com/devzone/cda/epd/p/id/2708) with a feature that is..

 

When we move mouse above a boolean button it will change color and when we press it , another LED will light up.

 

I'd really like to use this feature in some of my VI's.But i couldnot completely understand and customize it to my need.

 

The problem is

1) i want to change the colors of the button (& color wen mouse hover above it) and the LED color too

2) The real major problem is i want to detect the button press and start an event , i gave the Indicator LED (value changed)as the Event resource but wen the button pressed the event (a string indicator with text "you pressed button")is not happening

 

Can somebody help me??

 

Im using Labview 6.1 If somebody would like to help me with a VI please put a  Jpeg screenshot or save it in LV6.1 format

 

Thanking You

Stephen.

0 Kudos
Message 1 of 2
(2,745 Views)

2) See attached below

1) To change LED indicator, right click on the control and then select properties. In the tab page "appearance", you can change both colors (true and false case). Idem for press button but the only thing is that a transparent picture is placed ON this button : so you need to move the transparent picture, then change press button colors, and then move back the transparent picture control.

0 Kudos
Message 2 of 2
(2,726 Views)