Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

why my application take longtime to load on Labview 6?

since I'm programming with labview 6, my application take too much time to load. The executable is wrost. Is there a solution to sort out this problem?
Thanks
0 Kudos
Message 1 of 4
(3,282 Views)
There is not going to be an easy answer for your question. Are you comparing load times to other versions of LabVIEW? What kind of computer are you using? Can you shut down virus scanners and other background programs? There are techniques for dynamically loading VIs when that part of the code is needed.

You might consider running a mass compile of all your VIs. This way LabVIEW will not take time to search for VIs when the top level VI is loaded. You can do this over night (or lunch) by opening LabVIEW >> tools >> advanced >> mass compile. To be thorough, you can mass compile c:\ but the directory of your VIs and the LabVIEW directory should be enough.
0 Kudos
Message 2 of 4
(3,282 Views)
Thank Jeremy for your help but I tried it but my application still very slow to load. Even the executable load slowly. The executable work properly but only problem is that it take long time to load. It was not like that with Labview 5.1.1.
Now , with the Version 6 of Labiew, I'm using VISA for serial and GPIB communnications. May be is the cause of the problem?
0 Kudos
Message 3 of 4
(3,282 Views)
I think this is normal behavior. LabVIEW 6.0 performs many more checks on VIs when they load than 5.1. Are you getting the searching for VI window when you load your main VI? Are we talking on the order of 10secs?

Because your VI loads and runs properly, I do not think there is a problem with the installation of LabVIEW. You would reinstall if you wanted to make sure. You could see how fast the code loads on another machine for a benchmark. You can also improve the overall performace of your computer by adding RAM. This would speed loading and reduce the amount of virtual memory in use.

Finally, you can always contact tech support at www.ni.com\ask. Be sure to send them a VI so that you can compare load speeds.
0 Kudos
Message 4 of 4
(3,282 Views)