LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

floating controls not changing at run time

Solved!
Go to solution

I have some floating controls on my front panel because they are situated over a cluster. When I switch from edit mode to run mode or run to edit, my controls won't go from floating to not floating, or vice versa, until I either mouse over them, move a window over my LabVIEW window, or scroll on my LabVIEW window. I have tried restarting LabVIEW but it has not solved it. Has anyone else seen this and been able to remedie it? It's like my LabVIEW window is not refreshing until some event on it happens. Image below is before and after I scroll

 

0 Kudos
Message 1 of 7
(3,054 Views)

Interesting.  Obviously you need to force a redraw to work around this cosmetic glitch.  Try involking the method "Reinitialize all to default" on the  FP at launch.


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 7
(3,036 Views)

This is frustrating, and you may find that System buttons act differently than Modern, etc.

 

Group the "floaters" with your cluster, and you should be ok. It's a good practive anyway for when you move stuff.

Richard






0 Kudos
Message 3 of 7
(3,033 Views)

@broken Arrow wrote:

This is frustrating, and you may find that System buttons act differently than Modern, etc.

 

Group the "floaters" with your cluster, and you should be ok. It's a good practive anyway for when you move stuff.


I had done that, but the problem is I have to use a local variable (Smiley Surprised queued state machine with no parallel loops...it's OK!!!) because I need to initialize the controls values at startup. So, if I put the buttons in the cluster, I then cannot use the latch mechanism. I guess I can try with a property node's value property. Will that allow me to still use latch? 

0 Kudos
Message 4 of 7
(3,024 Views)

Double you, tee, eff (how's that for avoiding abreviations Smiley Wink). If I move the multicolumn LB so it's not floating, then everything resets properly the first time. Then if I run again, it goes back to the old behavior. So then I move it back so it is floating, the first time it works properly. The next time, it doesn't....weird.

 

It seems to all be triggered off the MC Listbox switching from either floating to not floating 

0 Kudos
Message 5 of 7
(3,021 Views)
Solution
Accepted by topic author GregFreeman

imstuck,

I didn't mean put the buttons in the cluster, I meant use the grouping tool to physically group the hovering buttons with the cluster. try it! Smiley Happy

 

 

1.png

Richard






Message 6 of 7
(3,016 Views)

NICE!

0 Kudos
Message 7 of 7
(3,003 Views)