Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Node
  3. Virtual Comport Gets Hanged Randomly With GuruX Serial Media Over DLMS Protocol

Virtual comport gets hanged randomly with GuruX Serial media over DLMS protocol

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By securecss , 4 October, 2019
Forums
Gurux.Serial

Hi There,
We are facing problem of comport gets hanged.
At first instance meter gets connected on comport and reading completed successfully.
After some reading sessions, comport gets hanged randomly with GuruX Serial media over DLMS protocol.

Please share the solution if any.
Thanks in Advance...

Profile picture for user Kurumi

Kurumi

7 years 1 month ago

Hi,

Hi,

What programming language you are using? I believe that reason is not that COM port hangs. Reason is that meter don't reply. There is an inactivity timeout and if you don't ask anything for a while from the meter, meter closes the connection.

BR,

Mikko

securecss

7 years 1 month ago

Hi Kurumi,

Hi Kurumi,
Thanks for prompt reply.
1. The Programming language is C# .NET
2. Meter is on DLMS protocol.
3. Every request is initiated with connect request with meter.
4. Serial connection is made with MOXA n-port on rS485 channel.
5. When Comport gets hanged in application, then this comport is not accessible through other application also.

Profile picture for user Kurumi

Kurumi

7 years 1 month ago

Hi,

Hi,

I believe that the message is lost. What is the wait time? You can decrease it and try to re-send data.
I'm 100% sure that reason is not the serial port component.

BR,
Mikko

securecss

7 years 1 month ago

Did you mean wait time as

Did you mean wait time as something like "Readtimout" or "writetimeout" of serial media class.?

securecss

7 years 1 month ago

I mean, How to access and use

I mean, How to access and use the wait time.?

securecss

7 years 1 month ago

I found it , the WaitTime

I found it , the WaitTime value is 10 seconds.
What role is played by "WaitTime" in making serial connection on DLMS protocol and doing meter readings.
Now, what should be the correct value.?

Profile picture for user Kurumi

Kurumi

7 years 1 month ago

Hi,

Hi,

It's common that messages are lost when you are reading data from the meters.
Wait time depends on what kind of communication channel you are using.
If it's slow, the wait time must be bigger.

If the reply is not received from the meter in the given time, message is re-sent.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Thu, 11/19/2026 - 10:57
    Gurux.DLMS.Python 1.0.204
  • Thu, 11/19/2026 - 10:12
    gurux.dlms.c 9.0.2611.1901
  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101

New forum topics

  • Corado Perfect Cues (Servis stik billiard & Jual dan Beli Stik Biliiard) | WA 083148835648
  • Zetaverse Billiard | WA 083148835648
  • Tokobilliard.id Tobil | WA 083148835648
  • Victorian | WA 083148835648
  • ZY Billiard DERMAGA 79 | WA 083148835648
More

Who's new

  • Admin
  • Sayang
  • q80435762@gmail.com
  • ONCAK
  • Berhasil
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin