LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write 2D Array linte by line on Pixmap

Hello,

I try to represent a 2d array of RGB samples aquisition, but have a problem i can´t resolve.
Basicly what i'm trying to do is write a 2D array (line by line) on a pixmap, the array's dimensions are 512x512.
And my problem is that, while the array is being wrote, the screen starts flashing...

I don´t know if it is the best solution to solve my question, but is the one i've found. It also seems to be slower  than i've expected.
Do you have any sugestions  on  how to make this process to be a bit faster?

I attach an example of my program for better understanding...

Thank you very much for your time,

Ferreiradb


0 Kudos
Message 1 of 2
(2,186 Views)
I can't try this out, since the "GB to Colour" vi was not included, but I think what's in the image will solve your problem.

It would have flickered because "Draw Unflattened Pixmap" was drawing each of the 512 array iterations.  This would also cause the associated slowdown.

Hope it helps.

Geoff


Message Edited by Novatron on 06-20-2006 08:10 PM

Message 2 of 2
(2,182 Views)