AdvancedHMI Software

General Category => Support Questions => Topic started by: Kasky on April 10, 2013, 09:01:45 AM

Title: Null Reference Exception
Post by: Kasky on April 10, 2013, 09:01:45 AM
I'm using the Modbus/TCP comm driver and with just a simple panel meter for the application.

I am able to read a single memory location and display it's changing value in the panel meter for approximately 10 seconds or so then I get the Null Reference Exception.

Is this a known issue? Any suggestions on what I might try?

Thank you


Title: Re: Null Reference Exception
Post by: Archie on April 10, 2013, 10:17:21 AM
Check post 681 here:

http://www.plctalk.net/qanda/showthread.php?t=42656&highlight=driver+patch&page=46
Title: Re: Null Reference Exception
Post by: Kasky on April 10, 2013, 11:07:31 AM
Thank you!

Worked like a charm and I very much appreciate the quick response!
Title: Re: Null Reference Exception
Post by: Kasky on April 30, 2013, 11:29:44 AM
With page 2 already created I tried placing a new control (DigitalPanelMeter) on page two and addressing it to a known working address and got nothing.

The I placed a new Modbus/TCP control on page two, set it up identical to the one already on the main page except for the name of course and now I get the same NullReferenceException I was getting before I applied the patch. The error only happens when I go to page 2.

Thank you