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. Clock Object

Clock object

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.

Profile picture for user ivan
By ivan , 17 May, 2017
Forums
DLMSDirector

Hi,

If I perfom two separate communication on the same meter (Landis ZMD450) and perform read Clock object read in both communication.
I get the information about clock, but after that, if I change something in one communication for example: set Daylight Savings and go to second communication and perform read clock object, it doesn't show any changes.

If I create third communication on the same meter, and perform read objects list and after that read Clock object, I'm able to see changes. But after that, if I use those tree communication it is not possible to get new value if I change in any communication.

short story:

I have one hardware (one Landis meter)

Within GXDLMSDirector I've created to devices (for two communications).

For each gurux device I perform read object list.

After that, for both device I perform read Clock object.

Then, in first communication I perfom some changes (Set or unset Daylight Savings).

In second communication I execute read operation on Clock object, but change is not visible.

To check real state of Daylight Savings, I've created third device and perform read object list and read Clock object and then I see changed value.

Except that, to change date and time, it is not possible because of different culture.

Try hr-HR culture. (OK I've fixed this in old build, but I did't try in the latest build)

I'll try to change latest build with my culture info adaptation, and I'll provide you to check on your machine.

Kind regards,
Ivan

Profile picture for user Kurumi

Kurumi

9 years ago

Clock object

Hi,

I believe that I know reason for why your data is not update. GXDLMSDirector is reading static values only once and status is marked as static. So if you have read it, GXDLMSDirector don't read it again.

Is value changed if you change your value, Load device again and read it again?

BR,

Mikko

Profile picture for user ivan

ivan

9 years ago

Yes, it Works like you

Yes, it Works like you describe.

So that is not a bug it's a feature :D

OK

I will change things for clock object to change date and time

Kind regards,
Ivan

Profile picture for user Kurumi

Kurumi

9 years ago

Clock object

Hi,

It's generating a lot of extra traffic if we start to read all attributes every time. I'll add work list if "force read all" -option (or something like that) is added to GXDLMSDirector. It can be used cases like this.

BR,

Mikko

Profile picture for user ivan

ivan

8 years 11 months ago

DLMS

Could you check my modifications for following files

https://github.com/recursive137/newGitTest/blob/master/GURUX.DLMS.Net/D…
https://github.com/recursive137/newGitTest/blob/master/GURUX.DLMS.Net/D…

It works for Croatian datetime format which is as dd.MM.YYYY.

Profile picture for user Kurumi

Kurumi

8 years 11 months ago

DLMS

Hi Ivan,

I believe that you are running this on Service. Or is there another reason why you are not giving date time on that format as specified on display language (Selected on Keyboard and Language settings tab)?

If this change is used, user can't give new date time as a string if user has specify Display Language to different than installed OS.

BR,

Mikko

Profile picture for user ivan

ivan

8 years 11 months ago

DateTime

I've noticed that on your sources when i pulled them from github and run with Director GUI.

There are some problems with parsing Croatian format which has dot after year.

I could produce error as it is on my machine if you want more info.

Profile picture for user Kurumi

Kurumi

8 years 11 months ago

Date time format in Croatian format.

Hi,

Can you post your date time string format?
Is it something like this: "20.1.2017. 19:00"?

We can check this.

BR,

Mikko

Profile picture for user ivan

ivan

8 years 11 months ago

DateTime string

Yes,

only Croatian format has datetime separator after year

11.7.2017. 14:35:21

From CultureInfo

example

de-DE
AllShortDatePatterns {string[0x00000004]} string[]
[0] "dd.MM.yyyy" string
[1] "dd.MM.yy" string
[2] "yyyy-MM-dd" string
[3] "dd. MMM. yyyy" string

hr-HR
AllShortDatePatterns {string[0x00000008]} string[]
[0] "d.M.yyyy." string
[1] "d.M.yy." string
[2] "d. M. yyyy." string
[3] "dd.MM.yyyy." string
[4] "d. M. yy." string
[5] "dd.MM.yy." string
[6] "dd. MM. yy." string
[7] "yyyy-MM-dd" string

Profile picture for user Kurumi

Kurumi

8 years 11 months ago

DateTime string

Hi Ivan,

Thanks from this information. I'll add this to work list.
We'll try to fix this to next release.
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