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.
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.
I am trying to read Iskraemeco meter. There are some Profile Generic objects. They report null values for 2nd row onward. I checked the communication log using C library as well as GXDLMSDirector. It appears that somehow Director application is able to show dates correctly. Is there anything missing in C library? Can you pls point the code in Director application which might be doing something to fix these null values?
I am attaching communication log for reference.
GXDLMSDirector 8.2.2112.2101
Log created 1:06:54 AM
1:06:58 AM Read object type ProfileGeneric index: 4
7E A0 1A 02 23 C9 BC D9 38 E6 E6 00 C0 01 C1 00 07 01 00 63 01 00 FF 04 00 84 DD 7E
1:06:58 AM
7E A0 16 C9 02 23 FA 19 DE E6 E7 00 C4 01 C1 00 06 00 00 0E 10 EC 92 7E
1:06:58 AM Read object type ProfileGeneric index: 5
7E A0 1A 02 23 C9 DE CD 78 E6 E6 00 C0 01 C1 00 07 01 00 63 01 00 FF 05 00 5C C4 7E
1:06:58 AM
7E A0 13 C9 02 23 1C 75 7A E6 E7 00 C4 01 C1 00 16 04 37 46 7E
1:06:58 AM Read object type ProfileGeneric index: 6
7E A0 1A 02 23 C9 F0 B1 B0 E6 E6 00 C0 01 C1 00 07 01 00 63 01 00 FF 06 00 34 EE 7E
1:06:59 AM
7E A0 23 C9 02 23 3E B4 AC E6 E7 00 C4 01 C1 00 02 04 12 00 08 09 06 00 00 01 00 00 FF 0F 02 12 00 00 BE 7F 7E
1:06:59 AM Reading profile generic data
7E A0 4D 02 23 C9 12 13 31 E6 E6 00 C0 01 C1 00 07 01 00 63 01 00 FF 02 01 01 02 04 02 04 12 00 08 09 06 00 00 01 00 00 FF 0F 02 12 00 00 09 0C 07 E6 01 09 FF 00 00 00 FF FF 10 00 09 0C 07 E6 01 0B FF 00 00 00 FF FF 10 00 01 00 00 3D 7E
1:06:59 AM
7E A8 64 C9 02 23 50 6A F6 E6 E7 00 C4 01 C1 00 01 1A 02 07 09 0C 07 E6 01 08 06 17 00 00 00 FF 4C 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 F3 97 7E
01:06:59 Get next frame.
1:06:59 AM Reading profile generic data
7E A0 08 02 23 C9 31 FC C5 7E
1:06:59 AM
7E A8 64 C9 02 23 52 78 D5 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 D6 5E 7E
01:06:59 Get next frame.
1:06:59 AM Reading profile generic data
7E A0 08 02 23 C9 51 FA A6 7E
1:06:59 AM
7E A8 64 C9 02 23 54 4E B0 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 D6 5E 7E
01:06:59 Get next frame.
1:06:59 AM Reading profile generic data
7E A0 08 02 23 C9 71 F8 87 7E
1:06:59 AM
7E A8 64 C9 02 23 56 5C 93 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 D6 5E 7E
01:06:59 Get next frame.
1:06:59 AM Reading profile generic data
7E A0 08 02 23 C9 91 F6 60 7E
1:06:59 AM
7E A8 64 C9 02 23 58 22 7A 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 D6 5E 7E
01:06:59 Get next frame.
1:06:59 AM Reading profile generic data
7E A0 08 02 23 C9 B1 F4 41 7E
1:06:59 AM
7E A8 64 C9 02 23 5A 30 59 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 D6 5E 7E
01:06:59 Get next frame.
1:06:59 AM Reading profile generic data
7E A0 08 02 23 C9 D1 F2 22 7E
1:06:59 AM
7E A8 64 C9 02 23 5C 06 3C 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 D6 5E 7E
01:06:59 Get next frame.
1:06:59 AM Reading profile generic data
7E A0 08 02 23 C9 F1 F0 03 7E
1:06:59 AM
7E A8 64 C9 02 23 5E 14 1F 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 D6 5E 7E
01:06:59 Get next frame.
1:06:59 AM Reading profile generic data
7E A0 08 02 23 C9 11 FE E4 7E
1:06:59 AM
7E A0 5C C9 02 23 50 C3 59 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 02 07 00 11 00 06 02 58 51 C7 06 00 00 00 00 06 00 7D B5 C4 06 00 00 6F 0A 05 00 00 00 00 49 5D 7E
1:06:59 AM Read object type ProfileGeneric index: 7
7E A0 1A 02 23 C9 34 99 30 E6 E6 00 C0 01 C1 00 07 01 00 63 01 00 FF 07 00 EC F7 7E
1:06:59 AM
7E A0 16 C9 02 23 72 59 D6 E6 E7 00 C4 01 C1 00 06 00 00 20 8F B1 47 7E
1:06:59 AM Read object type ProfileGeneric index: 8
7E A0 1A 02 23 C9 56 8D 70 E6 E6 00 C0 01 C1 00 07 01 00 63 01 00 FF 08 00 24 74 7E
1:06:59 AM
7E A0 16 C9 02 23 94 61 54 E6 E7 00 C4 01 C1 00 06 00 00 21 60 90 41 7E
====================================================================================
Another example
GXDLMSDirector 8.2.2112.2101
Log created 12:48:19 AM
12:48:23 AM Read object type ProfileGeneric index: 4
7E A0 1A 02 23 C9 96 81 B6 E6 E6 00 C0 01 C1 00 07 01 00 62 01 00 FF 04 00 AF D9 7E
12:48:23 AM
7E A0 16 C9 02 23 98 0D 9E E6 E7 00 C4 01 C1 00 06 00 00 00 00 7D 18 7E
12:48:23 AM Read object type ProfileGeneric index: 5
7E A0 1A 02 23 C9 B8 FD 7E E6 E6 00 C0 01 C1 00 07 01 00 62 01 00 FF 05 00 77 C0 7E
12:48:23 AM
7E A0 13 C9 02 23 BA 49 BA E6 E7 00 C4 01 C1 00 16 01 9A 11 7E
12:48:23 AM Read object type ProfileGeneric index: 6
7E A0 1A 02 23 C9 DA E9 3E E6 E6 00 C0 01 C1 00 07 01 00 62 01 00 FF 06 00 1F EA 7E
12:48:23 AM
7E A0 23 C9 02 23 DC A8 68 E6 E7 00 C4 01 C1 00 02 04 12 00 08 09 06 00 00 01 00 00 FF 0F 02 12 00 00 BE 7F 7E
12:48:23 AM Reading profile generic data 1.0.98.1.0.255
7E A0 2D 02 23 C9 FC D0 9E E6 E6 00 C0 01 C1 00 07 01 00 62 01 00 FF 02 01 02 02 04 06 00 00 00 1E 06 00 00 00 23 12 00 01 12 00 00 A2 1B 7E
12:48:23 AM
7E A8 64 C9 02 23 FE 1E BA E6 E7 00 C4 02 C1 00 00 00 00 00 00 81 B6 01 06 02 05 09 0C 07 E5 04 0F 04 0D 13 0A 00 FF 4C 00 06 02 58 51 C7 06 00 7D B5 C4 06 00 04 A6 00 05 00 00 00 00 02 05 09 0C 07 E5 07 17 05 01 33 21 00 FF 4C 00 06 02 58 51 C7 06 00 7D B5 C4 06 00 00 00 00 05 00 00 00 00 02 05 29 3E 7E
00:48:23 Get next frame.
12:48:23 AM Reading profile generic data 1.0.98.1.0.255
7E A0 08 02 23 C9 11 FE E4 7E
12:48:23 AM
7E A8 64 C9 02 23 F0 60 53 09 0C 07 E5 07 17 05 0A 31 29 00 FF 4C 00 06 02 58 51 C7 06 00 7D B5 C4 06 00 00 00 00 05 00 00 00 00 02 05 09 0C 07 E5 08 01 07 00 00 00 00 FF 4C 00 06 02 58 51 C7 06 00 7D B5 C4 06 00 00 00 00 05 00 00 00 00 02 05 09 0C 07 E5 09 01 03 00 00 00 00 FF 4C 00 06 02 58 51 8F 05 7E
00:48:23 Get next frame.
12:48:23 AM Reading profile generic data 1.0.98.1.0.255
7E A0 08 02 23 C9 31 FC C5 7E
12:48:23 AM
7E A0 1A C9 02 23 F2 61 25 C7 06 00 7D B5 C4 06 00 00 00 00 05 00 00 00 00 F2 FF 7E
00:48:23 Get Next Data block.
12:48:23 AM Reading profile generic data 1.0.98.1.0.255
7E A0 14 02 23 C9 5E 7D 9D E6 E6 00 C0 02 C1 00 00 00 00 D8 AF 7E
12:48:23 AM
7E A0 3B C9 02 23 14 8C CC E6 E7 00 C4 02 C1 01 00 00 00 01 00 24 02 05 09 0C 07 E5 0A 01 05 00 00 00 00 FF 4C 00 06 02 58 51 C7 06 00 7D B5 C4 06 00 00 00 00 05 00 00 00 00 04 0C 7E
12:48:24 AM Read object type ProfileGeneric index: 7
7E A0 1A 02 23 C9 70 B9 34 E6 E6 00 C0 01 C1 00 07 01 00 62 01 00 FF 07 00 C7 F3 7E
12:48:24 AM
7E A0 16 C9 02 23 36 79 D2 E6 E7 00 C4 01 C1 00 06 00 00 00 24 5B 7F 7E
12:48:24 AM Read object type ProfileGeneric index: 8
7E A0 1A 02 23 C9 92 A5 F0 E6 E6 00 C0 01 C1 00 07 01 00 62 01 00 FF 08 00 0F 70 7E
12:48:24 AM
7E A0 16 C9 02 23 58 01 58 E6 E7 00 C4 01 C1 00 06 00 00 00 24 5B 7F 7E
Hi,
Hi,
Iskraemeco is saving bytes and NULL value is used with the date-time column. This is not a common way and as far as I know, only Iskraemeco is using this.
I checked the ANSI C source code and notes that ANSI C doesn't support this. I created an issue from this and this is added for the next release.
http://gurux.fi/node/19543
In the next version, this will be handled automatically if you have read capture objects and capture period before you read the buffer.
BR,
Mikko
Hi,
Hi,
There is a new version where this is added. Let me know if you have any problems.
BR,
Mikko