Hi,
trying to connect to LandisGyr E650 over TCP, but it results in OutOfMemory Exception
I try combination of comm setting, but the result is the same
8.0.0.25
Log created 0:19:40
0:19:44 Initializing Network connection.
0:19:45 Send SNRM request.
7E A0 07 03 21 93 0F 01 7E
0:19:45 Received data
7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
0:19:45 Parsing UA reply.<CR><LF>81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01
0:19:45 Parsing UA reply succeeded.
0:19:45 Send AARQ request
7E A0 2B 03 21 10 FB AF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 02 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 1C 03 20 FF FF 80 AB 7E
0:19:45 Received data
7E A8 4E 21 03 30 6A 85 E6 E7 00 0C 81 CC 00 02 02 0F 00 16 FF 00 02 02 0F 00 16 FF 00 02 02 0F 00 16 FF 00 02 02 0F 00 16 FF 00 02 02 0F 00 16 FF 00 02 02 0F 00 16 FF 00 02 02 0F 00 16 FF 00 02 02 0F 00 16 FF 00 02 02 0F 02 16 FF 57 14 7E
System.OutOfMemoryException: Pro další provádění programu není dostatek paměti.
v GXDLMSDirector.GXDLMSDevice.InitializeConnection() v C:\Projects\GXDLMSDirector\Development\GXDLMSDevice.cs:řádek 421
v GXDLMSDirector.MainForm.Connect(Control sender, Object[] parameters) v C:\Projects\GXDLMSDirector\Development\MainForm.cs:řádek 931
Hi,
Please, create own thread. Data what you are sending in AARQ message is correct. Server and client addresses are also correct. Reply from meter is strange. If you read your meter again is reply same?
BR,
Mikko
Yes, reply is same. I tryed alse DLMS.net example - console aplication with exactly same result
I find out that when I dont close connection correctly, next time this exception is thrown. I have to open connection with another TCP client, send data to meter (7E A0 07 03 21 93 0F 01 7E), response is received OK, than I disconnect from server and Gurux is working OK again
your attention is a very interesting. This explain data. I believe that you was reading association view before you close connection. We have to think can we improve this to GXDLMSDirector.
Landis+Gyr E650 OutOfMemory exception
Hi,
Your data is really strange. We read with our meter without problems.
BR,
Mikko
Landis+Gyr E650 OutOfMemory exception
Hi,
Are you using serial port or TCP/IP connection? Do you have several meters on the same connection?
BR,
Mikko
I use TCP connection with one
I use TCP connection with one meter on network.
I find out that when I dont close connection correctly, next time this exception is thrown. I have to open connection with another TCP client, send data to meter (7E A0 07 03 21 93 0F 01 7E), response is received OK, than I disconnect from server and Gurux is working OK again
Landis+Gyr E650 OutOfMemory exception
Hi,
your attention is a very interesting. This explain data. I believe that you was reading association view before you close connection. We have to think can we improve this to GXDLMSDirector.
Thank you very much for sharing this information.
BR,
Mikko
I send email with attachments
I send email with attachments (screenshots + code) to [Admin removed email].