If anyone has some MDF files that they could contribute to the project for testing I would really appreciate it. It will result in a better library implementation if test files are available. In particular I am looking for channels with an odd number of bits (not 8, 16, 32, etc). Also channels that have polynomial or other conversions besides linear and interpolation tables.
Thanks,
Tony
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are even more than one of those combinations. This is a file exported/saved in CANape. As stated on their homepage this is the MDF standard 3.3, not the latest version.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It would really help out if I could get a file that is having an issue. Are you able to open and view any of your files? The MDF library was written to the V3.0 standard.
I looked at the code and it should handle the names as long as they are distinct. I'm not sure why it is get truncated at dummy_name_vk_b[ and doesn't have the full name.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I made an update to the library to used the ASAM names for all channels if they are available. This might solve your issue. Please try update 0.2.4 to see if it fixes your issue.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm glad it worked out for you. Let me know if you have any other issues.
If you haven't found it, there are some short PDF tutorials in the files section. I think one of them shows how to do a batch CSV export from multiple MDF files. You need to save a configuration file with all of the channels prior to starting a batch export. This file is also useful to reload a set of channels when viewing a new MDF file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If anyone has some MDF files that they could contribute to the project for testing I would really appreciate it. It will result in a better library implementation if test files are available. In particular I am looking for channels with an odd number of bits (not 8, 16, 32, etc). Also channels that have polynomial or other conversions besides linear and interpolation tables.
Thanks,
Tony
Unfortunately I don't think I can contribute my MDF files as they are not from myself. But I have a problem opening them. I get the following error:
Which MDF version are you supporting? I think this problem occurs because of multi-dimensional signals.
Do you have multiple signals with the name dummy_name_vk_b.... in your selection list?
It seems there are really multiple equally named signals:
There are even more than one of those combinations. This is a file exported/saved in CANape. As stated on their homepage this is the MDF standard 3.3, not the latest version.
It would really help out if I could get a file that is having an issue. Are you able to open and view any of your files? The MDF library was written to the V3.0 standard.
I looked at the code and it should handle the names as long as they are distinct. I'm not sure why it is get truncated at dummy_name_vk_b[ and doesn't have the full name.
I made an update to the library to used the ASAM names for all channels if they are available. This might solve your issue. Please try update 0.2.4 to see if it fixes your issue.
Yes, that solved the issue. Thanks a lot for your support!
I'm glad it worked out for you. Let me know if you have any other issues.
If you haven't found it, there are some short PDF tutorials in the files section. I think one of them shows how to do a batch CSV export from multiple MDF files. You need to save a configuration file with all of the channels prior to starting a batch export. This file is also useful to reload a set of channels when viewing a new MDF file.