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. 無法將型別 'System.Object[]' 的物件轉換為型別 'System.IConvertible'。

無法將型別 'System.Object[]' 的物件轉換為型別 'System.IConvertible'。

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 dafeng0908 , 12 April, 2016
Forums
DLMSDirector

Director show a error message : 無法將型別 'System.Object[]' 的物件轉換為型別 'System.IConvertible'。
How do I Fixed this bug....

This is my log file :

下午 05:31:22 --- Collecting 10 objects. ---
下午 05:31:22 --- Created 10 objects. ---
下午 05:31:22 --- Reading scalers and units. ---
下午 05:31:23 Reading object 1.1.21.25.0.255 from interface Register
7E A0 19 03 21 74 5D FF E6 E6 00 C0 01 81 00 03 01 01 15 19 00 FF 03 00 22 CE 7E
下午 05:31:23 Read object
7E A0 19 03 21 74 5D FF E6 E6 00 C0 01 81 00 03 01 01 15 19 00 FF 03 00 22 CE 7E
Frame ID do not match.
下午 05:31:23 Received data
7E A0 16 21 03 54 A6 CA E6 E7 00 C4 01 81 00 02 02 0F 00 11 00 67 05 7E
下午 05:31:24 Reading object 0.0.41.0.0.255 from interface DemandRegister
7E A0 19 03 21 96 41 3B E6 E6 00 C0 01 81 00 05 00 00 29 00 00 FF 04 00 5F 2A 7E
下午 05:31:24 Read object
7E A0 19 03 21 96 41 3B E6 E6 00 C0 01 81 00 05 00 00 29 00 00 FF 04 00 5F 2A 7E
Frame ID do not match.
下午 05:31:30 Received data
7E A0 2C 21 03 02 49 6D E6 E7 00 C4 01 81 00 01 02 02 02 12 00 01 09 05 47 75 72 75 78 02 02 12 00 10 09 07 47 75 72 75 78 2D 32 C1 F0 7E
下午 05:31:31 無法將型別 'System.Object[]' 的物件轉換為型別 'System.IConvertible'。
System.InvalidCastException: 無法將型別 'System.Object[]' 的物件轉換為型別 'System.IConvertible'。
於 GXDLMSDirector.MainForm.ReadDevice(GXDLMSDevice dev) 於 d:\0_Job\2016_Job02_DLMS-Pting\AP_DirectorMixLibrary\GXDLMSDirector-master_trace_20160323\Development\MainForm.cs: 行 1353
於 GXDLMSDirector.MainForm.Read(Control sender, Object[] parameters) 於 d:\0_Job\2016_Job02_DLMS-Pting\AP_DirectorMixLibrary\GXDLMSDirector-master_trace_20160323\Development\MainForm.cs: 行 1461
下午 05:31:33 Disconnect request
7E A0 07 03 21 53 03 C7 7E

Profile picture for user Kurumi

Kurumi

10 years 2 months ago

無法將型別 'System.Object[]' 的物件轉換為型別 'System.IConvertible'。

Hi,

You try to read Demand Register attribute 4.
That is scaler and unit. Your meter is returning wrong data.

It seems that you are reading our example server.
Try to read association view again (Select refresh from file menu).

BR,

Mikko

dafeng0908

10 years 1 month ago

In reply to 無法將型別 'System.Object[]' 的物件轉換為型別 'System.IConvertible'。 by Kurumi

Tks a lot ~

Tks a lot ~

  • 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