LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Add or remove a Control/indicator on Front Panel when it is running?

I don't know whether I am asking a stupid question or not? What I want do is to add or remove a Control/Indicator on Front Panel when it is running.

For example, if the user press an ADD button, it can generate another button or numeric indicator or anything. If user press an REMOVE button, it can delete any control or indicator on the front panel.

If LabVIEW cannot do this, are there any good ways to realize this idea?

0 Kudos
Message 1 of 3
(3,137 Views)

This request sounds familiar.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 3
(3,132 Views)

Quoting myself from this thread.


 

"Controls on the fly" (artwork courtisy of Christian Altenbach) is something I have done on more than one app.

 

ControlsOnThe Fly.png

 

Also check out the Picture control thread for more links and idea.

 

The easy method is to pre-create and hide.

 

The amount of code that goes into supporting functional controls is enormous (been ther done that)

 

Ben

 


 

So review that thread and its links and try to go with the the least demanding approach. If all else fails the Picture control will let you make it look like you have dynamic FP objects.

 

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 3
(3,131 Views)