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

  • 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