Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
  • Gurux Club
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Node
  3. Reading gurux association logical name object.

Reading gurux association logical name object.

By labasvakaras, 24 May, 2023
Forums
Gurux.DLMS

Hello, i am trying to read association logical name object but i get Not enough memory available error.

I am trying to do as your client example says to read one bye one, but i never leave com_readDataBlock() method and com_readDataBlock() returns out of memory error. Should I read only one data block, parse it, then again read?

Profile picture for user Kurumi

Kurumi

1 week 4 days ago

Hi, Your meter doesn't…

Hi,

Your meter doesn't return all the bytes.
Some meters expect spesific frame size and if it's too small they can't handle it.
What meter you try to read?

BR,
Mikko

labasvakaras

1 week 3 days ago

My meter is: CL730S22. I…

My meter is: CL730S22. I have no problem to read association view with GXDLMSDirector, it should be possible with C also.

labasvakaras

1 week 3 days ago

also, i wanted to ask a…

also, i wanted to ask a question:

cl_getObjectsRequest() method has hardcoded one OBIS:

static unsigned char ln[] = { 0, 0, 40, 0, 0, 0xFF };

1. Is this OBIS code is always the same for all meters?
2. What if i have another association logical name OBIS? Will it read everything that is available?

Profile picture for user Kurumi

Kurumi

6 days 8 hours ago

Hi, Check your settings. If…

Hi,

Check your settings. If you can read your meter with GXDLMSDirector you can read it also with ANSI C.

This hardcoded OBIS is the default association view. There might be multiple association views in one meter, but the current association is assigned when the client establishes the connection for the meter.

BR,
Mikko

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

Fri, 06/02/2023 - 14:13
GXDLMSDirector 9.0.2306.0201
Fri, 06/02/2023 - 13:51
Gurux.DLMS.Net 9.0.2306.0201
Fri, 06/02/2023 - 10:33
Gurux.DLMS.AMI4 4.0.2306.0201
Thu, 06/01/2023 - 16:39
Gurux.DLMS.AMI4 4.0.2306.0101
Thu, 06/01/2023 - 15:25
gurux.dlms.cpp 20230601.1

Open bugs

gurux.dlms.c
4
gurux.dlms.cpp
3
gurux.dlms.delphi
1

New forum topics

  • Optical port
  • Unable to connect - Unhandled exception.
  • Reading objects in US Association
  • Error when trying to read meter with GXDLMSDirector.
  • Meter without user
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin