LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Subpanel does not respond to user action

Hello,
I have loaded a vi in a subpanel control.
This seems to work well in the development environment, but when I generate an EXE application the front panel controls don't respond to user.
Can anyone help me ?
Thanks in advance

Paolo
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 1 of 3
(2,585 Views)
Hi, using sub-panel, you call VIs dynamically, so LV does not know which ones to embed in the executable.
Double check if you added these "dynamic VIs" while building the executable.

Let me know!

Ciao. Nicola.
0 Kudos
Message 2 of 3
(2,559 Views)
Hi Nicola,
thank you for your answer. Actually the problem was another but I fixed it.
I'm doing some control positions rearranging at program startup, depending on hardware configuration.
I didn't want the user to see controls jumping to new locations, so I managed to run my VI as a hidden
child of another "stub" VI. After UI rearranging, I showed the user front panel and hid the stub VI's front panel.
This technique doesn't work well because subpanels VI don't interact, probably due to how LabView manages
Windows messages. This is true for both development environment and executable. My mistake was to directly
run the main VI (into LV) instead of opening and running the stub VI. Now I'm doing it another way.
Anyway I much appreciated you answer.

Ciao

Paolo
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 3 of 3
(2,541 Views)