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