AdvancedHMI Software

General Category => Open Discussion => Topic started by: GraemeTownsend on July 19, 2018, 02:39:36 AM

Title: Random creation of EthernetIPforCLXCom when opening MainForm
Post by: GraemeTownsend on July 19, 2018, 02:39:36 AM
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.
Title: Re: Random creation of EthernetIPforCLXCom when opening MainForm
Post by: Phrog30 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.
Title: Re: Random creation of EthernetIPforCLXCom when opening MainForm
Post by: Godra on July 21, 2018, 03:16:54 PM
The attached DataSubscriber2 has that code section removed.
Title: Re: Random creation of EthernetIPforCLXCom when opening MainForm
Post by: GraemeTownsend on July 22, 2018, 07:47:28 PM
Thanks.