There is a strange problem that is the dirctor shows that the MaxInfoRx parameter is out of range when I try to connect the meter with HDLC protocol through serial. However, the problem don't happen in every time, and connecting the meter with Wrapper works fine.
The log is showing below:
GXDLMSDirector 8.2.2205.1801
Log created 3:59:34 PM
15:59:37 Initializing serial connection.
3:59:38 PM Send SNRM request.
7E A0 08 FE FF 0B 93 4D 70 7E
3:59:38 PM
7E A0 21 0B FE FF 73 7E FE 81 80 14 05 02 00 00 06 02 02 60 07 04 00 00 00 01 08 04 00 00 00 01 41 C0 7E
15:59:38 Parsing UA reply succeeded.
System.ArgumentOutOfRangeException: The specified parameter is out of range of valid values
Parameter: MaxInfoRX
At Gurux.DLMS.GXHdlcSettings.set_MaxInfoRX(UInt16 value)
At Gurux.DLMS.GXDLMS.ParseSnrmUaResponse(GXByteBuffer data, GXDLMSSettings settings)
At Gurux.DLMS.GXDLMSClient.ParseUAResponse(GXByteBuffer data)
At GXDLMSDirector.GXDLMSCommunicator.ParseUAResponse(GXByteBuffer data)
At GXDLMSDirector.GXDLMSCommunicator.InitializeConnection(Boolean force)
At GXDLMSDirector.GXDLMSDevice.InitializeConnection()
At GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)
It is really confusing me. Thanks for your reply in advance.
The meter returns that MaxInfoTX Value is zero, which is an invalid value. It basically means that the meter can't send any data. You should contact the meter vendor from this. I believe that if you reread the meter after a while this error doesn't occur.
Hi,
Hi,
The meter returns that MaxInfoTX Value is zero, which is an invalid value. It basically means that the meter can't send any data. You should contact the meter vendor from this. I believe that if you reread the meter after a while this error doesn't occur.
BR,
Mikko