09-28-2015 09:58 AM
Hi, I'm trying to do a program inside which I open a configuration panel (firt subVI). From this panel I need to open another panel (second subVI). When the second subVI is called, its front panel is showed backward the front panel of the first subVI, and there is no way to close neither of them (no one of them wroks after I open the second subVI). Which could be the problem? Is there something I have to configure differently for the second subVI?
Thanks in advance!
Solved! Go to Solution.
09-28-2015 10:00 AM
What do you mean by shown backwards? Can you attach a screenshot showing the problem? Even attach VI's that demonstrate it?
Without that, I don't know how we could ever help you.
09-28-2015 10:00 AM - last edited on 12-10-2024 06:13 PM by Content Cleaner
You're probably doing something weird with your dataflow with respect to the subVI. You'll need to share your code because it could be one of a million things causing the problem.
LabVIEW programming is based entirely on dataflow and parallelism. This is incredibly powerful and has lead to its success over the years (coupled with the graphical programming), but is usually one of the first things that new developers stumble over. The Highlight Execution feature is a great way to watch how your application utilizes dataflow.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
09-28-2015 11:10 AM
What are the display settings for the various subVIs? (VI properties...windows appearance).
Most likely SubVI #1 is modal whle SubVI #2 is not, for example.
09-29-2015 03:49 AM
Hi Biomed,
Is it possible for you to send us the code you're using?
I think the issue can be the VI properties, as well as some code inside the VIs that hangs for some reason, so, maybe looking at the code will solve the puzzle.
🙂
Have a nice day!
FBM
09-29-2015 05:38 AM - edited 09-29-2015 05:38 AM
@biomed87 wrote:
Hi, I'm trying to do a program inside which I open a configuration panel (firt subVI). From this panel I need to open another panel (second subVI). When the second subVI is called, its front panel is showed backward the front panel of the first subVI, and there is no way to close neither of them (no one of them wroks after I open the second subVI). Which could be the problem? Is there something I have to configure differently for the second subVI?
Thanks in advance!
Altenbach has probably caught the issue already, but if 1st VI is Modal it'll be showed in front of 2nd vi, disabling you from clicking and activiating it. Either make both Modal, none of them, or use property nodes to enable and disable modalarity. (heh, i just made that word up). 🙂
/Y