We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please write here the output of printing sys.version 3.9
sys.version
Please write here the output of printing platform.platform() Windows 11
platform.platform()
Please write here the output of printing numpy.__version__
numpy.__version__
Please write here the output of printing mdfreader.__version__ V4.1
mdfreader.__version__
I read a signal (LMotSpd) with MDFReader V4.1.
yop.get_channel('LMotSpd')
Out[32]: {'unit': 'rpm', 'description': ' Motor Present Speed\nºóÇý¶¯µç»úתËÙ·´À¡', 'master': 't_8_8', 'masterType': 0, 'data': array([24999, ..., 24999], dtype=uint16),
The data did not consider the offset of 25000. The signal definition in CAN database is uint16, factor =1, offset = -25000.
So the first data point is -1 RPM, instead of 24999 RPM.
Commercial software, e.g. AVL Concerto, Vector CANalyzer can process the mdf file correctly.
Please fix the issue.
Thanks,
The text was updated successfully, but these errors were encountered:
Thanks @max3-2 for solving my problem.
Sorry, something went wrong.
Refer to #204
No branches or pull requests
Python version
Please write here the output of printing
sys.version
3.9
Platform information
Please write here the output of printing
platform.platform()
Windows 11
Numpy version
Please write here the output of printing
numpy.__version__
mdfreader version
Please write here the output of printing
mdfreader.__version__
V4.1
Description
I read a signal (LMotSpd) with MDFReader V4.1.
yop.get_channel('LMotSpd')
Out[32]:
{'unit': 'rpm',
'description': ' Motor Present Speed\nºóÇý¶¯µç»úתËÙ·´À¡',
'master': 't_8_8',
'masterType': 0,
'data': array([24999, ..., 24999], dtype=uint16),
The data did not consider the offset of 25000.
The signal definition in CAN database is uint16, factor =1, offset = -25000.
So the first data point is -1 RPM, instead of 24999 RPM.
Commercial software, e.g. AVL Concerto, Vector CANalyzer can process the mdf file correctly.
Please fix the issue.
Thanks,
The text was updated successfully, but these errors were encountered: