LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

My application built with application builder is loading slowly

I have an application I am building with the application builder ad on. After the build, the exe is loading extremely slowly. This is a program that I have compiled in the past and loaded in about 4 seconds. I made a few minor changes, but for some reason, it is taking about 45 seconds now to load. Does anyone have an idea what could cause this?
0 Kudos
Message 1 of 3
(2,542 Views)
I'm not sure why this might be happening. I haven't encountered this problem before. What are the minor changes you made to your application? What is the overall structure of your code, and what are you doing with it? Do you communicate with any eternal devices that might take a while to come on-line or sync with your program? Does it always take 45 seconds to load, or just after you have restarted the computer? What do you see as it is loading?
Robert Mortensen
Software Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,520 Views)
Are you using VISA? It might be doing a VISA initialisation when starting. Maybe you changed something to do with VISA calls. I've had this problem in the past, but I can't remember off hand how I got around it. The code's at my last job, so I can't check. Sorry.

Other problems may be saving the VI with large data sets set to default in indicators or controls which slow down the program loading, but this should be visible on the EXE size.

Hope this helps

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 3 of 3
(2,513 Views)