LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dynamically creating indicators

In labview if reading from an excel file can you Dynamically create new controls, LED's, during runtime on the front panel? Can they increase or decrease in sides during runtime as it begins reading from a file and new controls need to be added or removed?

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

As far as I know, you need to allocate memory for the controls/indicators prior to runtime therefore you can't create them programatically as needed.

 

A potential solution would be to create the maximum (or at least what you think will be the maximum) number of controls/indicators needed and use the controls/indicators visible property node to make them visible and invisible as they are required.

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

Strokes Appreciate your reply. Thats what i was thinking. You would have to Manually create them in advance and make then visible or invisible as needed.

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

Thanks smercurio_fc for the link!

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