Author Topic: Random creation of EthernetIPforCLXCom when opening MainForm  (Read 1109 times)

GraemeTownsend

  • Newbie
  • *
  • Posts: 29
    • View Profile
Hi all,

Whenever I open the MainFrom.vb file, it will create an AdvancedHMIDrivers.EthernetIPforCLXCom item, (naming it EthernetIPforCLXCom1). Despite the fact there is already an instance of one there already, (with a project specific name).

I cannot work out why? There is no reference to it anywhere in the code. It's as if the MainForm feels that it needs to see one hen it opens and doesn't recognise the existing.
If I delete it, close and re-open MainForm.vb it comes back.
If I rename it, close and re-open MainForm.vb I get another one.

There are no other AdvancedHMI items on the MainForm apart from a DataSubscriber2 already linked to the EthernetIPforCLXCom.

Any idea's on what to look for?
Thanks.

Phrog30

  • Guest
Re: Random creation of EthernetIPforCLXCom when opening MainForm
« Reply #1 on: July 19, 2018, 06:39:17 AM »
I got tired of that, so I just went into the code and disabled the code that adds the comcomponent automatically. Not a fix, but one idea.

Godra

  • Hero Member
  • *****
  • Posts: 1438
    • View Profile
Re: Random creation of EthernetIPforCLXCom when opening MainForm
« Reply #2 on: July 21, 2018, 03:16:54 PM »
The attached DataSubscriber2 has that code section removed.

GraemeTownsend

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Random creation of EthernetIPforCLXCom when opening MainForm
« Reply #3 on: July 22, 2018, 07:47:28 PM »
Thanks.