ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scripting the Control Editor

Solved!
Go to solution

Can LabVIEW scripting be used to customize individual parts of Controls and Indicators such as adding cosmetic parts programmatically?

0 Kudos
Message 1 of 5
(2,358 Views)

You can copy decorations from a front panel onto the front panel of a .ctl file.

"If you weren't supposed to push it, it wouldn't be a button."
Message 2 of 5
(2,326 Views)
Solution
Accepted by d.w.b

The Control Editor as you describe it (the tool used to modify control parts) does not have a scripting interface.

0 Kudos
Message 3 of 5
(2,318 Views)

you might want to take a look at the control generator, it lets you create buttons based on set of images, it's a long way from what you're asking but hey...

 

https://www.vipm.io/search/?q=ui+tools


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 4 of 5
(2,243 Views)

Thanks for the feedback but the control editor is needed to bind an opaque decoration to stretch with an indicator given a transparent background to work around an old bug (CAR#180305) where LabVIEW would otherwise elevate the z-order of the indicator's value when updated to be above a subpanel that is popped up above it. So rather than fixing the mass of indicators in-place it seems the approach must be to manually create custom control templates then use scripting to programmatically replace them.

0 Kudos
Message 5 of 5
(2,203 Views)