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?
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.
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?
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?
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
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?
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?
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