Byungin Bae wrote:
> I'm a newbie.
> My VI has three buttons and those buttons are connected a sub VI of same
> names.
> I found that pressing a button invokes the sub-VI correctly, but pressing
> another button doesnt open the panel of sub VI (same name as opened one)
> while the previously opened sub-VI is running. After closing the previous
> sub-VI, it is pened again corresponding to second button press.
> Can I open two or more front panel simultaneously from one sub-VI, i.e.
> pressing a key opens a front panel regardless of previously opened sub-VI
> with same name.
> Regards,
>
> Byungin Bae
> email : bibae@hitel.net
In a word, No.
You can make the VI reentrant (multiple copies) BUT it will not
display it'
s panel at all.
To do this go to the VI setup (right click on the Icon) and Select
Reentrant From the Execution Menu.
If you want to DISPLAY the fronty panel then you must make multiple copies.
This can be done either statically (using file->save a copy as) or
dynamically
using the VI server.
In either case they will not share data unless you make some provision to do
so.
Hope this is less confusing than it sounds.
Kevin Kent