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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2022-01-11
Post awaiting moderation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2023-04-25
Post awaiting moderation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
Also having this problem...
Unfortunatelly I don't have any VB.NET examples
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.