LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can a VI create front panel controls?

Hi!

Is it possible for a running VI to create controls on the
front panel? I know how to modify controls but there are
cases where I would like to have variable numbers of
arguments without having to define them beforehand and
fiddling with 'visible' attributes.

Rudolf
0 Kudos
Message 1 of 6
(2,971 Views)
There is currently no way to create controls from a running VI. NI's Image Builder program is apparently capable of doing this but whatever NI uses to do this has not been made available to the development community.
0 Kudos
Message 2 of 6
(2,971 Views)
Hi Rudolf,

As already mentioned, the is no out of the box solution.

Some of the ideas that I have heard are;
1)Extra controls off-screen, move and make visable when you want.
2)Picture control- make it look like as many buttons/controls as you want, detect mouse clicks, make standard control visable on top of picture to get data, update you picture control. (manage the whole mess in a sub-vi using control refnums.

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

I feel its not possible to create front controls in the running vi. But you can implement this problem by putting the array if the arguments are similar. Whenever you want the new argument, build it in the array.

Hope this works.

Best Regards,
Nirmal Sharma
India
0 Kudos
Message 4 of 6
(2,971 Views)
Why are you answering old questions? It would be much more productive to answer questions with which LV users are currently struggling, unless, of course, your only goal is to get your answer count up to LabVIEW Enthusiast levels, in which case you are missing the entire point of the Enthusiast program.
0 Kudos
Message 5 of 6
(2,971 Views)
Hi John,

Thanks for your suggestion. I will try to do the same.

Best Regards,
Nirmal Sharma
India
0 Kudos
Message 6 of 6
(2,971 Views)