Text Gauge Zero Width UAE - PowerVision 2.8.10546(OEM)

robsinglehurst
Posts: 54
Joined: Fri Dec 12, 2014 6:57 am

Text Gauge Zero Width UAE - PowerVision 2.8.10546(OEM)

Post by robsinglehurst » Wed Jan 04, 2017 8:35 am

If I reduce the Width of a Text Gauge to 0 in PageDesigner I will get the following Unhandled Exception Error and PowerVision quits (bit of a shame if you've done more than a little bit of work without saving! ;)
This is not config specific.

>>>>>

Error Message:

Stack empty.

PowerVision Configuration Studio Version:

2.8.10546

Environment:

Microsoft Windows NT 6.1.7601 Service Pack 1 Is64Bit: True

Error Location:

at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Stack`1.Pop()
at PowerVision.ObjectModel.GaugeInformation.PositionedObject.DrawWidget(DrawingEngine drawingEngine)
at PowerVision.ObjectModel.GaugeInformation.Page.PowerVision.ObjectModel.GaugeInformation.IGaugeContainer.Draw(DrawingEngine drawingEngine)
at PowerVision.ObjectModel.GaugeInformation.RenderingEngine.DrawingSurface.OnRender(DrawingContext drawingContext)
at System.Windows.UIElement.Arrange(Rect finalRect)
at PowerVision.ObjectModel.GaugeInformation.RenderingEngine.DrawingSurface.Render(IGaugeContainer page, DrawingEngine engine)
at PowerVision.ObjectModel.GaugeInformation.RenderingEngine.DrawingEngine.GetScreenImage(IGaugeContainer gaugeContainer)
at PowerVision.WindowsClient.GaugeInformation.GaugeContainerDesigner.RegenerateScreenData()
at PowerVision.WindowsClient.GaugeInformation.GaugeContainerDesigner.redrawTimer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

<<<<<
Rob Singlehurst
Design Engineer

Briggs Irrigation
Boyle Road
Corby
Northants.
England
UK
boyce
Enovation Controls Development
Enovation Controls Development
Posts: 322
Joined: Wed Sep 08, 2010 5:09 pm

Re: Text Gauge Zero Width UAE - PowerVision 2.8.10546(OEM)

Post by boyce » Wed Jan 04, 2017 2:38 pm

Thank you for providing the information about the bug. I did confirm it here and will enter a bug in the backlog. We will get if fixed but it will probably be a lower priority.

Thanks again, and sorry for your inconvenience.
Boyce Schrack
Enovation Controls
robsinglehurst
Posts: 54
Joined: Fri Dec 12, 2014 6:57 am

Re: Text Gauge Zero Width UAE - PowerVision 2.8.10546(OEM)

Post by robsinglehurst » Wed Jan 04, 2017 3:05 pm

Thanks Boyce,
Rob Singlehurst
Design Engineer

Briggs Irrigation
Boyle Road
Corby
Northants.
England
UK