04-24-2017 09:37 AM - edited 04-24-2017 09:38 AM
Situation:
- a master-vi calls a sub-vi
- the front panel of the sub-vi is set to open when the sub-vi is called by the master-vi
- an x-control is programmed to display to different icons (e.g. a left or a right arrow) depending on its value (e.g. +1 or -1)
- both master-vi and sub-vi contain an instance of this x-control
- the value of the x-control is passed from the master-vi to the sub-vi by a wire to the sub-vi terminal connector in the standard way
Issue:
When the sub-vi is called and its front panel opens, the x-control does not refresh. It does not change its aspect (e.g. always shows left arrow) depending on the data value passed to the sub-vi, although the value is correctly passed to the sub-vi.
In order to make it refresh, a value property node must be used in the sub-vi (diagram disactivated).
If the sub-vi front panel is already open when the sub-vi is called the x-control refreshes correctly.
Solved! Go to Solution.
04-24-2017 09:18 PM
Looks like an LV bug. I can't find a better workaround than what you're doing.