LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI takes long time to start

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

0 Kudos
Message 1 of 13
(4,191 Views)

HI 

Can you upload the snapshot of your block diagram or VI?

Regards

Santosh

0 Kudos
Message 2 of 13
(4,170 Views)

Here is the snapshot of the top VI block diagram. Thanks!

 

 

0 Kudos
Message 3 of 13
(4,149 Views)

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

 

Message Edited by SantoshJaiswal on 03-03-2009 07:55 AM
Message 4 of 13
(4,144 Views)

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

0 Kudos
Message 5 of 13
(4,139 Views)

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!

Alex Person
NI-RIO Product Support Engineer
National Instruments
0 Kudos
Message 6 of 13
(4,108 Views)

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

0 Kudos
Message 7 of 13
(4,085 Views)
Just to be sure I understand, does it take that long to start each time, or only after an edit change?
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 8 of 13
(4,073 Views)
Each time.
0 Kudos
Message 9 of 13
(4,070 Views)

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?

Stephen Meserve
National Instruments
0 Kudos
Message 10 of 13
(4,025 Views)