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. 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 6 months ago

Scaler

Hi,

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

BR,

Mikko

hejmaniok

8 years 6 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 6 months ago

Scaler

Hi,

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

BR,
Mikko

hejmaniok

8 years 6 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 6 months ago

Scaler

Hi,

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

BR,

Mikko

hejmaniok

8 years 6 months ago

Hi,

Hi,

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

Thanks

hejmaniok

8 years 6 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 6 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 6 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 6 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 5 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

  • 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