LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building executabe for PDA takes enourmous time or hangs

I have an application consisting of 30 VIs. The depth of hierarchy is 6 levels and the average size of the single VI is 100kB. The size of my application should not be a problem for the PocketPC?

The application runs well in the desktop PC and the compiler does not to indicate errors when the execution target is PocketPC2002 or the emulator. However, when I try to build the executable for the PocketPC (Tools->Build for PDA...) everything seems to be ok, VIs are listed and no errors.

What I am wondering is a looooooong build time. It takes 30 minutes to build this application in 1.6GHz desktop computer. I think it is far too much! I am planning to have an PDA application which might have over 200 VIs - I won't
even guess how much it takes to build that!

Does this kind of extreme long build time indicate some kind of problem in the application? When I run this application in PDA (final size of the exe is 2MB) it stops its execution immediately (it should display some analysis results).

Then I made some minor modifications to the application and now the build process did not end after 2 hours (I restarted).

I have updated the PDA toolkit to 7.0f1.

Any experiences of similar behavior?

thanks,

Wirer
0 Kudos
Message 1 of 3
(3,431 Views)
We had simular problems with our Pocket PC application. May I recommend that you try to keep your hierarchy as shallow as possible. Originally our application's hierarchy was 4 levels deep and consisted of 11 VIs. We change it so that it was only 2 levels deep and only used 7 VIs. This made the application run much faster and was able to build in half the time. It still does take a while to build though. Hope this helps at least a little.
0 Kudos
Message 2 of 3
(3,431 Views)
I tested with another application which also had a similar hierarchical structure (30 VIs with depth of 6) but VI sizes were much smaller (average of 30kB). To build this application took 'only' two minutes!

If the size or complexity of the VIs can affect to the build time this dramatically, it would be useful to have some kind of time approximation for the build process before its start. At minimum there should be an information field along the progress bar which indicates the VI under processing. Current 'progress bar' does not give any information of the state of the total progress and if the build takes a long time, a bored developer might think that its stucked.
0 Kudos
Message 3 of 3
(3,431 Views)