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