What I am trying to accomplish is to 1) launch a vi dynamically that uses event structures for interaction with the user interface, 2) sometimes update the display on this dynamically launched vi by using another vi (opens a VI reference and invokes the set control method). It seems I could use some sort of event generated by the vi that sets the control value to fire the event handler in the running vi and thereby update the display, but I have had no luck. I have tried setting the value(signaling) property of a registered control, but this doesn't work because the waiting event blocks the value from the dynamically updated control from ever updating the value(signaling) property of the registered control. The best I have come up with is periodically timing out the event structure (which forces the value(signaling) property to update which generates an event for the registered control) but this is just a backhanded way of polling for a changed value and violates the idea of an event driven program.
My other attempt was to create a user defined event when I launched the VI dynamically and pass it into a ref on the called vi, then fire the user event on subsequent calls to update the control. I could get this to work on the first call, but subsequent calls would fail (I would get an error when I tried to fire the event - something about an invalid event reference, I think - I don't have the code in front of me). Any ideas out there? Mark