Hi Guys,
I have the Brultech ECM1240 installed and experimentally charting our 240VAC 80A incoming supply and a 20A subpanel supply. It works tremendously well and when coupled with Tenholde's excellent tenecmserver application it is a great addition to my home automation and monitoring setup.
Our main day to day laptop is a 2008 Toshiba Satellite (Core 2 Duo/3GB RAM/Vista SP1) which I cannot get the tenecmcharts application to work on. It is working on all the other XP machines on my network. Tenecmcharts will stop immediately after startup with an error message "Font Arial does not support style regular"....
Its probably a Vista issue, but here it is anyway in case I am missing something:
************** Exception Text **************
System.ArgumentException: Font 'Arial' does not support style 'Regular'.
at System.Drawing.Font.CreateNativeFont()
at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style, GraphicsUnit unit)
at ZedGraph.FontSpec.Remake(Single scaleFactor, Single size, Single& scaledSize, Font& font)
at ZedGraph.FontSpec.Init(String family, Single size, Color color, Boolean isBold, Boolean isItalic, Boolean isUnderline, Color fillColor, Brush fillBrush, FillType fillType)
at ZedGraph.Legend..ctor()
at ZedGraph.PaneBase..ctor(String title, RectangleF paneRect)
at ZedGraph.GraphPane..ctor(RectangleF rect, String title, String xTitle, String yTitle)
at ZedGraph.GraphPane..ctor()
at tenChartEngine.EcmChart.CreateRealtimeChart(SortedList`2 Data)
at tenEcmCharts.frmMain.GenerateChart()
at tenEcmCharts.frmMain.ProcessEcmPackets(String p)
at tenEcmReceive.tenEcmReceive.ReceivedCallback(Object s)
If anyone has any ideas on what is causing this fault, please let me know....
Cheers
Andrew
I have the Brultech ECM1240 installed and experimentally charting our 240VAC 80A incoming supply and a 20A subpanel supply. It works tremendously well and when coupled with Tenholde's excellent tenecmserver application it is a great addition to my home automation and monitoring setup.
Our main day to day laptop is a 2008 Toshiba Satellite (Core 2 Duo/3GB RAM/Vista SP1) which I cannot get the tenecmcharts application to work on. It is working on all the other XP machines on my network. Tenecmcharts will stop immediately after startup with an error message "Font Arial does not support style regular"....
Its probably a Vista issue, but here it is anyway in case I am missing something:
************** Exception Text **************
System.ArgumentException: Font 'Arial' does not support style 'Regular'.
at System.Drawing.Font.CreateNativeFont()
at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style, GraphicsUnit unit)
at ZedGraph.FontSpec.Remake(Single scaleFactor, Single size, Single& scaledSize, Font& font)
at ZedGraph.FontSpec.Init(String family, Single size, Color color, Boolean isBold, Boolean isItalic, Boolean isUnderline, Color fillColor, Brush fillBrush, FillType fillType)
at ZedGraph.Legend..ctor()
at ZedGraph.PaneBase..ctor(String title, RectangleF paneRect)
at ZedGraph.GraphPane..ctor(RectangleF rect, String title, String xTitle, String yTitle)
at ZedGraph.GraphPane..ctor()
at tenChartEngine.EcmChart.CreateRealtimeChart(SortedList`2 Data)
at tenEcmCharts.frmMain.GenerateChart()
at tenEcmCharts.frmMain.ProcessEcmPackets(String p)
at tenEcmReceive.tenEcmReceive.ReceivedCallback(Object s)
If anyone has any ideas on what is causing this fault, please let me know....
Cheers
Andrew