Menu

VB.net (Express 2015) - 'coilsChanged' is ambiguous

Anonymous
2016-10-07
2021-11-23
  • Anonymous

    Anonymous - 2016-10-07

    Hi,

    I trying to build a modbus server using VB.Net 2015 express edition. I have created a new project and added the easymodbus.dll file as a reference.

    I have one line of code in the form1_load sub to create an event handler for the coilsChanged event:

    AddHandler EasyModbus.ModbusServer.coilsChanged, AddressOf CoilsChangedHandler

    But I get the following error:

    'coilChanged' is ambigueous because multiple kinds of members thith this name exist in class 'ModbusServer'

    What am I doing wrong ?? Are there any Vb.net samples for a modbus tcp server?

    Thanks
    Kev

     
  • Anonymous

    Anonymous - 2018-02-14

    Also having this problem...

     
  • Rossmann Engineering

    Unfortunatelly I don't have any VB.NET examples

     
  • Alex Chan

    Alex Chan - 2021-11-23

    I have this similar problem using VS2019 vb.net. This is due to the case-sensitive in the holding register variable and class. Unless EasyModbus modify the variable name to some different, else, VB.net is not supported.

     
  • Anonymous

    Anonymous - 2022-01-11
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2023-04-25
    Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel