LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pda long build time

Hi!

I use LV 8.20 PDA Module and Windows Mobile 5 OS on PDA.
I have only three VIs in my program DAQmx base Start Task, DAQmx base Read and DAQmx base Stop Task.
It takes 10 minutes to built this VI, when I use non DAQmx Base functions built takes only 1-3 minutes.
Is that mormal or is something wrong with that?

Thanks,
andrej
0 Kudos
Message 1 of 5
(6,316 Views)

Dear andrej

You may think that 3min is a long time but let me tell you that my fisrt attempt was a PC application and I had 2 hours of compile time.
Ten rules to make a PDA application fast:

1) Avoid any kind of hirachy except it is impossible.
2) Don't open different windows. Use a TAB indicator instead and change the pages on demand by setting the tab value programaticaly.
3) Have all indicators and controls in one VI.
4) Do graphical actions only if nesseary. Avoid graphical updates if possible.
5) If you have to do graphical updates do it all at the same time.
6) Use a producer / consumer structure. Producer with the event structure and consumer with reactions on producer events.
    Use a queue to comunicate between producer and consumer.
7) Avoid tunneling data if possible.
😎 Avoid build array functions.
9) Avoid quotient and reminder functions.
10) If you have to call external code, than do it carefully and try to do as much as possible in C. If you have to collect data avoid several calls. Try to do it in one call.

I realy hope this may help you.

With kind regards

With kind regards

Martin Kunze

KDI Digital Instrumentation.com
e-mail: martin.kunze@digital-instrumentation.com
Tel: +49 (0)441 9490852
Message 2 of 5
(6,311 Views)
Andrej:
 
I just a PDA application that contained a DAQmx base Start Task, DAQmx base Read and DAQmx base Stop Task. It took about 4 minutes to build the executable. Are you saying that it takes you 10 mn to build the application or build and deploy ? Please clarify.
 
Regards,
 
Rudi N.
0 Kudos
Message 3 of 5
(6,272 Views)
Hi,

I ment build and deploy.

Regards,
andrej
0 Kudos
Message 4 of 5
(6,246 Views)

Andrej:

Could you please post the VI that you are deploying to the PDA so that I can test it on my end?

Thanks,

Rudi N.

 

0 Kudos
Message 5 of 5
(6,148 Views)