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. Possible Bug In Read Profile Generic With Column Selection.

Possible bug in read profile generic with column selection.

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 pramodahanya , 6 February, 2019
Forums
Gurux DLMS for Java

Hello,
I believe there is a bug while reading profile generics with column selection and the selection does not start from 1.
For example in a profile generic object which captures the load profile with 5 columns, If we try to read columns 2 columns starting column index 2 then only one column is returned. This is because in "readRowsByEntry" in class "GXDLMSClient" (line number: 1822) it is taking the column count instead of the column index. If I change this to column index in debugger then correct values are returned.
If I try to select 2 columns starting from column 3 then I get access error, because it is trying to select from column 3 to column 2.
It's also mentioned in the blue book that for column selection indexes should be passed.
"NOTE 2 from_entry and to_entry identify the lines, from_selected_value to_selected_value identify the columns of the buffer to be retrieved."

Profile picture for user Kurumi

Kurumi

7 years 4 months ago

Possible bug in read profile generic with column selection.

Hi,

You are right. There is an issue on readRowsByEntry. Thanks from this info.
We'll start test now and a new version is released on Monday.

BR,

Mikko

pramodahanya

7 years 4 months ago

Thanks for the update Miko.

Thanks for the update Miko.
Also if possible could you please do add a method which accepts the column indexes instead of the column headers
for example readRowsByEntry(GXDLMSProfileGeneric pg, int rowIndex, int rowCount, int colIndex, int colCount)
Thank you
BR
Pramod

  • 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