LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I set the control value of a control in subpanel?

Hello,
I would like to set the control value of a control put in a subpanel. And the control value need to be changed according to the users needs. How can I do it?
I have tried to set the value before the run vi invoke node, it works for the first time of iteration, however, after the program starts, it will not response to the user input.
0 Kudos
Message 1 of 2
(2,504 Views)
I Assume you're using the Set Control Value method, and it works before you run the VI.
Discarding the obvuious answers (wrong name\data\type descriptor...) I can think of 2 reasons why it won't work after you start:
1. You are trying to set a boolean control with a latch action, or the inner VI is changing the value back from its code.
2. You've set the Run VI method to Wait until done, meaning the code of your top VI will stop running and wait until the subVI finishes. If this is so, just set it to F.

___________________
Try to take over the world!
Message 2 of 2
(2,494 Views)