robincornelius / libedssharp

A CanOpen EDS editor and library in C# with CanOpenNode export for Object Dictionary
GNU General Public License v3.0
227 stars 134 forks source link

.xdd file format corrupted datatype unsigned48 to Octet String. #253

Closed davidsmoot closed 3 years ago

davidsmoot commented 3 years ago

Cloned version today, title bar says "v0.8-126-g869ed49" and ran solution in VS 2019.

Opened an existing, known good .eds from a previous developer. One of the SDO's has a datatype of "unsigned48" (0x0018).

Saved the project in the .xdd format.

The datatype of that SDO was changed from "unsigned48" to "Octet string" (0x000A) when I exported again back to eds.

Thanks for the tool. David

CANopenNode commented 3 years ago

unsigned48 and similar are deprecated in the new version. New xdd format does not support them, but older formats should still work.

davidsmoot commented 3 years ago

Fair enough. Closing the issue then. I did not see a dialog to save in an older format but I suppose I could use an older version of the tool. The solution for me was to not go through the project format. Import EDS, make edit, export EDS. But that leads me to another bug I am about to file...

JuPrgn commented 3 years ago

The export format is configurable on Tools > Preferences