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. Forums
  3. Can I Use Server Example Application In The Place of Actual Device?

Can I use server example application in the place of actual device?

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 pradson , 5 November, 2020
Forums
Gurux.DLMS

Hi Mikko,

I have integrated "Gurux.DLMS.cpp-master/GuruxDLMSClientExample" in my project. This application reads information periodically (interval basis like every 1 second or 2 seconds) from the meter. I want to test this client application with 1000+ actual devices but I have only 2 devices. Can I use "Gurux.DLMS.cpp-master/GuruxDLMSServerExample" application instead of actual device without any challenges?

Kindly suggest me asap.

Thanks & Regards,
Pradson

pradson

4 years 5 months ago

Hi Mikko,

Hi Mikko,

Hope you are doing well.

Mikko, is any update regarding release of DLMS simulator C++ version ?

Regards,
Pradson

Profile picture for user Kurumi

Kurumi

4 years 5 months ago

Hi,

Hi,

Not yet. Clients are keeping us busy with ECDSA. It's coming, but I can't say the exact day when it's released.

BR,
Mikko

pradson

4 years 4 months ago

Hi Mikko,

Hi Mikko,

Hope you are doing well.

I am using C# DLMS simulator version and I am not familiar with C#. Still I am unable to write dynamic values into the profile generic buffer. That's the reason I am getting static values from the simulator.

Where and how shall I write code so that I could get dynamic values from the profile generic buffer?

Kindly suggest.

Thanks & Regards,
Pradson

Profile picture for user Kurumi

Kurumi

4 years 4 months ago

Hi Pradson,

Hi Pradson,

The new row is added for the profile generic buffer when you call "Capture".
The simulator will automatically loop all current values and save them to the new row.
Check this from GXDLMSDirector Profile Generic UI. Just add Capture objects and press "Capture".

BR,
Mikko

pradson

4 years 4 months ago

In reply to Hi Pradson, by Kurumi

Hi Mikko,

Hi Mikko,

Thanks for reply. Actually, I am able to read buffer of profile generics using "Capture". But my query was how would I get different values for every "Capture" ?

As per my understanding, I will have to write current values whenever "Capture" called. I do not know how and where shall I change the code. Could you share a piece of code for the same?

Thanks & Regards,
Pradson

Profile picture for user Kurumi

Kurumi

4 years 4 months ago

Hi,

Hi,

Add this to PreAction.
It will increase the register value.
if ((it.Target is GXDLMSProfileGeneric pg) && it.Index == 2)
{
//Update clock or register for profile-generic object when capture is invoked.
foreach (GXKeyValuePair<GXDLMSObject, GXDLMSCaptureObject> co in pg.CaptureObjects)
{
if ((co.Key is GXDLMSClock clock) && co.Value.AttributeIndex == 2)
{
clock.Time = clock.Now();
}
else if (co.Key is GXDLMSRegister r && co.Value.AttributeIndex == 2)
{
r.Value = Convert.ToInt32(r.Value) + 1;
}
}
}
BR,
Mikko

pradson

4 years 4 months ago

In reply to Hi, by Kurumi

Hi Mikko,

Hi Mikko,

Thanks a lot. Now I am able to get dynamic values from simulator but unable to read instantaneous-profile object and getting this "Access Error : Device reports Read-Write denied." error.

Actually, I have noticed that with this solution the instantaneous profile object does not work. I have emailed files to you regarding this issue. Kindly check and suggest the a solution.

Thanks & Regards,
Pradson

Pagination

  • First page
  • Previous page
  • Page 1
  • Page 2
  • Page 3
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin