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. Wrong AttributeIndex For Scaler of Voltage

Wrong AttributeIndex for scaler of voltage

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 rudyjansen , 26 June, 2018
Forums
Gurux.DLMS

I'm reading a Landis+Gyr meter.
I read the profile and in GXDLMSProfileGeneric.GetCaptureObjects it's getting the objects.
For the voltage registers 1.1.32.7.0.255, 1.1.52.7.0.255, 1.1.72.7.0.255 it reads an AttributeIndex of '11'.
After that the unit and scaler are red.
This AttributeIndex is used in GXDLMSProfileGeneric.SetBuffer to check in case there are multiple attributes if its maybe a datetime type. But that's not the case.
But it's also used here to determine if the scaler is needed. Only if its hardcoded 2 or 3 the values are scaled. But its 11 and i'm ending up with the wrong voltage value.

Anyone seen this before?
Whats the purpose of this AttributeIndex in the profile?
Is the Landis+Gyr meter giving the wrong AttributeIndex value? And why is it giving 11?
Should the SetBuffer also scale in case of an 11?

Profile picture for user Kurumi

Kurumi

7 years 11 months ago

Wrong AttributeIndex for scaler of voltage

Hi,

What model are you reading? Could it be possible that your meter is configured wrong?
There are no 11 attributes on the register, so it's clear that value is wrong.

Attribute index will tell on what attribute data is read on the meter. Don't multiply by 11.

BR,

Mikko

rudyjansen

7 years 11 months ago

I'm reading multiple type of

I'm reading multiple type of Landis+Gyr meters, all with same 'problem'.
The AttributeIndex from the profile is in the Gurux software never used to determine wich index should be read. Mosty register index 2 and 3 are hardcoded red. Also for the mentioned voltage registerindex 2 is red.
That's the strange thing. You can read any index but in SetBuffer suddenly its important what the profile is telling which registerindex it thinks was red.
And maybe it's a configuration thing, but why is a meter giving me an 11 while it knows there is no attribute 11. Is LG giving me an 11 for another reason?

rudyjansen

7 years 11 months ago

AttributeIndex 11

We have had a reply from Landis+Gyr.
The attribute index value in the profile means the kind of value that's in the caputureobject.
In case of the voltage, '2' means a current value and '11' means a 15 minute average value.
So in GXDLMSProfileGeneric.SetBuffer the scaler should also be applied when the attibuteindex is '11'.
Or is there any other way to achief this?

Profile picture for user Kurumi

Kurumi

7 years 11 months ago

AttributeIndex 11

Hi,

Great. This has nothing to do with the standard. It's L+G's own idea. I'll think this for a while.

BR,

Mikko

  • 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