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

error

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 atulsawant , 13 January, 2017
Forums
General discussion

Dear sir,

The tool shows following output:

11:43:09 Initializing serial connection.
11:43:09 Send SNRM request.
7E A0 0A 00 02 0E D3 21 93 6E 53 7E
11:43:09 Received data
7E A0 23 21 00 02 0E D3 73 E5 A9 81 80 14 05 02 00 80 06 02 00 80 07 04 00 00 00 01 08 04 00 00 00 01 CE 6A 7E
11:43:09 Parsing UA reply.<CR><LF>81 80 14 05 02 00 80 06 02 00 80 07 04 00 00 00 01 08 04 00 00 00 01
11:43:09 Parsing UA reply succeeded.
11:43:09 Send AARQ request
7E A0 2E 00 02 0E D3 21 10 08 E9 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 FE 1F FF FF F7 E5 7E
11:43:09 Received data
7E A0 3A 21 00 02 0E D3 30 8A 2D E6 E7 00 61 1D A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 02 BE 10 04 0E 08 00 06 5F 1F 04 00 00 3C 1F 00 71 00 07 19 AF 7E
11:43:09 Parsing AARE reply<CR><LF>61 1D A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 02 BE 10 04 0E 08 00 06 5F 1F 04 00 00 3C 1F 00 71 00 07
11:43:09 Parsing AARE reply succeeded.
11:43:12 --- Collecting objects. ---
11:43:12 Collecting objects
7E A0 1C 00 02 0E D3 21 32 E9 0A E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 02 00 91 53 7E
11:43:13 Received data
7E A0 24 21 00 02 0E D3 32 70 3D E6 E7 00 C4 01 C1 00 01 01 02 04 12 00 03 00 09 06 01 00 20 07 00 FF 00 3C 04 7E
11:43:13 --- Collecting 1 objects. ---
11:43:13 --- Created 1 objects. ---
11:43:13 --- Reading scalers and units. ---
11:43:13 Reading object 1.0.32.7.0.255 from interface Register
7E A0 1C 00 02 0E D3 21 54 D9 0C E6 E6 00 C0 01 C1 00 03 01 00 20 07 00 FF 03 00 5D 9A 7E
11:43:13 Read object
7E A0 1C 00 02 0E D3 21 54 D9 0C E6 E6 00 C0 01 C1 00 03 01 00 20 07 00 FF 03 00 5D 9A 7E
11:43:13 Received data
7E A0 1E 21 00 02 0E D3 54 5D 04 E6 E7 00 C4 01 C1 00 17 00 00 09 62 02 02 0F FE 16 23 08 10 7E
11:43:13 Unable to cast object of type 'System.Single' to type 'System.Object[]'.
System.InvalidCastException: Unable to cast object of type 'System.Single' to type 'System.Object[]'.
at GXDLMSDirector.MainForm.ReadDevice(GXDLMSDevice dev)
at GXDLMSDirector.MainForm.Read(Control sender, Object[] parameters)
11:43:15 Disconnect request
7E A0 0A 00 02 0E D3 21 53 62 95 7E
11:43:15 Received data
7E A0 0A 21 00 02 0E D3 73 5F 8B 7E

why this error occured? (Unable to cast object of type 'System.Single' to type 'System.Object[]'.)
how to overcome this?

Thanks in advance.

Profile picture for user Kurumi

Kurumi

9 years 5 months ago

Error

Hi,

Your meter is returning Float32 as scaler and unit. There should be array with two values (Scaler and Unit) and now there is only one value. Your meter is not support DLMS standard as it should be.

BR,

Mikko

atulsawant

9 years 5 months ago

In reply to Error by Kurumi

error

Dear sir,

Float32 is data type for value 00 00 09 62.
we are making structure of 2 element(02 02)of integer scaler(0F FE) and enum unit(16 23).

thanks in advance.

  • 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