Menu

MDF Test Files

Help
2013-09-14
2014-01-17
  • Tony Fountaine

    Tony Fountaine - 2013-09-14

    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

     
  • Sebastian Walderich

    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:

    System.Data.DuplicateNameException: A column named 'dummy_name_vk_b[' is already part of this DataTable.

    Which MDF version are you supporting? I think this problem occurs because of multi-dimensional signals.

     
  • Tony Fountaine

    Tony Fountaine - 2014-01-03

    Do you have multiple signals with the name dummy_name_vk_b.... in your selection list?

     
  • Sebastian Walderich

    It seems there are really multiple equally named signals:

    dummy_name_vk_b
    dummy_name_vk_b[0]
    dummy_name_vk_b[1]

    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.

     
  • Tony Fountaine

    Tony Fountaine - 2014-01-04

    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.

     
  • Tony Fountaine

    Tony Fountaine - 2014-01-06

    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.

     
  • Sebastian Walderich

    Yes, that solved the issue. Thanks a lot for your support!

     
  • Tony Fountaine

    Tony Fountaine - 2014-01-17

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.