LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Elliptical gauges instead of circular gauges

Solved!
Go to solution

I am using LV2009 on a WIN_XP Pro machine.

 

The monitor is a Dell 17" LCD type running at 1024 x 768 resolution.

 

Whenever I try to place a Gauge on the FP, it always turns out elliptical. ( Extended widthwise ) I have tried all possible to make the gauge round but have failed.

 

In properties I have tcicked the " Maintain window proprotions for different resolutions ". In fact the VI that I developed in this PC  displays correctly when I open it in my laptop set for 1280 x 800.

 

Is this a Dell monitor problem ? ANy hints to show my gauges circular instead like eggs ??

  

 

 

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 1 of 28
(3,941 Views)

What is the aspect ratio of your monitor?  Is is widescreen (16:9 or 16:10) or standard screen (4:3)?  1024x768 is a standard screen resolution (1.333x or 4:3).  1280 x 800 is a wide screen resolution (1.6 or 16:10).  If you have a widescreen monitor and set the resolution for one designed for a standard screen, the objects will look wide on the screen.

 

You need to go to your Windows video driver settings an pick a more appropriate resolution.  Try setting your PC resolution to 1280 x 800.

Message 2 of 28
(3,921 Views)

Raghunathan wrote:

I am using LV2009 on a WIN_XP Pro machine.

 

The monitor is a Dell 17" LCD type running at 1024 x 768 resolution.

 

Whenever I try to place a Gauge on the FP, it always turns out elliptical. ( Extended widthwise ) I have tried all possible to make the gauge round but have failed.

 

In properties I have tcicked the " Maintain window proprotions for different resolutions ". In fact the VI that I developed in this PC  displays correctly when I open it in my laptop set for 1280 x 800.

 

Is this a Dell monitor problem ? ANy hints to show my gauges circular instead like eggs ??

 

 

 


UNtick the "Maintain Windows proportions..." in the VI properties.

 

This is what the help file says:


 

  • Maintain proportions of window for different monitor resolutions—Resizes the VI so it takes up approximately the same amount of screen space when opened on a computer with a different monitor resolution. Use this control in conjunction with scaling one or all the objects on the front panel.

 You DON'T want this to happen.  This will stretch the window.

 

Bill

Message Edited by billko on 09-15-2009 03:57 PM
Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 28
(3,903 Views)

billko wrote:

UNtick the "Maintain Windows proportions..." in the VI properties.

 

This is what the help file says:


 

  • Maintain proportions of window for different monitor resolutions—Resizes the VI so it takes up approximately the same amount of screen space when opened on a computer with a different monitor resolution. Use this control in conjunction with scaling one or all the objects on the front panel.

 You DON'T want this to happen.  This will stretch the window.

 

Bill


Even if you did want this to happen, (and I can't think of a situation where I would want it to happen), it won't help you any way.

 

It will scale the objects, but it will be a proportional scaling.  It isn't going to turn elliptical objects into circles or vice versa.

0 Kudos
Message 4 of 28
(3,890 Views)

Ravens Fan wrote:

billko wrote:

UNtick the "Maintain Windows proportions..." in the VI properties.

 

This is what the help file says:


 

  • Maintain proportions of window for different monitor resolutions—Resizes the VI so it takes up approximately the same amount of screen space when opened on a computer with a different monitor resolution. Use this control in conjunction with scaling one or all the objects on the front panel.

 You DON'T want this to happen.  This will stretch the window.

 

Bill


Even if you did want this to happen, (and I can't think of a situation where I would want it to happen), it won't help you any way.

 

It will scale the objects, but it will be a proportional scaling.  It isn't going to turn elliptical objects into circles or vice versa.


Really?  The reason why I suggested that is because A typical Dell 17 inch monitor is going to be 4:3 ratio so 1024x768 would seem like a reasonable screen size.  I don't have two monitors of different ratios to experiement with, but to me this would seem to be plausible.  The VI would resize itself proportionally to do a "best fit," but doesn't take into the account the display might be a different aspect ratio.  I don't really know how LabVIEW does it's magic.  I'm just guessing.

 

I'm not saying what I think is true - I'm just writing down my thought process so you can see why I thought it might be the case.

 

Bill

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 28
(3,885 Views)

Ravens,

 

I don't suppose the aspect ratio is a problem.

 

When I view a application on a 16:10 monitor, that was developed on a PC with 4:3 aspect ratio display, I just get more blank space to either side of the application. Typically web pages are done for 800 x 600 and when I view it on my Notebook that has a 16:10 ratio, this is what normally happens. So is the case with LV applications. Never do the objects loose THIER native aspect ratio.

 

 But this does not seem to be the case with the DELL monitor. What I am trying to say to say is not about porting from another PC. I am simply not able to get round gauges on the DELL monitor even if open a blank VI and place a new gauge on it  !

 

So obviously unticking the "Maintain proportion ...." field also does not help.

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 6 of 28
(3,874 Views)

How is it not an aspect ratio problem if putting a nice new round gage shows up as an ellipse on that PC/monitor combination? 

 

I'm not talking about moving the application from one PC to another.

 

I'm talking about setting your screen resolution to a ratio that doesn't match the aspect ratio of your monitor.  Moving the application to another PC/monitor combination and not seeing a problem proves it is not a LabVIEW problem.

 

It is a mismatch between your native monitor resolution and video display settings.  It has nothing to do with LabVIEW and nothing to do with those resolution, scaling VI property settings.  (As I said, I didn't thikg messing with them would work even if that was something you wanted to use.)

 

Here is how you can know for sure.

1.  Open up MS Paint.

2.  Pick the circle tool.

3.  Hold down the shift key while dragging across the screen.  That will form a perfect circle in Paint.

4.  Does it look like a circle or an ellipse?

 

I bet it looks like an ellipse.

 

What is the aspect ratio of your 17" Dell monitor?  Is it an LCD or CRT monitor?  Is it widescreen or standard aspect ratio?  You haven't answered these questions.  Try changing the resolution in your video driver settings to something that has the same ratio as the aspect ratio.  If you can't, try updating your video driver.  Also look at the onscreen controls of your monitor, perhaps there is a problem in one of those menu settings.

 

 

Message 7 of 28
(3,867 Views)

I had similar problem when I was printing some pictures copied into Microsoft Word. I see them properly on my screen, but when i print i get compressed or out of shape images.

 

Then i tried to place a circle and checked its height and width in properties window, it was showing different numbers...but it looked like circle only on my screen......

 

Same thing is happening here.....you place a guage and check its "height and width" in properties window..enter same number in both of them...and see ....you will an ellipse on your monitor .......

 

you have to change settings in your monitor only...........

Anil Punnam
CLD
LV 2012, TestStand 4.2..........
0 Kudos
Message 8 of 28
(3,856 Views)

I'm curious to know how everything else is being displayed on the Dell 17" screen.  Also, if you could provide us with hardware specifics, we'd be better able to help you.  🙂

Is the monitor standard or wide screen (I'm guessing standard).

 

What is the monitor attached to?  (If it's attached to a wide-screen laptop, we might have issues.  The same thing if it is part of a two-monitor system of any sort.)

 

Thanks for being patient.

 

Bill

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 9 of 28
(3,822 Views)

Hi,

 

Like others, I'm sure that the problem is due to the monitor settings, and a wide/narrow screen effect, a bit like looking at a standard width TV signal filling a wide-screen television which stretches the picture out horizontally.

 

The PC setting you have is effectively gives a narrow-screen signal, so you monitor needs to be narrow screen to get a correct picture

 

If the signal and the monitor are different, the effect is that you pixels are no longer square, but are elongated in oe direction or the other. A circle has the same number of pixels in both directions, but if your pixels are elongated in obe direction, so will your circle.

 

Try measuring the picture height and width. With the monitor resolution you're using, the width:height ratio should be 4:3. If it isn't your pixels won't be square and the picture will be stretched. A wide-screen monitor would stretch in the horizontal direction. You'll need to alter the monitor, or PC display settings until the height:width ratio is the same on both the PC and the screen.

 

Rod.

 

Message 10 of 28
(3,807 Views)