Hii,
I have done some changes to response frame as per compact array example for profile generic class in green book.
Now i am getting the error that "The number of columns does not mathc." also in access rights table attribute 2 data type is shown as "Array" rather than "Compact array"
Following is the log of reading capture objects of 1.0.71.7.0.255 (All harmonics - Current phase 3)
there are total 64 objects of register class with index of attribute 0 and data index of 0
64 objects includes All harmonics (Fundamental or 1st to 63th harmonics plus relevant THD value which is the last object in the list.
In your capture object list, there are 64 columns, but when you return the data there is only one column.
You must return the correct amount of columns when the client reads the buffer.
The data types of the data must also match the data types in the object list.
Hii,
Hii,
I have done some changes to response frame as per compact array example for profile generic class in green book.
Now i am getting the error that "The number of columns does not mathc." also in access rights table attribute 2 data type is shown as "Array" rather than "Compact array"
Following is the log:
12:07:08 Reading profile generic data
TX: 7E A0 4F 00 02 BA 69 61 BA 26 74 E6 E6 00 C0 01 C1 00 07 01 00 34 07 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 15 FF 00 00 00 FF FE B6 00 09 0C 07 E6 01 16 FF 00 00 00 FF FE B6 00 01 00 3B D7 7E
12:07:08
RX: 7E A0 58 61 00 02 BA 69 DA 0C DA E6 E7 00 C4 01 C1 00 13 02 01 11 40 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2C FF 7E
Thank you,
BR,
AP
Hi,
Hi,
Can you read capture objects and add a hex string log here?
BR,
Miko
Hii,
Hii,
Following is the log of reading capture objects of 1.0.71.7.0.255 (All harmonics - Current phase 3)
there are total 64 objects of register class with index of attribute 0 and data index of 0
64 objects includes All harmonics (Fundamental or 1st to 63th harmonics plus relevant THD value which is the last object in the list.
3:02:58 pm Reading object 1.0.71.7.0.255, interface ProfileGeneric
7E A0 1C 00 02 BA 69 61 98 97 AC E6 E6 00 C0 01 C1 00 07 01 00 47 07 00 FF 03 00 D8 3E 7E
3:02:58 pm Get profile generic columns...
7E A0 1C 00 02 BA 69 61 98 97 AC E6 E6 00 C0 01 C1 00 07 01 00 47 07 00 FF 03 00 D8 3E 7E
3:02:59 pm
7E A1 E1 61 00 02 BA 69 B8 C9 0A E6 E7 00 C4 02 C1 00 00 00 00 01 00 82 01 C6 01 82 00 40 02 04 12 00 03 09 06 01 00 47 07 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 03 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 04 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 05 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 06 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 07 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 08 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 09 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 0A FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 0B FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 0C FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 0D FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 0E FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 0F FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 10 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 11 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 12 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 13 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 14 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 15 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 16 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 17 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 18 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 19 FF 0F 02 12 00 00 A1 D9 7E
15:02:59 Get Next Data block.
3:02:59 pm Get profile generic columns...
7E A0 16 00 02 BA 69 61 BA D0 47 E6 E6 00 C0 02 C1 00 00 00 01 51 BE 7E
3:02:59 pm
7E A1 DD 61 00 02 BA 69 DA 0D 2D E6 E7 00 C4 02 C1 00 00 00 00 02 00 82 01 C2 02 04 12 00 03 09 06 01 00 47 07 1A FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 1B FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 1C FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 1D FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 1E FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 1F FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 20 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 21 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 22 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 23 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 24 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 25 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 26 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 27 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 28 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 29 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 2A FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 2B FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 2C FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 2D FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 2E FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 2F FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 30 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 31 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 32 FF 0F 02 12 00 00 C6 94 7E
15:02:59 Get Next Data block.
3:02:59 pm Get profile generic columns...
7E A0 16 00 02 BA 69 61 DC E0 41 E6 E6 00 C0 02 C1 00 00 00 02 CA 8C 7E
3:03:00 pm
7E A1 17 61 00 02 BA 69 FC 75 C1 E6 E7 00 C4 02 C1 01 00 00 00 03 00 82 00 FC 02 04 12 00 03 09 06 01 00 47 07 33 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 34 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 35 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 36 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 37 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 38 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 39 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 3A FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 3B FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 3C FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 3D FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 3E FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 3F FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 47 07 7C FF 0F 02 12 00 00 FA B8 7E
BR,
AP
Hi,
Hi,
In your capture object list, there are 64 columns, but when you return the data there is only one column.
You must return the correct amount of columns when the client reads the buffer.
The data types of the data must also match the data types in the object list.
BR,
Mikko