LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

colors are changed on the PDA

Hello all
I have LV8
I want to transfer the picture from my PC to PDA via TCP/IP
I have transfered picture to 2D array then send 2D array to PDA and transfer 2D array to picture.
But the colors was changed on the  picture of my PDA.
I had much red colors on the picture of my PDA
Why ?
Best regards
Iskander
 
0 Kudos
Message 1 of 15
(10,859 Views)
Hello all
I created the 3  tables with FF, FF00, FF0000 and then transfer to pda via TCP/IP
On the PDA I transfered tables to picture.
The red colors on the pictere is.
But instead of green  and blue colors I received black colors.
What do I do?
Best regards
Iskander
 
0 Kudos
Message 2 of 15
(10,784 Views)

Hi Iskander,

i think your PDA works with an other color table so you has to find out which color table is supported by it.

Mike

0 Kudos
Message 3 of 15
(10,780 Views)
I don't have any answers, but I do have more questions.  Does it look the same on the simulator?  It would help out if you could post a set of pictures (Windows vs PDA).

Thanks,
Bob Young

0 Kudos
Message 4 of 15
(10,768 Views)
Hi Iskander,
 
I believe that the problem is that LabVIEW stores colors as RGB values, whie Windows Mobile and Windows CE stores colors as BGR values.  This just means that the red and blue values are swapped.  The LabVIEW 8.5 PDA Module for Windows Mobile Known Issues article provides a workaround.  Please let me know if you have anymore questions.  Thanks!
0 Kudos
Message 5 of 15
(10,697 Views)

Hi Meghan M.

Thanks

I have a question

When I created the 3 arrayes FF, FF00, FF0000 and transfer its to picture ,- Why am I see only one picture RED but other picture are black color?

Respect

Iskander


 

0 Kudos
Message 6 of 15
(10,655 Views)


Iskander wrote:

When I created the 3 arrayes FF, FF00, FF0000 and transfer its to picture ,- Why am I see only one picture RED but other picture are black color?


My guess - the PDA module only supports 16 bit color (I know it used to) and it takes the lower bytes from 24 bit images, so the third array is 0000, which is black. This would also mean that the byte order is swapped, or FF and FF00 would not both be red.

___________________
Try to take over the world!
0 Kudos
Message 7 of 15
(10,490 Views)

Hi

Thanks all who answer me

The code for the red is FFFFFF

What are code for the green and blue colors for the PDA ?

Best regards

Iskander

0 Kudos
Message 8 of 15
(10,450 Views)

Hello all

Thanks for the attention

I found the color

Best regards

 

0 Kudos
Message 9 of 15
(10,369 Views)
Hello
I have a question
I created the VI for the PDA
And I have received the depth of the colors: 1 bit - 1 color
But PDA has  depth of the colors 65 000 colors
How can I create 65 000 colors  for the PDA ?
Regards
Iskander
 
0 Kudos
Message 10 of 15
(9,825 Views)