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. Error Reading Instantaneous Profile

Error Reading Instantaneous Profile

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 Techapirant , 8 November, 2019
Forums
Gurux.DLMS

Hello,

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);

Profile picture for user Kurumi

Kurumi

6 years 7 months ago

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

Techapirant

6 years 7 months ago

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'

Profile picture for user Kurumi

Kurumi

6 years 6 months ago

Hi,

Hi,

There is a new version in GitHub. Try with that and let me know if you have any problems.

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