I am trying to incorporate a subVI with event handling into a main VI. Changing values on the main front panel does not elicit changes in the values of the controls in the subVI to which the main controls are wired. I have attached a simple example to demonstrate my problem.
In these VI's, the subVI works independently with three different event cases handling 4 different events. When this sub is placed in the Main Message VI, it loses functionality because the events in the Main VI do not cause the same events in the subVI, which is what I intuitively thought. (You will be able to use the subVI independently, but the main VI will not act and you will have to use the stop sign to break it).
This example is redundant, I know. And I know of a help file and an example of dynamically registering events, however, I can't make heads nor tails of it. Dynamically registering events seem to work in the opposite way, where the event handler is in the main VI and changes in the subVI elicit event handling in that frame.
Any ideas? Am I completely wrong in my conception?
Thanks,
Brad