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

Scaler

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 hejmaniok , 5 December, 2017
Forums
Gurux DLMS for Java

Hello,

I try to read ReactivePower from Load profile. ReactivePower has a scaler of 0.1 and from the blue book I can see that the unit is var-hour. I was wondering if the value that I read from the meter is already multiplied by scaler or do I have to multiply it by 0.1 to get to var-hour unit?

Thanks

Profile picture for user Kurumi

Kurumi

8 years 9 months ago

Scaler

Hi,

If you read unit and scaler first (attribute index 3), it's done automatically.

BR,

Mikko

hejmaniok

8 years 9 months ago

Thanks for the reply. This

Thanks for the reply. This makes sense.

I have one more question regarding scaler and unit. I am trying to save those to database and when I do this:

if (it.getObjectType() == ObjectType.REGISTER || it.getObjectType() == ObjectType.EXTENDED_REGISTER) {
GXDLMSRegister reg = (GXDLMSRegister) it;
object.put("scaler", reg.getScaler());
object.put("unit", reg.getUnit());
}

Scaler is read fine but Unit always becomes `NoUnit`. Do you know what could be possibly wrong here?

As a note, when I read REGISTRIES using Gurux Director unit is displayed correctly.

Thanks

Profile picture for user Kurumi

Kurumi

8 years 9 months ago

Scaler

Hi,

You need to read it first.
client.Read(it, 3);

BR,
Mikko

hejmaniok

8 years 9 months ago

Yes, and for that I am using

Yes, and for that I am using `readScalerAndUnits()` method from the Gurux official example.

This should be enough right?

Profile picture for user Kurumi

Kurumi

8 years 9 months ago

Scaler

Hi,

Can you compare same OBIS codes using GXDMSDirector and Java. They should be same.

BR,

Mikko

hejmaniok

8 years 9 months ago

Hi,

Hi,

If I use example client and use readRowsByRange is scaler automatically applied?

Thanks

hejmaniok

8 years 9 months ago

Hi,

Hi,

If I use example client found on your GitHub and use readRowsByRange is scaler automatically applied?

Thanks

Profile picture for user Kurumi

Kurumi

8 years 9 months ago

scaler

Hi,

Yes, it's scaler s used automatically if the target is Register and scaler is read.

BR,

Mikko

hejmaniok

8 years 9 months ago

In my case I read

In my case I read ProfileGeneric and I don't know if the values I receive are already multiplied by scalers.

hejmaniok

8 years 9 months ago

Ok I figured this one out.

Ok I figured this one out. When I read ProfileGeneric only using readRowsByRange, scalers are not automatically applied.

Thanks for your help Mikko

Profile picture for user Kurumi

Kurumi

8 years 9 months ago

scaler

Hi,

If the register is found from association view and it's read scaler is used automatically also with Profile Generics.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More

Who's new

  • cyby
  • Metin Onan
  • ssv007
  • 3nzol3dur
  • dw772
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin