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. DLMS.Client.Example(C#)

DLMS.Client.Example(C#)

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 PaoloPrado , 18 January, 2017
Forums
Gurux.DLMS

Hello

I tried to run the Gurux.DLMS.Client.Example (C#),
I changed the device parameters but always
when I run the program this go in the ShowHelp().

Could you help me?

Regards

Profile picture for user Kurumi

Kurumi

9 years 6 months ago

DLMS.Client.Example

Hi,

You did not say are you using TCP/IP or serial port connectio, but this will work for TCP/IP.

/h=[IP Address of the meter] /p=[port number] /m=[Manufacturer, example lgz]

BR,

Mikko

PaoloPrado

9 years 6 months ago

In reply to DLMS.Client.Example by Kurumi

DLMS.Client.Example

Hi,

Finally i could run the program, I'm working with the serial port connection. Now, I want read something specific, like Voltage in phase 1.
Is that posible?

Thanks.

Profile picture for user Kurumi

Kurumi

9 years 6 months ago

DLMS.Client.Example

Hi Paolo,

Example reads association view. It describes all objects what your meter can offer.
After that example reads all data from the meter.

You can see read data on the command line.

BR,

Mikko

PaoloPrado

9 years 6 months ago

In reply to DLMS.Client.Example by Kurumi

DLMS.Client.Example

Hello kurumi,

The program get all available objects from the meter, but i dont want to read all data from this, because this requires a lot of time. I need just maybe a couple data from the meter, something specific, according to OBIS code.
Can i do that?

Thanks a lot.

Profile picture for user Kurumi

Kurumi

9 years 6 months ago

DLMS.Client.Example

Hi,

Yes, you can do it. You need to save information from read registers example file. If you are using Logical name referencing you save OBIS code and if Short name referencing you save Short Name.

Then you initialize connection using SNRM and AARQ messages. After that you can read just those values what you need.

BR,

Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • T_APPL_DATA_LN_N1 subtest 3 fails on an LN-only server regardless of the response to a non-existing-object GET
  • Version mismatch between Gurux.DLMS 9.x and Gurux.Common/Gurux.Serial 8.x
  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
More

Who's new

  • software_P
  • eloisedc16
  • OlegVoiva
  • Martaepili
  • Vegazone-Alini
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin