Hi Mikko,
I've been using the GXDlmsClient, where I would like to read the configuration and then save it, and then read the profiles.
Short explanation:
1. Read Association Views
2. Read Register and Extended Register attributes and values.
3. Read Data attributes and values
4. Read Clock attributes and values
5. Read Profile attributes (all but buffer)
6. Read one row from buffer for last read.
7. Save GXDLMSObjectCollection.
The reason I wanted to read all scalars and units was to have them applied on the buffer values. (I noted that it was not applied if you only read attribute 3, I also had to read the value from attribute 2 for this to work on the register).
Later when I want to read profiles (by date-range) where I have stripped seconds, milliseconds and tested with all possible skips, I get "Access Error: Device reports unmatched type".
At first I read many posts on the forum that suggested that it could be something wrong with the Clock, I tested many variations.
Now I did some tests where I compared my XML with XML saved by GXDLMSDirector and could see that the clock object values have "Cell Type="10" (string?), while using GXDLMSClient saving the ObjectCollection have "Cell Type="25" (DateTime).
Could the loaded data types, from the configuration file, cause the Unmatched Type error because it specified as DateTime instead of string? I do not get this error with DLMSDirector, only when loading my XML Configuration after reading all objects with all attributes.
I will try to catch the actual trace for it.
Hi, When you are reading…
Hi,
When you are reading profile generic profiles it doesn't use the clock object.
Can you add the hex trace so I can check from the bytes what might be the reason for this?
BR,
Mikko