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 (i.e the name of the device placed at each index on the bus).
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:
I did not forget your request in your last post. We had internal discussion about and I will change the format to suite your demands.
The old format is a bit mixing apples with oranges because it is:
<CNx>.<Mxx>.<ObjectName>.<varDeclarationName>
So we thought about harmonising it. What do you think about this. This would most of the information I can get from the XDD about a dataObject.
<CNxx><ObjectName><SubObjectName><varDeclarationName>
Best regards,
Christoph
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
In a previous thread I reported a format change in xap.xml generated file, see:
https://sourceforge.net/p/openconf/discussion/help/thread/7b1d8c0c/#d8f7
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 (i.e the name of the device placed at each index on the bus).
With this new naming convention we lose this information.
Can we keep at least <ObjectName> and <subIndexName> ?
Best regards,
Romain
Here is an exemple of our xdc file.
Hi Romain,
I did not forget your request in your last post. We had internal discussion about and I will change the format to suite your demands.
The old format is a bit mixing apples with oranges because it is:
<CNx>.<Mxx>.<ObjectName>.<varDeclarationName>
So we thought about harmonising it. What do you think about this. This would most of the information I can get from the XDD about a dataObject.
<CNxx><ObjectName><SubObjectName><varDeclarationName>
Best regards,
Christoph
Hi Christoph,
Since I had no feedback on this topic, I took the opportunity to create a new thread to discuss about it :)
Yes, the new format is fine.
Thanks for your quick reply (as usual), It's very appreciated here.
Best regards,
Romain
Hi Romain,
I would propose the format you will find in the xap.xml
<CNxx><DOMXX><ObjectName><SubObjectName><varDeclarationName>
<DOMXX> & <varDeclarationName> only exists if a domain object is mapped.
Best regards,
Christoph
Last edit: Christoph Ruecker 2016-02-19
Hi Christoph,
I successfully imported this xap.xml in our third parties tool without any XML parser modification. That's great :)
Best regards,
Romain