09-24-2010 01:00 PM
I am not really familiar with lv. I copied things from programs.
It looks al pretty good, but when I press enter, two sub vi's should close and in the main vi the stacked sequence should go to the last sequence and end the main.vi as well.
For some reason the subvi's doesn't close well and that is the reason the stacked sequences is not going to the last sequence.
Who know what I do wrong?
Rens
I attached the code I have right know.
Solved! Go to Solution.
09-27-2010 01:42 AM
Hi RvG,
thank you so much for your post on our forum. I wasn't able to run your VI's since some VI's from your user.lib folder were not attached. I made a simple example where I used the close front panel methode to close the main VI.
Best regards,
09-27-2010 04:18 AM
hi,
for me also it is not get open...
But what i think is. Some of your subVi is not getting terminate it's loop properly.
Thats why your last sequence not get execuited...
it is waiting to terminate the loop... use high light execuition to check where the vi waiing or execuiting...
then proceed accordingly...
<<Kudos are welcome>>
09-27-2010 06:14 AM
Other suggestion try using a global stop (If you are using while loops) and try stopping it...
09-27-2010 07:07 AM
It look likes one of the vi is not closing correctly. When I open the HMI VI when the program is running and exit is pressed I only see the front panel and I am not able to open the block diagram. Is there a tool how I can see which vi's are running? (other than checking with the high light execution).
best regards,
Rens
09-27-2010 09:56 PM
You can create break points and probes to watch the execution and result at a particular place... If your are not able to open the BD create a break point then it will automatically open.. Give a try...