Re: how do i get subpanel to blank when sub-VI finishes running

2004-06-18 Thread AlejandroZ
Hello.
To have a subVI open its front panel when it executes and close its
front panel when it finished executing you can simply right click on
the subVI in the top-level VI's block diagram, go to subVI node
setup and put a checkmark both on Show front panel when called and
Close afterwards if originally closed.  Note that this configuration
only affects this instance of the subVI.  If you want the subVI to
behave that way always, you can open the subVI, go to File  VI
Properties, go to the Window Appearance section, click on
Customize and again put a checkmark on both Show front panel when
called and Close afterwards if originally closed.  This will open
and close the subVI's front panel every time it is called as a subVI.



Re: how do i get subpanel to blank when sub-VI finishes running

2004-06-18 Thread Michael.Johnson
Hi,

With Sub-Panels, there's no Sub-VI node to right-click on in the BD,
so that ruled that out 4 me...

I tried setting this behaviour for the VI in it's VI Properties, and
even though I've verified that the settings are there  set, when I
call it using the Sub-Panel it opens the FP, runs the VI, but when the
sub-VI finishes, the FP doesn't disappear...

I assume it's something to do with the SubPanel's way of calling it or
something?



Re: how do i get subpanel to blank when sub-VI finishes running

2004-06-18 Thread AbeStoker
Have you tried creating an invoke node for the subpanel and setting
the remove VI node?  That should, well, remove the current vi in the
subpanel.

Abe Stoker
Software Engineer
Sytronics, Inc.



Re: how do i get subpanel to blank when sub-VI finishes running

2004-06-18 Thread Michael.Johnson
Tried an invoke node using a shift register to close the FP of the
current sub-VI on the next iteration of my loop (i.e. when it's
finished)... had to create VI Ref constant to init shift register, and
this kept creating errors for me every time I tried to run the loop
when I called my sub-VI... unless I was generating the constant
incorrectly r something, don't think this is gonna work...

M.J.