03-02-2009 07:30 PM
Hello All,
I have a VI that takes ages (well, about 20 seconds) to start. When I press the arrow, it does nothing (arrow is not in 'running mode', the front panel's grid still there) for about 20 second before running normally.
I did put a probe at the very begining of the VI to be sure that nothing is running during these few seconds and like I suspected, it is not the case...
I'm using LabVIEW 8.2 for this project on a Windows XP computer. My other VI don't behave like this.
Some shared variables on use in this VI...
Anybody have ever seen this?
Thanks in advance!
Vincent
03-02-2009 10:13 PM
HI
Can you upload the snapshot of your block diagram or VI?
Regards
Santosh
03-03-2009 07:23 AM
Here is the snapshot of the top VI block diagram. Thanks!
03-03-2009 07:53 AM - edited 03-03-2009 07:55 AM
HI Vincent ,
Please find the below link
http://digital.ni.com/public.nsf/allkb/F903989390CC9902862569C40066EF8B
Do Mass compile of the vis that you are using.
Hope this helps, let me know if it works.
Regards
Santosh
03-03-2009 08:05 AM
Thanks for the suggestion...
All my VI's were already in 8.2 format... I tried the mass compile to be sure but it didn't do the trick.
I will continu my search.
Thanks again!
Vincent
03-04-2009 05:38 PM
Hi Vincent:
That definitely sounds like a frustrating issue. What is your application doing in those subVIs? Would you be willing to post your code for us to look at?
Another thing to look at is what the resource usage looks like on your computer when you start the program. Make sure nothing looks out of the ordinary there.
Sorry I can't be of any more help at the moment but hopefully we'll be able to resolve the issue with some more information!
03-06-2009 09:34 AM
Thanks Alex for your reply.
This project is pretty big so there is a LOT of subVI's about an hundred... I had the same problem with another project and I opened it this morning and it was working fine.
It's not so a big deal since it is just me in devellopment time and I deliver an executable to the customer. I have several version of labview install on my computer (7.1, 8.2, 8.5 and 8.6) so this is would be my guess.
I was only wondering if that could lead to any problem once the project is compiled as an executable.
Thanks for your help!
Vincent
03-06-2009 11:04 AM
03-06-2009 11:07 AM
03-09-2009 04:07 PM
Hi Vincent,
Whether or not this will be an issue in an executable form will be a mystery until we determine what is causing the problem.
Just a shot in the dark, have you tried to disable portions of your diagram to see if that solves any of the issues?