LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically creating and modifying the front panel

Is it possible to dynamically create or modify UI items in the front panel?  If so, how can this be done?

0 Kudos
Message 1 of 6
(2,977 Views)

You can certainly modify existing items on the front panel by way of property nodes.

 

You can create items on a front panel if you use scripting as long as the VI is not running.  But considering that you seem to be a new LV user, there is no way I can recommend you doing anything with scripting at this time.

 

Why don't you tell us what you are trying to do, and we may be able to suggest an appropriate way for you to do it.

0 Kudos
Message 2 of 6
(2,964 Views)

Relatively new, yes.  I want to create, modify, and delete UI elements (buttons, charts, etc) while the program is running.  Don't know if this is possible or not and I haven't been able to figure out how to do it.

0 Kudos
Message 3 of 6
(2,942 Views)

The intent is to allow multiple different UI configurations without having to build the UI by hand for each case.

0 Kudos
Message 4 of 6
(2,940 Views)

@good Times wrote:

The intent is to allow multiple different UI configurations without having to build the UI by hand for each case.


Please post some screen shots that show us some of the variation and flexibility you want to provide with the app.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 5 of 6
(2,936 Views)

Just a simple answer, as was said above, without scripting you wont actually be able to create objects. You can however place everything on your front panel that you need, then show/hide controls as necessary maybe based on a startup configuration etc etc. As Ben said, you will need to give a more detailed example for what you want to do in order to insure you get the answer you are looking for from these forums.

Message 6 of 6
(2,921 Views)