I am trying to read Instantaneous profile over TCP/IP having OBIS Code 1.0.94.91.0.255 using ANSI C.
I am getting error as 'Failed to read object rows by entry' using below code
ret = com_readProfileGenericColumns(&con);
oa_init(&objects);
ret = oa_getObjects(&con.settings.objects, DLMS_OBJECT_TYPE_PROFILE_GENERIC, &objects);
ret = oa_getByIndex(&objects, pos, (gxObject**)&pg);
ret = com_read(&con, (gxObject*)pg, 7);
ret = com_read(&con, (gxObject*)pg, 8);
ret = com_read(&con, pg, 2); // 'Failed to read object rows by entry'
ret = com_readRowsByEntry(&con, pg, 1, 1); // 'Read Write Access Denied'
ret = com_readRowsByRange(&con, pg, &startTime.value, &endTime.value); // 'Read Write Access Denied'
What I am doing wrong ?
I am able to read Name Plate Details using com_read(&con, pg, 2); and Load Profile using com_readRowsByRange(&con, pg, &startTime.value, &endTime.value);
Several Indian manufacturers are not implemented read rows by entry or read rows by range for Instantaneous Profile.
You must always read it by normal read.
Can you read this with GXDLMSDirector? There are meters where this is not implemented, but it's on the association view. Also make sure that your authentication level is correct.
I can read through DLMS Director.
Even my authentication is correct as I can read Load Profile and Name Details.
Normal Read is also giving me error as ret = com_read(&con, pg, 2); // 'Failed to read object rows by entry'
Hi,
Hi,
Several Indian manufacturers are not implemented read rows by entry or read rows by range for Instantaneous Profile.
You must always read it by normal read.
Can you read this with GXDLMSDirector? There are meters where this is not implemented, but it's on the association view. Also make sure that your authentication level is correct.
BR,
Mikko
I can read through DLMS
I can read through DLMS Director.
Even my authentication is correct as I can read Load Profile and Name Details.
Normal Read is also giving me error as ret = com_read(&con, pg, 2); // 'Failed to read object rows by entry'
Hi,
Hi,
There is a new version in GitHub. Try with that and let me know if you have any problems.
BR,
Mikko