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. Node
  3. Profile Generic

Profile Generic

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 kevin jose minj , 5 January, 2023
Forums
General discussion

When I am reading the events it is not possible to read one by one objects it is throwing some invalid block number error.what is the issue?Here us the output

-------- Reading ObjectType.PROFILE_GENERIC 0.0.99.98.3.255 Ch. 0 Event log #4
Entries: 35/50
12/28/22 14:23:31 | 152
12/28/22 14:18:54 | 158
12/28/22 14:18:44 | 158
12/28/22 14:17:54 | 158
12/28/22 14:17:51 | 158
12/28/22 14:17:47 | 158
12/28/22 10:07:41 | 158
12/28/22 10:07:02 | 158
12/27/22 09:41:31 | 152
12/26/22 12:17:11 | 153
12/26/22 12:08:43 | 153
12/26/22 12:04:13 | 152
12/26/22 12:02:44 | 152
12/26/22 10:34:29 | 152
12/26/22 10:33:25 | 153
12/26/22 10:32:29 | 153
12/26/22 10:30:37 | 152
12/26/22 10:30:27 | 153
12/26/22 10:07:03 | 153
12/26/22 10:03:29 | 153
12/26/22 10:02:32 | 153
12/26/22 10:01:53 | 153
12/26/22 10:01:34 | 152
12/23/22 14:48:27 | 153
12/23/22 14:43:04 | 153
-------- Reading ObjectType.PROFILE_GENERIC 0.0.99.98.0.255 Ch. 0 Event log #1
Entries: 0/50
-------- Reading ObjectType.PROFILE_GENERIC 0.0.99.98.1.255 Ch. 0 Event log #2
Entries: 2/50
-------- Reading ObjectType.PROFILE_GENERIC 0.0.99.98.2.255 Ch. 0 Event log #3
Entries: 20/20
RX: 12:33:30 7E A0 3E 61 03 96 45 43 E6 E7 00 D4 30 30 00 00 00 13 2B 99 34 BB 65 9F EC 37 BA 6C 90 89 9E C7 39 DD 44 22 CD 2F 77 A0 A4 01 A7 3C 33 72 D9
92 E8 BB CF 1F CC B8 61 75 9B B9 96 71 10 F9 17 7E
Error! Failed to read last day: Invalid Block number. It is 4 and it should be 1.
-------- Reading ObjectType.PROFILE_GENERIC 0.0.99.98.4.255 Ch. 0 Event log #5
RX: 12:33:30 7E A0 2E 61 03 B8 98 48 E6 E7 00 D4 20 30 00 00 00 14 2C 7E A7 2F EA 4A E1 77 55 8B 58 32 DA 50 47 D9 DE 02 0F FB 68 50 10 6C D2 69 AE 3E 19
7E
Invalid Block number. It is 5 and it should be 1

Profile picture for user Kurumi

Kurumi

3 years 10 months ago

Hi,

Hi,

There is an error with the meter. The block number should be set to one when rows are read and that is not done. You need to ask if there is a firmware update available for the meter where this is fixed.

BR,
Mikko

kevin jose minj

3 years 10 months ago

In reply to Hi, by Kurumi

How to read last 2 days value

How to read last 2 days value using python?which function I have to use?

Profile picture for user Kurumi

Kurumi

3 years 9 months ago

Hi,

Hi,

You need to use readRowsByRange. Read this:
https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSProfileGeneric

The example code is here:

https://github.com/Gurux/Gurux.DLMS.Python/blob/258a6f18233b83512f021b6…

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Need RJ45 pin configuration for Saral 300 and Saral 305 Secure meters
  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
More

Who's new

  • Asier Sierra
  • BlessyAnn
  • sravya.thota@m…
  • Diwakar
  • williamorussell
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin