Datatype information is being lost
Hi there,
I have been using this software to convert .EDS to .XDD for use in another piece of software called KickDrive Zero, I have found this software requires using the "CANopen XDD V1.0, old" filetype when exporting.
I have noticed that when exporting using this filetype that a large number of entries lose their datatype information.
It does not seem to make a difference whether CANOPENNODE_V4 or CANOPENNODE_LEGACY is used as the exporter.
For example:
EDS:
[1003sub0]
ParameterName=Number of Errors
ObjectType=0x7
DataType=0x0005
AccessType=rw
DefaultValue=0
PDOMapping=0
.XDD (V1.0):
<parameter uniqueID="UID_PARAM_100300" access="readWrite">
<label lang="en">Number of Errors</label>
<description lang="en"></description>
<denotation>
<label lang="en"></label>
</denotation>
<defaultValue value="0" />
</parameter>
<CANopenSubObject edseditor_extension_notifyonchange="false" subIndex="0000" name="Number of Errors" objectType="7" dataType="0000" lowLimit="" highLimit="" accessType="rw" actualValue="" denotation="" PDOmapping="no" uniqueIDRef="UID_PARAM_100300" />```
Hi there,
I have been using this software to convert .EDS to .XDD for use in another piece of software called KickDrive Zero, I have found this software requires using the "CANopen XDD V1.0, old" filetype when exporting.
cool
I have noticed that when exporting using this filetype that a large number of entries lose their datatype information.
That is very likely, the conversion is far from perfect
It does not seem to make a difference whether CANOPENNODE_V4 or CANOPENNODE_LEGACY is used as the exporter.
The CanOpenNode option mostly affects the result of the c-code exporters so that makes sense
For example:
EDS:
[1003sub0] ParameterName=Number of Errors ObjectType=0x7 DataType=0x0005 AccessType=rw DefaultValue=0 PDOMapping=0.XDD (V1.0):
<parameter uniqueID="UID_PARAM_100300" access="readWrite"> <label lang="en">Number of Errors</label> <description lang="en"></description> <denotation> <label lang="en"></label> </denotation> <defaultValue value="0" /> </parameter><CANopenSubObject edseditor_extension_notifyonchange="false" subIndex="0000" name="Number of Errors" objectType="7" dataType="0000" lowLimit="" highLimit="" accessType="rw" actualValue="" denotation="" PDOmapping="no" uniqueIDRef="UID_PARAM_100300" />```
Do you have a EDS file with the problem you could share so we could use it to test & fix the problem?
Please see attached .EDS example.zip
This was recently fixed with #147
Please use the latest release.
Closed due to lack of response from the OP