-
-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_fmt_v4() does not handle all cases #343
Comments
Hello Tim, can you print the variable channel before calling get_fmt_v4 ? |
This looks strange: a VLSD channel with bit count = 1? Did you open the file with MDFValidator? |
you will find the fix in version 5.19.11 |
actually version 5.19.12 |
can you share a MDFValidator screenshot of the Channel group that contains this channel? |
hey, @danielhrisca , there are still some un-handles casees in version 5.20.6 e.g. there is no |
I added the following inside # by-pass MIME_SAMPLE || MIME_STREAM types
if channel.data_type == 11 or channel.data_type == 12 :
print("**WARNING** channel.data_type", channel.data_type, " is ignored\n")
ch_addr = channel.next_ch_addr
continue
# by-pass additionaly VALUE_TYPEs
# e.g. Functions(Matlab/Simulink, Algorithms),
# Global variables
# Objects
# Measurement signal(multimedia)
if channel.data_type > 16 or channel.data_type < 0 :
print("**WARNING** channel.data_type", channel.data_type, "is ignored\n")
ch_addr = channel.next_ch_addr
continue |
@david-gwa |
there are Simulink objects/ cam-stream data in our mf4 files. which are very customized, thanks |
I am not sure it's a good idea to play cam-stream as a plugin in asammdf... there maybe some needs. |
Python version
('python=3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 15 2019, 00:11:34) [MSC v.1916 64 '
'bit (AMD64)]')
'os=Windows-10-10.0.17763-SP0'
'numpy=1.17.4'
'asammdf=5.19.10'
Code
MDF version
4.11
Code snippet
Traceback
Description
It seems to me that the function get_fmt_v4() cannot handle all cases
The text was updated successfully, but these errors were encountered: