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. Node
  3. Clone and CopyTo Method of GXDLMSObject Class Does Not Work C#

Clone and CopyTo method of GXDLMSObject class does not work C#

By CIDEY , 14 November, 2023
Forums
Gurux.DLMS

GXDLMSObject writeData = item.GXDLMSObject;
GXDLMSObject readData;
if (writeData is not null)
{
readData = writeData.Clone();
}
When cloning to readData, the error "System.ArgumentNullException: "Value cannot be null. Arg_ParamName_Name", although writeData is not null.
The same situation when using the CopyTo() method;

Profile picture for user Kurumi

Kurumi

3 years ago

Hi, Can you try like this?…

Hi,

Can you try like this?

if (writeData != null)
{
}

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Thu, 11/19/2026 - 10:57
    Gurux.DLMS.Python 1.0.204
  • Thu, 11/19/2026 - 10:12
    gurux.dlms.c 9.0.2611.1901
  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101

New forum topics

  • Brata Jaya Material | WA 083148835648
  • Toko Bangunan Hari-hari | WA 083148835648
  • Supermarket Bangunan Abadi ( Bangunan Abadi ) Meruya | WA 083148835648
  • Toko bangunan universal | WA 083148835648
  • Toko Bangunan Rawabelong Jaya | WA 083148835648
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin