LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

viewing pictures in windows ME versus Windows XP

i am using picture function drawpoint.vi to colour a particular x,y co-ordinate. i use it in a loop so that i get a final picture where all x,y co-ordinates are coloured in different colours subject to different conditions.

although i have been able to get results, i have observed a peculiar issue. When this vi is run in windows ME each pixel gets coloured with a small circle of that colour.

On the other hand, using the same vi on a windows xp platform, the pixel gets coloured with a small vertical line of that colour.

why does this happen?
Please help!




Bhaskar
0 Kudos
Message 1 of 7
(2,902 Views)


@Bhaskar wrote:
i am using picture function drawpoint.vi to colour a particular x,y co-ordinate. i use it in a loop so that i get a final picture where all x,y co-ordinates are coloured in different colours subject to different conditions.

although i have been able to get results, i have observed a peculiar issue. When this vi is run in windows ME each pixel gets coloured with a small circle of that colour.

On the other hand, using the same vi on a windows xp platform, the pixel gets coloured with a small vertical line of that colour.

why does this happen?
Please help!




Bhaskar




I'm not sure I understand your problem. A pixel is a pixel is a pixel, a small dot on the screen really. The only reason I can think why you see what I believe you are trying to explain might be in different resolution or settings of the video card on those two systems and the resulting mismatch of the projected graphic pixels on the CRT dot mask grid. Unlike with LCD screens there is a difference between the screen dot mask and the actually generated video pixels, with the latter being possible to adjust, zoom and scale in any variation, resulting in non-square pixel appearence, especially since the three colors are really displayed seperate from each other too.

Rolf Kalbermatter
Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 7
(2,893 Views)
i am using both the operating systems on the same computer.
why is it that windows ME gives a small coloured circle for a particular (x,y) co-ordinate while windows xp gives a small vertical line .
the screen resolution for both operating systems is the same.


Bhaskar
0 Kudos
Message 3 of 7
(2,891 Views)


@Bhaskar wrote:
i am using both the operating systems on the same computer.
why is it that windows ME gives a small coloured circle for a particular (x,y) co-ordinate while windows xp gives a small vertical line .
the screen resolution for both operating systems is the same.


Bhaskar




No idea, really! On my notebook LCD each pixel is almost perfectly a simple square in every program I use. The video timing of your video card may be slightly different in those two OSes due to differences in used drivers, so that in one instance the displayed pixels happen to be a little left or right of the actual mask dots on the CRT screen, and in the other case they might be a little below or above of that mask. Take a magnifier glass and look at your screen with it!

Rolf Kalbermatter
Rolf Kalbermatter
My Blog
0 Kudos
Message 4 of 7
(2,887 Views)
I also want to confirm one more thing.
i am intialsing this picture as an empty picture bounded by points (x1,y1,x2,y2)
when i refer to a particular (x,y) in this picture, it implies that particular co-ordinate. Am i right in thinking that this co-ordinate represents a single pixel?

Bhaskar
0 Kudos
Message 5 of 7
(2,884 Views)
That is correct, the coordinate is a single pixel. The coordinate is in reference to the origin (upper left corner) of the picture.
Robert Mortensen
Software Engineer
National Instruments
0 Kudos
Message 6 of 7
(2,868 Views)
Why not post your VI and an image here.
George Zou
0 Kudos
Message 7 of 7
(2,859 Views)