Fairly often I get an unhandled exception error message, along with a white circle and red "X" through my compact gauge. If I close out the form and reopen, sometimes it takes multiple times, it finally works fine. Using 3.99w, ModBusRTU. Driver Log file is attached in case it's helpful, I see the "send" has more data than the "receive" and the data doesn't match, but don't know what that means. Does the max read group size have anything to do with this perhaps, I have it set at 50 for the log noted as such? I changed that and the pollrate override to 0 and 5 respectively. I changed the baud rate on the driver to match on the computer side in my device manager settings. I'm suspecting it could be the PLC performance, but any other ideas or ways to match the HMI to what the PLC can do? Thanks!
The full part of the exception text reads:
System.ArgumentException: Parameter is not valid.
at System.Drawing.Graphics.set_Transform(Matrix value)
at MfgControl.AdvancedHMI.Controls.MeterCompact.DrawNeedle(Graphics g, Single angle, Int32 cx, Int32 cy)
at MfgControl.AdvancedHMI.Controls.GaugeCompact.PaintActiveContent(Graphics g)
at MfgControl.AdvancedHMI.Controls.MeterCompact.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)