Questions tagged [asammdf]
64 questions
0
votes
0 answers
How can I get Bus channel information in asammdf?
I'm trying to get information from .mdf files using Python.
There are same signal name with diffrent Bus channel. (ECU1 ~ ECU4)
So, I have to separate singals according to bus channel.
Is it possible to do that?
Sincerely, I need help.
Thanks.

Neoguri
- 11
- 1
0
votes
0 answers
Asammdf: What are channels, signals and samples
I‘m a student who has to work with MDF files and the Asammdf library.
As I am not advanced, I can‘t seem to wrap my head around what the aforementioned things are. Specifically the difference between a channel and a signal.
And does a MDF Object…

kerat
- 11
0
votes
0 answers
Asammdf Library: Why do missing values implicitly get removed?
I have a python script that aims to remove "missing values" from certain timestamps and variables.
I have not written this script myself and I'm trying to understand it.
The script basically copies all channels and signals from the original MDF file…

kerat
- 11
0
votes
0 answers
Saving to mdf3 using asammdf
I want to convert a blf-file (containing CAN-data) to a mdf (not mf4).
I'm able to decode the CAN-frames using the corresponding dbc-files, the messages are stored in a list and then converted into a pandas dataframe.
I create an empty MDF-object…

fejz1234
- 5
- 6
0
votes
0 answers
Concatenate or merge .mdf files with different channels
When attempting to merge mdf files, I receive some version of the following error:
asammdf.blocks.utils.MdfException: internal structure of file 2 is
different; different channels
I understand the reason for this error. My CAN device is only…
0
votes
0 answers
Reading MDF4-Files containing Ethernet Signals
I am trying to read logger measurement files whicha are in the .mf4-format.
For this I am using asammdf as following:
self.mdf = MDF("file.MF4", version="4.10")
If the .mf4 file only contains CAN-Bus or Flexray signals, it works just fine.
Now I am…

Tim
- 1
- 1
0
votes
0 answers
Split mf4 files
I have a memory problem when trying to convert mf4 files larger than 7mb (example 100mb). I would like to split my files larger than 7MB into several 7MB files. Is this possible?
Here is the error I have with the memory for large files
Unable to…

Lyes S
- 1
0
votes
1 answer
How to get physical conversion rate from mdf4
How can I extract the conversion factor and offset for the signals of an mdf4 file. I am using asammdf, but I couldn't figure out, from where it gets the information e.g. when I use the mdf.to_dataframe(raw=False) method.

abc
- 157
- 1
- 13
0
votes
1 answer
How to use interpolation in Asammdf? (Python)
I'm trying to read .mdf file and write it to .csv file.
I found irregular option(timestamps) but it had inconsistent gap.
How can I get a regular interval of time, say of 0.002s ?
My code is below.
from asammdf import MDF, set_global_option
import…

Neoguri
- 11
- 1
0
votes
0 answers
.mdf to .csv conversion using asammdf
I am using asammdf lib to convert .mdf to df object. But in df i got some random float values in place of some string like "NOVALUE". How to avoid randomly filling items while converting mdf_to df?
eg:
I had crosschecked with Original CSV:
0 …
0
votes
0 answers
Asammdf GUI not recognizing ID column as IDs (for CAN/J1939 IDs)
I'm trying to load this MF4 (MDF) file into asammdf GUI to extract its signals. The MF4 was created with Python using J1939 data extracted from a vehicle.
The MF4 loads correctly into asammdf GUI, and in the Bus Logging tab I've loaded a DBC…

teddysaurus
- 11
- 2
0
votes
1 answer
How to keep the same structure when copy the old MDF to a new MDF
I’m using python module asammdf.
I need to edit the data in a datalist from an md4 file and repack the result. I use mdf.append to copy the old channel and add new_channel, but in the end, the new MDF file has a different structure from the old MDF…

hljjj
- 21
- 3
0
votes
2 answers
Cannot install asammdf python package in docker
I need to use asammdf as part of my app to concatenate multiple .MF4 files. If you know about other ways, I will gladly try other packages.
Problem is that it runs on windows but once I try to build docker image (on linux) with asammdf (tried same…

Tomas Trdla
- 1,142
- 1
- 11
- 24
0
votes
0 answers
Is there a way to convert complete DataFrames to another datatype?
I was using the tool asammdf and realized that my DataFrame contains b-strings. I never heard and used that type of string before, however it is causing some problems with my other functions.
Do you know if there is a efficient way to convert my…

tlets
- 1
- 1
0
votes
0 answers
Zoom inset matplotlib with graphic instead of image
I'm currently writing a tool for handling MF4 files and plotting signals. I use asammdf for opening .mf4 files and getting info about the signals in them. I want to make a functionality that zooms in on a graphic whenever the signal reaches a…

rbsch
- 1