For example: CN01_DOM01_VAR01_Index2100_Sub1E_StatusInput01
<CNxx><DOMxx><VARXX><StructName><varDeclarationName>
We import the xap.xml in a third parties tool to name each PDO objets with an intelligible name.
With this new naming convention we lose this information.
Can we keep at least <ObjectName> and <subIndexName> ?
Best regards,
Romain
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thx for the bug report. I have fixed the padding issue and pushed it to my dev branch. The fix will be included in the 2.0.1 bug fix release which will be released soon.
Best regards,
Christoph
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
It seems there is a problem with the PDO padding with OC 2.0.0.
Here is the mapping with OC 1.4.1:
Then the same with OC 2.0.0:
AbsPos01ActVal should be 32bits alligned.
Best regards,
Romain
Here is an archive cantaining the FiedBus and OC project.
Best regards,
Romain
Hello,
By looking at xap.xml files generated with each OC version, you can see that the PDO objects naming has changed:
With OC 1.4.1:
For example : CN1.M00.X20PS9400a.StatusInput01
<CNx>.<Mxx>.<ObjectName>.<subIndexName>
With OC 2.0.0:
For example: CN01_DOM01_VAR01_Index2100_Sub1E_StatusInput01
<CNxx><DOMxx><VARXX><StructName><varDeclarationName>
We import the xap.xml in a third parties tool to name each PDO objets with an intelligible name.
With this new naming convention we lose this information.
Can we keep at least <ObjectName> and <subIndexName> ?
Best regards,
Romain
Hello Romain,
Thx for the bug report. I have fixed the padding issue and pushed it to my dev branch. The fix will be included in the 2.0.1 bug fix release which will be released soon.
Best regards,
Christoph
Hello Chrisoph,
Thanks for the fix.
I'm able now to test the OC plugin, so I backported [1] on v2.0.0 release.
It fixes the padding issue in xap.h file but not in xap.xml
From xap.h:
From xap.xml:
The PIOffset of CN01_DOM02_VAR01_Index2101_Sub1E_AbsPos01ActVal should be 0x0004.
Best regards,
Romain
[1] https://github.com/brrueckerc/openconfigurator-core/commit/c13a5c3d545c9bced4803b11b0f79ea7bd8f7be9
Hi Romain,
Thx for the report. I have amended the fixing commit with the patch.
https://github.com/brrueckerc/openconfigurator-core/commit/c047b639b1195d976256b9dcb31fac8861ba6f83
Best regards,
Christoph
Hi Christoph,
Thanks, I checked that the xap.xml and xap.h mapping is fine :)
Best regards,
Romain