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. Error While Writing Capture Objects.

Error while writing capture objects.

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 icabrera , 2 June, 2020
Forums
DLMSDirector

Hello,

We are writing the capture objects for Testing Scroll Sequence (0-0:21.0.2.255) and I found 2 errors.

It is very common to get the following error: "Index was out of range. Must be non-negative and less than the size of the collection parameter name:index"

Despite of the error seen in Gurux, the meter is changing the testing scroll sequence correctly.

APDU Set Request (Write)

C4 01 C1 00 01 07 02 04 12 00 03 09 06 01 00 01 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 02 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 05 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 06 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 07 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 08 08 00 FF 0F 02 12 00 00 02 04 12 00 01 09 06 00 00 00 09 01 FF 0F 02 12 00 00

APDU Get Request (Automatically read by Gurux After Write)

C1 01 C1 00 07 00 00 15 00 02 FF 03 00 01 07 02 04 12 00 03 09 06 01 00 01 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 02 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 05 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 06 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 07 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 08 08 00 FF 0F 02 12 00 00 02 04 12 00 01 09 06 00 00 00 09 01 FF 0F 02 12 00 00

It happens for example when I open Gurux, then read the object 0-0:21.0.2.255 and delete one Capture Object and then write.

If I delete all the objects, and then add one and write to the meter, and then doing the another 6 in the same way there is no error.

While doing these tests, (sometimes) I found another error. I sent only two display (capture objects), but Gurux sent 9 capture objects. Meter received 9 capture objects.

After getting an error message, I delete all objects and then added one by one (without writing after add each one). Result: Sometimes Gurux doesnt update correctly the number of capture objects and send more than the visible in the capture object tab.

It looks like that the problem is with the GUI.

Profile picture for user Kurumi

Kurumi

6 years 3 months ago

Hi,

Hi,

I believe that I know the reason for this. You should read capture objects again ("Press F5") after you have modified them. I check if this can be done automatically if capture objects are modified.

BR,

Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More

Who's new

  • cyby
  • Metin Onan
  • ssv007
  • 3nzol3dur
  • dw772
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin