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 11 months ago

Scaler

Hi,

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

BR,

Mikko

hejmaniok

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

Scaler

Hi,

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

BR,
Mikko

hejmaniok

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

Scaler

Hi,

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

BR,

Mikko

hejmaniok

8 years 11 months ago

Hi,

Hi,

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

Thanks

hejmaniok

8 years 11 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 11 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 11 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 11 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 11 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

  • 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

  • GARUDA AGEN INDONESIA | WA 083148835648
  • JASA SERVICE/SERVICE MEJA BILLIARD BONGKAR PASANG | WA 083148835648
  • ISAK Billiard Sports PIK2 | WA 083148835648
  • Akusara Billiard Tangerang | WA 083148835648
  • Sumo Balls Pro Billiards | WA 083148835648
More

Who's new

  • Admin
  • Sayang
  • q80435762@gmail.com
  • ONCAK
  • Berhasil
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin