08-13-2013 11:08 AM
I have a subvi that suddenly decided to show itself even when instructed not to. What kinds of things would cause this?
Thanks!
Solved! Go to Solution.
08-13-2013 11:09 AM
Code inside the subvi, outside code with vi ref and invoke node, Call setup (r-click the dropped sub-vi), or VI properties.
/Y
08-13-2013 11:16 AM
@billko wrote:
I have a subvi that suddenly decided to show itself even when instructed not to. What kinds of things would cause this?
How did you "instruct it not to"?
In addition to Yameada's points above: Does the VI have a breakpoint or is set to suspend when called?
08-13-2013 11:56 AM
@altenbach wrote:
@billko wrote:
I have a subvi that suddenly decided to show itself even when instructed not to. What kinds of things would cause this?
How did you "instruct it not to"?
In addition to Yameada's points above: Does the VI have a breakpoint or is set to suspend when called?
What I meant was, it was originally set to the default setting (don't display the front panel when called) and when I noticed it suddenly happening, I tried custom settings and specifically told it not to.
08-13-2013 11:57 AM
@Yamaeda wrote:
Code inside the subvi, outside code with vi ref and invoke node, Call setup (r-click the dropped sub-vi), or VI properties.
/Y
I never thought about the call setup. Let me check that out - although it's weird that it suddenly started happening, maybe I changed it somehow accidentally.
08-13-2013 12:17 PM
The node setup on the caller is set not to show the front panel, and the breakpoint manager reports no breakpoints in the entire project.
Could an error condition of some sort cause this? I didn't write the code and there's plenty to dislike about it. 😞
08-13-2013 12:19 PM - edited 08-13-2013 12:20 PM
Does it still do it if you place the subVI into a new, blank VI? If so, can you attach the subVI?
08-13-2013 12:46 PM
@altenbach wrote:
Does it still do it if you place the subVI into a new, blank VI? If so, can you attach the subVI?
Hi, Alt:
It seems to work fine when placed into a new VI.
08-13-2013 12:55 PM - edited 08-13-2013 12:56 PM
I don't see anything unusual. Do you have a "*.sep" file?
Which of the subVIs is popping the panel in your case?
08-13-2013 02:11 PM
billko wrote:It seems to work fine when placed into a new VI.
Then it is your calling VI. If you right-click on your subVI call, there is a subVI node setup. Make sure the "Show front panel when called" is unchecked.