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. System.IndexOutOfRangeException

System.IndexOutOfRangeException

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 miacovella , 28 April, 2016
Forums
DLMSDirector

after the connection, when i read i have the error System.IndexOutOfRangeException

The meter id SAMGAS RSE 2,4
This is the log.

Log created 10:41:49
10:41:52 Initializing serial connection.
10:41:52 Send SNRM request.
7E A0 07 03 21 93 0F 01 7E
10:41:52 Received data
7E A0 07 21 03 73 01 40 7E
10:41:52 Parsing UA reply.<CR><LF>
10:41:52 Parsing UA reply succeeded.
10:41:52 Send AARQ request
7E A0 2B 03 21 10 FB AF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 7E 1F FF FF 99 C8 7E
10:41:53 Received data
7E A0 37 21 03 30 6C 7C E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 72 1D 00 E5 00 07 55 52 7E
10:41:53 Parsing AARE reply<CR><LF>61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 72 1D 00 E5 00 07
10:41:53 Parsing AARE reply succeeded.
10:42:14 Read object type AssociationLogicalName index: 2
7E A0 19 03 21 32 6F D8 E6 E6 00 C0 01 81 00 0F 00 00 28 00 00 FF 02 00 94 9E 7E
10:42:14 Received data
7E A0 23 21 03 52 35 8D E6 E7 00 C4 01 81 00 01 01 02 04 12 00 0F 11 02 09 06 00 00 28 00 00 FF 02 00 31 A3 7E
System.IndexOutOfRangeException: Indice oltre i limiti della matrice.
in Gurux.DLMS.Objects.GXDLMSAssociationLogicalName.UpdateAccessRights(GXDLMSObject obj, Object[] buff)
in Gurux.DLMS.Objects.GXDLMSAssociationLogicalName.Gurux.DLMS.Objects.IGXDLMSBase.SetValue(GXDLMSSettings settings, Int32 index, Object value)
in Gurux.DLMS.GXDLMSClient.UpdateValue(GXDLMSObject target, Int32 attributeIndex, Object value)
in GXDLMSDirector.GXDLMSCommunicator.Read(Object sender, GXDLMSObject obj, Int32 attribute) in C:\Projects\GXDLMSDirector\Development\GXDLMSCommunicator.cs:riga 849
in GXDLMSDirector.MainForm.Read(Control sender, Object[] parameters) in C:\Projects\GXDLMSDirector\Development\MainForm.cs:riga 1445
10:42:16 Disconnect request
7E A0 07 03 21 53 03 C7 7E
10:42:16 Received data
7E A0 07 21 03 73 01 40 7E

Thanxs.

Profile picture for user Kurumi

Kurumi

10 years 1 month ago

System.IndexOutOfRangeException

Hi,

Thanks from this info. Your meter do not have Access level parameters. We have fixed this and release new version from C# and Java components today.

BR,

Mikko

Profile picture for user Administrator

Administrator

10 years 1 month ago

System.IndexOutOfRangeException

The new version is available in which this problem has been fixed.

miacovella

10 years 1 month ago

Sorry but i've another error.

Sorry but i've another error...
Log created 13:31:36
13:31:39 Initializing serial connection.
13:31:39 Send SNRM request.
7E A0 07 03 21 93 0F 01 7E
13:31:39 Received data
7E A0 07 21 03 73 01 40 7E
13:31:39 Parsing UA reply.<CR><LF>
13:31:39 Parsing UA reply succeeded.
13:31:39 Send AARQ request
7E A0 2B 03 21 10 FB AF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 72 1D FF FF 15 EA 7E
13:31:40 Received data
7E A0 37 21 03 30 6C 7C E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 72 1D 00 E5 00 07 55 52 7E
13:31:40 Parsing AARE reply<CR><LF>61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 72 1D 00 E5 00 07
13:31:40 Parsing AARE reply succeeded.
13:31:42 Read object type AssociationLogicalName index: 2
7E A0 19 03 21 32 6F D8 E6 E6 00 C0 01 81 00 0F 00 00 28 00 00 FF 02 00 94 9E 7E
13:31:42 Received data
7E A0 23 21 03 52 35 8D E6 E7 00 C4 01 81 00 01 01 02 04 12 00 0F 11 02 09 06 00 00 28 00 00 FF 02 00 31 A3 7E
System.IndexOutOfRangeException: Indice oltre i limiti della matrice.
in GXDLMSDirector.MainForm.ReadDevice(GXDLMSDevice dev) in C:\Projects\GXDLMSDirector\Development\MainForm.cs:riga 1345
in GXDLMSDirector.MainForm.Read(Control sender, Object[] parameters) in C:\Projects\GXDLMSDirector\Development\MainForm.cs:riga 1461
13:31:43 Disconnect request
7E A0 07 03 21 53 03 C7 7E
13:31:43 Received data
7E A0 07 21 03 73 01 40 7E

Thanks.

  • 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