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. Index Was Out of Range. Must Be Non-negative and Less Than The Size of The Collection Parameter Name:index

Index was out of range. Must be non-negative and less than the size of the collection parameter name:index

Profile picture for user oulahsensaid
By oulahsensaid , 23 November, 2023
Forums
DLMSDirector

Hi Mr. Kurumi. Please could you give me a hand with this prblem:
20:27:01 Initializing serial connection.
20:27:02 IEC Sending:/?!<CR><LF>
20:27:03 HDLC received: /SLB5\2SLB_AMBER_000001<CR><LF>
20:27:03 BaudRate is : 9600
20:27:03 Moving to mode E.
06 32 35 32 0D 0A
20:27:06 Send SNRM request.
7E A0 08 02 23 03 93 3E 74 7E
20:27:07
7E A0 21 03 00 02 00 23 73 7B 7F 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E
20:27:07 Parsing UA reply succeeded.
20:27:07 Send AARQ request.
7E A0 45 02 23 03 10 FB 7F E6 E6 00 60 36 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 41 42 43 44 45 46 47 48 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 00 59 FF FF ED 0A 7E
20:27:07
7E A0 53 03 00 02 00 23 30 13 29 E6 E7 00 61 42 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 88 02 07 80 89 07 60 85 74 05 08 02 01 AA 0A 80 08 41 42 43 44 45 46 47 48 BE 10 04 0E 08 00 06 5F 1F 04 00 00 00 19 21 34 00 07 3A A8 7E
20:27:07 Parsing AARE reply succeeded.
20:27:10 --- Collecting objects. ---
20:27:10 Collecting objects
7E A0 1A 02 23 03 32 75 62 E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 02 00 91 53 7E
20:27:11
7E A8 8C 03 00 02 00 23 52 9D A9 E6 E7 00 C4 02 C1 00 00 00 00 01 00 82 0D 43 01 82 01 49 02 04 12 00 01 11 00 09 06 00 00 94 00 01 FF 02 02 01 02 02 02 0F 01 11 01 02 02 0F 02 11 01 02 02 0F 00 03 00 02 04 12 00 01 11 00 09 06 00 00 94 00 03 FF 02 02 01 02 02 02 0F 01 11 01 02 02 0F 02 11 03 02 02 0F 00 03 00 02 04 12 00 01 11 00 09 06 00 00 94 00 02 FF 02 02 01 02 02 02 0F 01 11 01 02 02 0F 02 11 03 02 02 0F 00 69 50 7E
20:27:11 Get next frame.
20:27:11 Collecting objects
.
.
.
20:34:36 Get next frame.
20:34:36 Collecting objects
7E A0 08 02 23 03 F1 2A 34 7E
20:34:41 Data send failed. Try to resend 1/3
20:34:41
7E A8 8C 03 00 02 00 23 BE FF 84 11 01 09 06 00 00 63 01 00 FF 02 02 01 03 02 02 0F 01 11 01 02 02 0F 02 11 01 02 02 0F 03 11 01 02 02 0F 00 03 00 02 04 12 00 07 11 01 09 06 00 00 63 80 01 FF 02 02 01 03 02 02 0F 01 11 01 02 02 0F 02 11 01 02 02 0F 03 11 01 02 02 0F 00 03 00 02 04 12 00 07 11 01 09 06 00 00 63 01 02 FF 02 02 01 03 02 02 0F 01 11 01 02 02 0F 02 11 01 02 02 0F 03 11 01 02 02 0F 00 03 00 02 04 12 00 B2 D2 7E
20:34:41 Get next frame.
20:34:41 Collecting objects
7E A0 08 02 23 03 11 24 D3 7E
20:34:46 Data send failed. Try to resend 1/3
20:34:46
7E A0 89 03 00 02 00 23 B0 9E B0 07 11 01 09 06 00 00 60 04 00 FF 02 02 01 03 02 02 0F 01 11 01 02 02 0F 02 11 01 02 02 0F 03 11 01 02 02 0F 00 03 00 02 04 12 00 07 11 01 09 06 00 00 62 85 07 FF 02 02 01 03 02 02 0F 01 11 01 02 02 0F 02 11 01 02 02 0F 03 11 01 02 02 0F 00 03 00 02 04 12 00 07 11 01 09 06 00 00 62 85 07 FF 02 02 01 03 02 02 0F 01 11 01 02 02 0F 02 11 01 02 02 0F 03 11 01 02 02 0F 00 03 00 08 D1 7E
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection parameter name:index

Best regards

Profile picture for user Kurumi

Kurumi

2 years 6 months ago

Hi, This is not possible to…

Hi,

This is not possible to solve without all the data available, but the reason for this is that the meter sends an invalid association view. Ask if there are firmware updates available for the meter.

BR,
Mikko

Profile picture for user oulahsensaid

oulahsensaid

2 years 6 months ago

Thank you Mr Kurumi for your…

Thank you Mr Kurumi for your response.
Are there other ways to readout this type of meter (SLB761C010), maybe mode C readout or any other path to follow.
Best regards.

Profile picture for user Kurumi

Kurumi

2 years 6 months ago

Hi, I don't know if your…

Hi,

I don't know if your meter is supporting IEC 62056-21 and is Mode C supported. You need to ask that from the meter vendor.

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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin