General Category > Support Questions

Null Reference Exception

(1/1)

Kasky:
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


Archie:
Check post 681 here:

http://www.plctalk.net/qanda/showthread.php?t=42656&highlight=driver+patch&page=46

Kasky:
Thank you!

Worked like a charm and I very much appreciate the quick response!

Kasky:
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

Navigation

[0] Message Index

Go to full version