asammdf
asammdf copied to clipboard
Asammdf does not read vectors, so it skips them.
Python version
'python=3.11.9 (main, Apr 24 2024, 11:58:32) [GCC 12.2.0]' 'os=Linux-5.15.0-105-generic-x86_64-with-glibc2.36' 'numpy=1.26.4' 'asammdf=7.4.2'
Code
MDF version
4.10.
Code snippet
from asammdf import MDF
# Path to your MDF4 file
file_path = 'path/to/your/file.m4f'
# Load the MDF4 file
mdf = MDF(file_path)
# Read data from channel 'RadarData'
test = mdf.get('RadarData')
Traceback
MdfException: Channel "RadarData" not found The channel exists and it is a vector like [ 128 4 149 254 7 0 0 0 0 ...]
Description
Asammdf cannot get data from the channel 'RadarData' because it is a vector instead of containing a single value.
Please share a screenshot with the asammdfgui
I think your channel is part of a structure and it is missing the leading part
Here you are, I looked in every single channel, but the target does not appear. By the way, thank you so much for this initiative and all your efforts.
what about if you search for it
It finds only the other two channels, but no "RadarData"
Then there is no RadarData channel in your file