LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI loads slowly on 7.1.1

I'm using LabView 7.1.1 still, luckily we're in the process of upgrading to 8.6 though. My problem is that my vi is loading up very slowly. I'm running for protocol converters in parallel. I'm also using a few references, nothing graphically intensive though. I was able to run the vi successfully when most of the subvi's were not in re-entrant mode. Once i put all of the vi's i needed to be in re-entrant mode, the main vi started to take a very long time to load. It also takes a long time to run after pressing the run button. We've had this issue on another vi, which is more graphically intensive than the vi i referred to above, and uses references for the graphics of multiple running circuits and has vi's in re-entrant mode. Let me know if there anything i can do to improve this issue and what exactly is causing this issue. I've also tried changing the Preferred Execution System so that the info routes to different areas and that didn't help with the slow run-time. Thanks.
0 Kudos
Message 1 of 5
(2,993 Views)

First figure out what is making it slow. The most common reason is that you are using more physical memory than is presne in your machine. changing VI to re-entrant when they don't have to be will only make it worse!

 

Also put the priority and prefered exe systems back to their defaults. The execution system is another place where finger poking will only make things worse.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 5
(2,990 Views)

Syna,

 

Ben's right - each reentrant subVI will it's own space in the program's memory space, and therefore will take longer to load. Otherwise, Labview will make one copy of the VI and treat it as a shared resource. 

Are you using an older computer to run this program? Are you doing any kind of initialization routines when your application runs? Is there any data acquisition involved?

 

 

 

Misha
0 Kudos
Message 3 of 5
(2,960 Views)

Mishkin,

 

I do initialize a few variables at the start of the program. I am also doing data acquisition with this program.

0 Kudos
Message 4 of 5
(2,955 Views)

Hi Syna,

 

It isn't a mystery that the slow behavior can be caused by a variety of factors. Is this the only application that takes a long time to open or do you see this behavior with other applications as well? Has it always been slow to load or become so only recently? Is this particular application much bigger in size than others? Is Labview already open before you open the VI? 

 

Other things to consider: 


In any case, I'm glad you're looking towards upgrading to 8.6!
Misha
0 Kudos
Message 5 of 5
(2,929 Views)