LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Appliaction takes too long to load

I have a rather large application with 200+ sub vis. I need to distribute this executable using application builder. On a system with 128Mb RAM running Windows 2000, the application started up in 20-30 secs. I sent it to a customer , running XP, AMD processor (equiv. Pentium 4) 256Mb RAM and it took 2 min. to load the first time he ran it. Subsequently, it was quick after that (all sub vis in memory).
What kinds of things should I look for in troubleshooting this?
0 Kudos
Message 1 of 4
(2,974 Views)
Hy Mike,
I had a similar problem with my application.
I resolve by optimize the array,property node,grafical object(graph exc.).
Also i have build a loader(regard VI server technology) in main application and just when i called this with run method it go in memory.
If you want more information, you must explain your structure program.
Nicola
Bytelabs.it
0 Kudos
Message 2 of 4
(2,974 Views)
Hi Nicola:
Thank you for your response. I will try to summarize the design and problem below:
* The main vi is a Queue based state machine with 2 processing loops. The 1st loop runs the state machine, the second has an event structure to capture any user action.
* There are many sub vis (almost 300 now) but only two are queue based state machines.
* Each of the controls and indicators on the front panel have a reference which are bundled into logical groupings (clusters) and sent to the shift registers of the main Q state machine.
* There are two waveform graphs, one multiselect listbox that sit on a tab control on the main front panel. These get updated via the above mentioned references.
Problem Overview:
I have a windows 2000 system that I uninstall
ed all National Instrument drivers, labview development software and then installed my application. All seemed to load in a reasonable amount of time.
When I sent it to a customer who was running XP on a AMD processor with 256M RAM they said the initial startup took 2 min.
When I first develpoed the application I used a loader but I thought now that there are so many sub vis, it would be too much overhead. Will a loader actually speed up the vi loading process??
Thanks,
Mike
0 Kudos
Message 3 of 4
(2,974 Views)
Hi,Mike
Ok but if you have problem in loading of application,is possible (2min is very too large). I think with your system is impossible this crash.
Two idea i propose:
Scandisk,minimize the VI in memory during the loading.
The loader is fast in loading.
You have try to configure the multiple thread?
Another detail,have you performed your VI's in User Interface for the Main VI and Other thread for aquisition VI and other?
Sorry but i don't have other suggest.
Nicola
Bytelabs.it
0 Kudos
Message 4 of 4
(2,974 Views)