Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Read Specific Parameters From Instantaneous Profile

Read specific parameters from Instantaneous Profile

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 Bhaumik, 13 June, 2022
Forums
Gurux.DLMS

Hi Mikko,

I want to read specific parameters from the Instantaneous Profile data from Indian standard meter.

Instead of reading all buffer and capture objects, I want to read only Voltage, Current, PF, Frequency, kWh, VAh, power (W), VA, VAr.

Is it possible to read-only required parameters from profile data?

Please provide your valuable suggestion.

Regards
Bhaumik

Profile picture for user Kurumi

Kurumi

3 years 7 months ago

Hi Bhaumik,

Hi Bhaumik,

You can try to read the selected column using ReadRowsByEntry or ReadRowsByRange methods. I can say for sure that there are several meter manufacturers who don't support reading only part of the columns, but you can try. If you are planning to read multiple meter manufacturers you need to test this for each meter individually.

BR,
Mikko

Bhaumik

3 years 7 months ago

Hi Mikko,

Hi Mikko,

Using ReadRowsByEntry or ReadRowsByRange methods, we can read selected entries only.

But in my case I want to read specific field data, Like out of 10 parameters want to read only 5 parameters. Is that possible?

Regards
Bhaumik

Profile picture for user Kurumi

Kurumi

3 years 7 months ago

Hi Bhaumik,

Hi Bhaumik,

You can do this if you set the columns that you want to read as the last parameter for Using ReadRowsByEntry or ReadRowsByRange methods.

ANSI C and ANSI C++ are not supporting this, but it's possible to do using Java, C#, or Python.

BR,
Mikko

Bhaumik

3 years 7 months ago

Hi Mikko,

Hi Mikko,

I want to read only highlighted fields from the buffer of profile generic data instead of all buffer data. How can I read that?

Please see attached image.
Please provide your suggestion.

Regards
Bhaumik

Image
Profile picture for user Kurumi

Kurumi

3 years 7 months ago

Hi,

Hi,

You can't do that with GXDLMSDirector, but you can do it using ReadRowsByRange. For the columns collection you give columns what you want to read. Something like:

List<GXKeyValuePair<GXDLMSObject, GXDLMSCaptureObject>> columns = new List<GXKeyValuePair<GXDLMSObject, GXDLMSCaptureObject>>();
columns.Add(new GXKeyValuePair<GXDLMSObject, GXDLMSCaptureObject>(clock, GXDLMSCaptureObject(2, 0)));

//Add other objects in the same way.

ReadRowsByRange(pg, DateTime.Now.Date, DateTime.Now, columns);

You can read capture objects parameter and remove objects that you don't want to read and then use that to read only those values you need.

BR,
Mikko

Bhaumik

3 years 7 months ago

Hi Mikko,

Hi Mikko,

I have performed the same steps that you have suggested.
Added two columns in the list and read Instant Profile data(1.0.94.91.0.255) from the meter and in the response got
"Device Reports an unavailable object".

List<GXKeyValuePair<GXDLMSObject, GXDLMSCaptureObject>> columns =
new List<GXKeyValuePair<GXDLMSObject, GXDLMSCaptureObject>>();

GXDLMSRegister voltage = new GXDLMSRegister("1.0.12.7.0.255");
GXDLMSRegister current = new GXDLMSRegister("1.0.11.7.0.255");

columns.Add(new GXKeyValuePair<GXDLMSObject, GXDLMSCaptureObject>(voltage,new GXDLMSCaptureObject(2,0)));
columns.Add(new GXKeyValuePair<GXDLMSObject, GXDLMSCaptureObject>(current, new GXDLMSCaptureObject(2, 0)));

tmp = gXConnections.Client.ReadRowsByRange(CurrentProfileGeneric, start, end,columns);

Can you please provide your suggestion?

Regards
Bhaumik

Bhaumik

3 years 7 months ago

Hi Mikko,

Hi Mikko,

Can you please provide input?

Regards
Bhaumik

Profile picture for user Kurumi

Kurumi

3 years 7 months ago

Hi,

Hi,

If the Logical name of the CurrentProfileGeneric is correct the reason is what I was afraid of. This feature is not implemented for the meter.

You need to read data from all columns. You can also ask if there is a firmware update available for the meter where this is fixed.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 01/14/2026 - 14:29
    Gurux.DLMS.Python 1.0.196
  • Mon, 12/29/2025 - 10:38
    Gurux.Serial.Android 3.0.5
  • Mon, 12/15/2025 - 08:11
    Gurux.DLMS.Net 4.0.87
  • Fri, 12/12/2025 - 08:38
    Gurux.DLMS.Python 1.0.195
  • Thu, 12/11/2025 - 13:22
    Gurux.DLMS.Python 1.0.194

New forum topics

  • 6-digit field values from meter not fully received (only 5 digits shown)
  • Gurux DLMS Android App
  • AMR support for bidirectional meters.
  • addition of new object in object list, meter not working
  • old meter take to much time(l&t)
More

Who's new

  • FRANCISCO
  • Supun Ellewela
  • Mario
  • brianmon
  • dejanm
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin