I have tried with the provided source.
As per reply #2, I have provided parameter as shown attached screenshot "SerialServer.png" and got the print as
"Logical Name DLMS Server in serial port COM33".
Then after I am trying to connect this using GXDLMSDIrector but it gives an error message "COM33" already in use.
So, How to use the serial c# server? Let me know I need to any other configuration.
IF you want to use serial connection port you need two serial port and then you connect them using serial port cable. The server is using other serial port and GXDLMSDirector is using the other.
You can't share one serial port between the server and client.
We tried a setup with just two ports with no communication between them via Server and GuruX client executable. So can you please give some brief idea for setting up the ports. Do we need to use virtual ports with twisted pair connection?
If you can use virtual ports it's ok. Just connect two ports together so when a client is send data to the port1 it's coming out from port2 and vice verse.
We used virtual COM ports and made connection between server client but when I tried to create a new connection server threw error that "Connection is permanently rejected. No reason is given." Do you have any idea on this?
I'm glad that you solve this. The amount of error codes is very limited in DLMS. A connection might fail if one of the parameters is wrong and there is not a clear solution to find out what parameter is invalid.
Hi,
Hi,
You can use csharp server example -S parameter gives serial port. Like this -S COM1
BR,
Mikko
Hi Mikko,
Hi Mikko,
Can you please provide link to download csharp server example ASAP.
Hi,
Hi,
https://github.com/Gurux/Gurux.DLMS.Net/tree/master/Gurux.DLMS.Server.E…
BR,
Mikko
Hi Mikko,
Hi Mikko,
I have tried with the provided source.
As per reply #2, I have provided parameter as shown attached screenshot "SerialServer.png" and got the print as
"Logical Name DLMS Server in serial port COM33".
Then after I am trying to connect this using GXDLMSDIrector but it gives an error message "COM33" already in use.
So, How to use the serial c# server? Let me know I need to any other configuration.
PFA.
Hi,
Hi,
IF you want to use serial connection port you need two serial port and then you connect them using serial port cable. The server is using other serial port and GXDLMSDirector is using the other.
You can't share one serial port between the server and client.
BR,
Mikko
Thanks Mikko.
Thanks Mikko.
Hi Mikko,
Hi Mikko,
We tried a setup with just two ports with no communication between them via Server and GuruX client executable. So can you please give some brief idea for setting up the ports. Do we need to use virtual ports with twisted pair connection?
Regards.
Hi,
Hi,
If you can use virtual ports it's ok. Just connect two ports together so when a client is send data to the port1 it's coming out from port2 and vice verse.
BR,
Mikko
Hi Mikko,
Hi Mikko,
We used virtual COM ports and made connection between server client but when I tried to create a new connection server threw error that "Connection is permanently rejected. No reason is given." Do you have any idea on this?
Regards.
Hi there,
Hi there,
We set same configuration and tried again with success.
Regards.
Hi,
Hi,
I'm glad that you solve this. The amount of error codes is very limited in DLMS. A connection might fail if one of the parameters is wrong and there is not a clear solution to find out what parameter is invalid.
BR,
Mikko