at Gurux.DLMS.GXByteBuffer.GetUInt32(Int32 index) in C:\Users\roman\source\repos\AmDlmsReader3\Gurux.DLMS\GXByteBuffer.cs:line 619
at Gurux.DLMS.GXByteBuffer.GetUInt32() in C:\Users\roman\source\repos\AmDlmsReader3\Gurux.DLMS\GXByteBuffer.cs:line 410
at Gurux.DLMS.GXDLMS.HandleGetResponseNextDataBlock(GXDLMSSettings settings, GXReplyData reply, Int32 index, GXByteBuffer data) in C:\Users\roman\source\repos\AmDlmsReader3\Gurux.DLMS\GXDLMS.cs:line 4328
at Gurux.DLMS.GXDLMS.HandleGetResponse(GXDLMSSettings settings, GXReplyData reply, Int32 index) in C:\Users\roman\source\repos\AmDlmsReader3\Gurux.DLMS\GXDLMS.cs:line 4290
at Gurux.DLMS.GXDLMS.GetPdu(GXDLMSSettings settings, GXReplyData data) in C:\Users\roman\source\repos\AmDlmsReader3\Gurux.DLMS\GXDLMS.cs:line 4907
at Gurux.DLMS.GXDLMS.GetData(GXDLMSSettings settings, GXByteBuffer reply, GXReplyData data, GXReplyData notify) in C:\Users\roman\source\repos\AmDlmsReader3\Gurux.DLMS\GXDLMS.cs:line 5598
// index = 4
// Size = 7
public UInt32 GetUInt32(int index){
if (index + 4 > Size) {
throw new System.OutOfMemoryException();
}
Your meter is returning an invalid PDU and frame. I believe that the meter doesn't support profile generic reading by entry. Try to read by range using start and end time.
I was able to read load profile by entry from another meter of the same model.
Another meter (same model) replies with data block, but this one expects another frame.
It seems to be somehow related to MaxInfoTX/MaxInfoRX. Another meter has both values higher than 40, this one does not allow to change them and always uses 10 and 44.
Is there a reason why MaxInfoTX and MaxInfoRX min value is limited to 32 in the library? Can it be/ will it work with a smaller value?
Thanks for the help. There was some glitch as meter was constantly using "10" instead of the actual value defined in HDLC framing settings. After rewriting it the issue was resolved.
Hi, Your meter is returning…
Hi,
Your meter is returning an invalid PDU and frame. I believe that the meter doesn't support profile generic reading by entry. Try to read by range using start and end time.
BR,
Mikko
Hello, I also noticed that…
Hello,
I was able to read load profile by entry from another meter of the same model.
Another meter (same model) replies with data block, but this one expects another frame.
It seems to be somehow related to MaxInfoTX/MaxInfoRX. Another meter has both values higher than 40, this one does not allow to change them and always uses 10 and 44.
Is there a reason why MaxInfoTX and MaxInfoRX min value is limited to 32 in the library? Can it be/ will it work with a smaller value?
Hi, DLMS standard defines…
Hi,
DLMS standard defines that minimum size for MaxInfoTX and MaxInfoRX is 32 bytes.
BR,
Mikko
Thanks for the help. There…
Thanks for the help. There was some glitch as meter was constantly using "10" instead of the actual value defined in HDLC framing settings. After rewriting it the issue was resolved.