Author Topic: Null Reference Exception  (Read 5217 times)

Kasky

  • Newbie
  • *
  • Posts: 9
    • View Profile
Null Reference Exception
« 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



Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI

Kasky

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Null Reference Exception
« Reply #2 on: April 10, 2013, 11:07:31 AM »
Thank you!

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

Kasky

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Null Reference Exception
« Reply #3 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