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. Gurux.DLMS

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.

Description

Questions and comments about
Gurux DLMS/COSEM Protocol Component.

Image
By Shehryar , 14 March, 2018

Reading Energy Parameter

Forums
Gurux.DLMS

Hi, I am successfully receiving AARE Response using Java.
When I try to read energy parameter using this code

GXDLMSRegister obj = new GXDLMSRegister("1.0.1.8.0.255");
byte[][] bytes= client.Read(obj, 2);

I just receive the bytes array which should send to the meter for reading energy, but nothing is sending to the meter (checked using Wireshark), please guide me the way to read a single parameter.

Thanks.
Shehryar Khan

By jan.kolar , 13 March, 2018

gurux.dlms.cpp - autodetect class id

Forums
Gurux.DLMS

Is it possible to autodetect class id ? My requirement is that user enters logical name (like for example "1.0.1.8.0.255"), program determines class id and then reads value of this register. Problem is that when reading register value I need to know class_id (another name for class_id is object type). The goal is to minimize amount of configuration information. I know that there are special registers named association views (like for example 0.0.40.0.0.255). During testing GXDLMSDirector I noticed that I dont have the option to read association only for required register.

By jan.kolar , 7 March, 2018

Use gurux.dlms.cpp in multi-threaded environment

Forums
Gurux.DLMS

I am integrating gurux.dlms.cpp library into our application which will be simultaneously reading register values from multiple meters. Typically this application will be used for communication with 20 meters but it is possible that number of meters will be 40 or 60. We want meter readout to be as fast as possible therefore we use multiple threads, one thread for each meter / comport. In every thread I am creating separate instances of CGXDLMSClient & CGXCommunication classes. Is gurux library thread-safe ?

By erdeepakcs , 21 February, 2018

Length of ENUM data type

Forums
Gurux.DLMS

Hi,

what is the length of data in ENUM data type ?

Thanks
deepak

By valinag , 20 February, 2018

GetResponsewithDataBlock

Forums
Gurux.DLMS

Hi,

In CGXDLMS::HandleGetResponse(CGXDLMSSettings& settings,CGXReplyData& reply,int index) condition ((reply.GetMoreData() & DLMS_DATA_REQUEST_TYPES_FRAME) == 0) is always true and value of reply.m_Command setting to DLMS_COMMAND_NONE even whole block is read.

Best regards

By bazrafkan.mb , 4 February, 2018

Write Date and Time to Meter with Gurux.DLMS.CPP

Forums
Gurux.DLMS

I can read date and time but i can't write Date and Time to meter actually i get DLMS_ERROR_CODE_OK but when i read again date and time are not change.
Clint Adress 0x01
// already connected and read Association View.
int index=2;
time_t tm1 = time(NULL);
struct tm dt;
localtime_s(&dt, &tm1);
CGXDateTime aa(dt);
aa.SetSkip(DATETIME_SKIPS_NONE);
CGXDLMSVariant ValueSet(aa);
std::string str="0.0.1.0.0.255:"
CGXDLMSObject* obj = cl.GetObjects().FindByLN(DLMS_OBJECT_TYPE_ALL, str);

By pstrejczek , 1 February, 2018

Reconnecting after communication error - Gurux.NET

Forums
Gurux.DLMS

Hello,

I have a problem with reconnecting to the meter after communication error.

I'm using the code from the example with GXDLMSReader to connect to Landis Gyr ZMQ meter. I can open the connection, read data and then close - then every 20 seconds repeat - everything works fine.

The connection is via RS232 but with MOXA NPort converter in Real COM mode.

By Stier , 25 January, 2018

ProfileGeneric: Scaler not loaded in Profile 1

Forums
Gurux.DLMS

Hi Mikko

By progzero , 17 January, 2018

Delphi Client Example

Forums
Gurux.DLMS

Hello. I compiled the example and decided to try to connect with the meter.

Parametrs:
Gurux.DLMS.Client.Example.Delphi.exe -r ln -c 48 -s 1 -h 192.168.1.115 -p 10005 -P 12345678 -a Low -C None

A connection error occurs. By log file it is clear that the address of the server takes 1 byte:
7E A0 07 03 61 93 69 47 7E

But my address should occupy 2 bytes and the command should look like this:
7E A0 08 22 03 61 93 B3 AE 7E

By Fatih , 11 January, 2018

I think this could be a bug

Forums
Gurux.DLMS

Hello.
When receieve this data from meter, Gurux, throwing System.OutOfMemoryException

Data: 7E A0 0A 07 00 22 2A 65 97 58 36 7E

Pagination

  • Previous page
  • 115
  • Next page
Gurux.DLMS
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Version mismatch between Gurux.DLMS 9.x and Gurux.Common/Gurux.Serial 8.x
  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
More

Who's new

  • rcprociG
  • helloworld
  • Kak_nvKr
  • Geraldtup
  • Kak_jhKr
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin