LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Make a display cluster into a control

Solved!
Go to solution

Maybe this isn't possible, but I would think that it "might" be Smiley Frustrated

 

I have a cluster on my front panel (LV2011) and it is reading some identifying values from a DUT such as serial number(s) and firmware version(s). Currently I have a boolean button that I have the user press to read the data (it does get read automatically upon powerup of the DUT also) but I was thinking that it would be neat, cool, interesting for the user to just be able to click anywhere within the dislay (cluster) and have it update.

 

ooo....  thought. I could track mouse position and when it is over that display, with a LMC it updates.

 

But in the interest of having an interesting problem to solve, is it possible to now make that cluster into a boolean control?

 

Thanks

Dan

0 Kudos
Message 1 of 4
(1,976 Views)
Solution
Accepted by topic author m3rl3n

Use an event structure and watch for mouse down events on the indicator.

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

I would definitely go with altenbach's suggestion.

 

However, if you really want that cluster to act like a boolean control, it is possible.  You can place a button on top of the cluster and then right-click go to properties, and on the first tab change both the on and off color to be transparent.  Your users will not be able to ever click inside the indicator (because the button will be on top) but it will appear that your cluster indicator acts like a boolean control.

 

If you use latching, but sure to use latch when pressed instead of latch until released.  With latch until released the transparency doesn't work correctly for some reason.

Chris
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 3 of 4
(1,973 Views)

Yeup... That is the way to do it.  Works slick. And I realized that was probably the way even as I writing the question....  just a little brain short there.

 

Oh yeah and PackersFan?  ME TOO  GO PACK GO!!!

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