LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Luminary Micro OLED screen updates so slowly.

I am evaluating the Luminary Micro LM3s8962 Eval Board using the LabVIEW for ARM toolkit. I have created a global variable that represents a 128x96 pixel image that I then write pixel by pixel to the OLED Screen. It takes over ten minutes to write the final image to the screen.
 
Why is it taking so long, Am I doing something completly incorrect?
 
Any help with this problem or to hear from anyone else evaluating this board would great.
 
I have attached my VI below:
 
 
0 Kudos
Message 1 of 3
(6,583 Views)
Hi phil_dal,
 
At a first glace, I see one minor change that could drastically inprove your screen update rate.  In your program, you have your innermost loop calling the Display Set Foreground subVI and the Display Draw Pixel subVI.  I would recommend not updating your screen after accessing each individual pixel.  (Wire a FALSE input into the Display Draw Pixel.)  You can then update your screen once after all the pixels have been loaded by using the Display Update VI.  Do this outside of both loops.
 
I hope this helps,
Kevin S.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(6,552 Views)

Kevin,

          Thanks for taking a look at this for me, your suggestion has certainly sped things up. It takes about 1 sec to write the image to the screen after power up.

Many thanks,

 

Phil

 



Message Edited by phil_dal on 07-14-2008 09:21 AM
0 Kudos
Message 3 of 3
(6,532 Views)