At 10:36 -0700 01/30/2004, Jim West wrote: >You >are not allowed to insert a VI that is already running into a subpanel. >Our code uses a spawned process (VIT) that runs in the background with >the front panel hidden. There are several instances of these displays >active at the same time.
Maybe I am still misunderstanding, but isn't this essentially what the examples/general/controls/subpanels.llb/viewer does? It starts a VI by reference and then inserts it into a subpanel. I think it aborts each one as it replaces it, but I don't think that the abort is necessary and could be left running. >The user activates the data display and we show the front panel. I >would like to insert this process VI in a subpanel when the user >activates it. Additionally, I would like the VI itself to insert into >the subpanel. Right, I am setting up something similar. It should work. And for number 3, if you just remove it from the sub panel and then tell it to open its front panel isn't that effectively the undocking mechanism you want? You could even do it in response to a mouse down/leave area event and position it under the mouse so it would work like a tear off menu. -Scott
