LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Benchmark the graph speed on PDAs

Still to illustrate the fact that the rate-limiting step is the building of the picture string, here is a different version of the vi, able to draw 1000 lines in 25 ms on an Acer 50.
You can choose between 3 modes : call to subvis, flat (no subvi), optimized. The execution time goes from 230 in the two first modes down to 25 ms using the optimized mode.

I have to create an application where hand-drawing will be an essential step. However, the drawing tools are really scarce on LV PDA. For instance, how can I display a jpg image, or convert a pict into an array ?

Chilly Charly    (aka CC)
Message 21 of 22
(799 Views)
Very nice. Smiley Wink

Call SubVI and Flat runs at about 200ms the first run, then consistantly at 50ms.

Optimized is just consistant at 20ms.

If I make one change to the VI, I can cut 10ms off all three modes.

Move the conversion to I16 into the For loop that generates the ramdom numbers so that the array that gets built is an I16 array. This probably helps memory allocation a bit by only having to build the one array instead of having the convert it when it's needed.

Ed






Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 22 of 22
(795 Views)