Skip to main content
Home
for DLMS smart meters

Main navigation

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

Breadcrumb

  1. Home
  2. Forums
  3. Meter Simulator Clock Tick and Profile Updates

Meter Simulator Clock Tick and Profile Updates

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 imand, 29 November, 2022
Forums
Gurux DLMS for Java

Hi Mikko,

We hope you're doing well.

The simulator has been very useful to us in development. We want to take it further and have it keep updating the profiles (load and billing). Is it possible to keep the clock ticking and then update the data registers in the profiles? We were thinking of doing this externally by sending clock and registers updates from client. But it might be more efficient to include this in the server (the meter).

Thanks,
Imand

Profile picture for user Kurumi

Kurumi

3 months 4 weeks ago

Hi,

Hi,

You can save current values by adding values that you want to save to capture objects and then invoke "Capture" or set Capture period.

https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSProfileGeneric

BR,
Mikko

imand

3 months 4 weeks ago

In reply to Hi, by Kurumi

Ok, will give that a try.

Ok, will give that a try.

Thanks Mikko.

Imand

imand

3 months 3 weeks ago

Hi Mikko,

Hi Mikko,

The template contains empty capture objects and buffers. In the Meter PreRead, we're capturing the profile objects if the index == 3. We initialized the objects to default values and then capture them. The client then starts reading each object (i.e register) in the profile. What should we be doing in the Meter side in this case?

After that, the client then reads the buffers. We see that the Meter returns both the old values (initialized values) and new values. We want to read only the new values. What should we do?

Thanks,
Imand

Profile picture for user Kurumi

Kurumi

3 months 2 weeks ago

Hi,

Hi,

You need to capture only the values that are in the capture object list. If it's empty you don't capture anything and return an empty array.

The client reads values from the buffer that it needs using read all, read by entry, or read by range methods. Check Reading data from the link below to get more information on how to access profile generic data.
https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSProfileGeneric

BR,
Mikko

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

Fri, 03/24/2023 - 14:22
gurux.dlms.c 20230324.1
Thu, 03/23/2023 - 11:01
GXDLMSDirector 9.0.2303.2301
Thu, 03/23/2023 - 09:10
Gurux.DLMS.Python 1.0.142
Wed, 03/22/2023 - 13:51
Gurux.DLMS.Net 9.0.2303.2201
Wed, 03/22/2023 - 10:15
gurux.dlms.c 20230322.1

Open bugs

Gurux.DLMS.AMI4
1
Gurux.DLMS.Android
1
gurux.dlms.c
3
gurux.dlms.cpp
3
gurux.dlms.delphi
1
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin