I'm attempting to create a VI in which the user can click a button to bring up a dialog box where the main VI remains active (e.g., continues to display new data generated in loops independent of the event-handling loop and responds to user input handled by separate event-handling loops) while the user interacts with the dialog box. Due to some complications (described below), I need to register the event which spawns the dialog box dynamically. However, responding to a dynamic events seems to invariably lock the front panel. I've included a small VI which demonstrates this problem. Is there any way to keep the front panel active while responding to a dynamic event?
Jason
Grundgy details: I'm writing a data acquisition application for a large, variable number of identical sensors. Rather than manually copy the GUI associated with each sensor, I've created an array of clusters, where a single cluster is the GUI for a single sensor. There is no static event corresponding to the element of an array, but I can get a reference to a generic array element and thus can use it to register a dynamic event. However, the GUIs need to continue to respond while I handle to dialog box spawned by a button press. I've put the event handling for dialog-box spawning and other user interactions in separate event-handling loops. As far as I can tell from the documentation, its OK that I'm registering the same event twice; it should merely be processed separately by both event-handling loops. Everything works fine, except that the front panel seizes up until the dialog-box-generating event returns.
Jason Rolfe