01-09-2020 02:28 AM
Hi All,
I want to capture XCP data and store to a mf4 file.
It is easy to read and write mf4 file by DIAdem 2019 , but when it comes to LabVIEW , I don't know how to deal with mf4 file .
Please help me , thanks.
JoJo
Solved! Go to Solution.
01-09-2020 03:46 AM - edited 01-09-2020 03:50 AM
How-to-read-MDF-file-from-LabVIEW
Also, a search might help.
In short, use DataPlugins… Here's a list of plugins.
01-09-2020 10:03 AM
Don't expect too much from the .mf4 plugin. It works for small files but crashes if files get bigger. We notified NI about it with no response. We could not use it in our app so we had to develop a library using external dll.
01-09-2020 10:12 PM
Hi wiebe ,
I am Appreciate to recieve your reply .
Actually , I want to record XCP data to an mf4 file and my colleagues can use the data by Vector CANape.
An mf4 file contains many signals which consist of attributes like "t","signal value","signal name","signal length"....and so on . But we can only read or write value of "t" and "signal value" by using DataPlugin , so that the mf4 file I created will not store the other attributes , which cause people except me can not understand the meaning of these values.
JoJo
BestRegards .
01-09-2020 10:24 PM
Hi LucianM ,
Thanks for your advice .
Could you share your external dll or method to develop the lib to me ?
Thanks a lot .
JoJo
BestRegards.
01-09-2020 11:33 PM
Unfortunately I cannot share the wrapper VIs that we made but I can tell you that we used the dll from here.
Initially there was only a COM interface available but after some discussion with the developer he was nice enough to add a standard C interface which we used. I recommend to use this one instead of the COM.
01-10-2020 12:15 AM - edited 01-10-2020 12:17 AM
Hi LucianM ,
I must be the one who had saved the world in my preexistence so that I can be lucky enough to meet you : )) !
I can't tell you how much I appreciate your help .
JoJo
Best regards to you.