Questions tagged [asammdf]

64 questions
0
votes
0 answers

Anaconda, unable to install last version of asammdf

I installed recently Anaconda and need to use asammdf. Standard was 5.8.0 installed, I need 5.21.0. Running the installer from https://anaconda.org/conda-forge/asammdf did not update the package. Then I installed a new environnement and asammdf and…
Julien
  • 139
  • 13
0
votes
1 answer

asammdf export mf4 to csv

I have a .MF4 file and want to export a list of Channels to a CSV file. Following is the function i used: list.export(fmt='csv', filename='foo.csv',single_time_base=True, overwrite = True) empty_channels are skipped by default see documentation in…
0
votes
1 answer

Asammdf extracting more metadata

Hi I am using asammdf library for handling MF4 files. When I open the file using asammdf GUI , in Info tab I can see information . I am trying to extract the same info by calling .info() function on the same file as below. data =…
srinivast6
  • 309
  • 3
  • 8
0
votes
2 answers

Convert MDF4 to Dataframe, plot it and save as image

I have logger measurement data as a mdf4 file. I need to visualize some of the signals and save it as an image. While the asammdf GUI can plot signals, I couldn't find a way to save the plot as an image. That's why I'm trying to convert the mdf4…
Kutuloo
  • 33
  • 5
0
votes
0 answers

Import MF4 in CANoe after filterd with asammdf

I want to filter MF4 files using a signal list and import them into CANoe. For filtering I use the following asammdf code: from asammdf import MDF import re channels_to_keep=[] filter = open(signallist.lab,'r') inputMF4 = bigData.MF4 mdf =…
0
votes
1 answer

Reading between tags in MDF file?

I'd like to read specific user inputted comments between tags in an MDF/MDF3 file with python. Is this possible using asammdf or mdfreader? Parsing through the file the 'pythonic' way is giving gibberish results for some files
0
votes
1 answer

How to install a package on my jupyter notebook that is only available on pip and not in conda?

I am trying to install a package using pip on my cluster which is behind my company's proxy server. My company has a full clone for all the conda packages. Any request to install any packages goes to my company's conda packages cloud from where we…
Himanshu Poddar
  • 7,112
  • 10
  • 47
  • 93
0
votes
2 answers

load specific channels from mdf (.mf4) file

I am loading many large .mf4 files using the package asammdf. These files have many channels that I am not interested in and the input is the bottleneck of my program. So my question is: Can I somehow only load specific channels from the file to…
Jonas
  • 1,838
  • 4
  • 19
  • 35
0
votes
2 answers

timestamps not aligned when reading from mdf (python, asammdf)

When I read from an mdf (.mf4) file with asammdf (Python 3.7), as soon as the sample count crosses a barrier, the timestamps start counting up from close to 0 again, like an overflow :for 3 files exactly at 29045 lines, one file at 27234 lines for…
wiseboar
  • 175
  • 2
  • 13
0
votes
2 answers

change specific value in mdf-object (python, asammdf)

I would like to change some values in an mdf file (specifically, I would like to check for consistency, since the measurement instrument for some reason writes 10**10 when no value could be found). I can't figure out how to access specific values…
wiseboar
  • 175
  • 2
  • 13
0
votes
1 answer

Write csv to mdf4 file with header informations?

is there any way to convert csv to mdf4 with asammdf and transfer the header informations too? When i create a mdf4 file with a modified version of this code from asammdf import MDF import pandas as pd df = pd.read_csv('input.csv') mdf =…
William
  • 15
  • 1
  • 7
0
votes
1 answer

Looking for a way to write a csv file to mdf4 format?

looking for a way to write/convert .csv data to mf4 format programatically. I have done it singularly using IPEmotion. I have checked out https://www.turbolab.de/mdf_libf.htm and opened up their code listed on that site. If anyone has even used…
elmorro
  • 3
  • 1
  • 2
0
votes
2 answers

How to fix 'import asammdf' error in Python 3

I am trying to read some MDF files, so that I am planning to use asammdf package in Python 3. I have installed latest version asammdf 5.6.0 in my anaconda environment in Windows 10 by using the command conda install -c conda-forge asammdf (as…
Samudranil Roy
  • 211
  • 1
  • 4
  • 14
-1
votes
1 answer

Pyinstaller : .exe file doesn't work the same way as in IDE

I have written a python script, using eel for the GUI, that converts & does some calculations on files in a folder. For this, i am using a python library called asammdf. The code works well in an IDE but when i use pyinstallerand create a .exe file…
Suprava
  • 69
  • 6
-1
votes
1 answer

ASAMMDF - MemoryError: Unable to allocate 16.8 MiB for an array with shape (2207220,) and data type float64

I am trying to extract data from a ".dat" file by using asammdf. After extracting the data using asammdf, I am trying to convert the data into a dataframe that can be analyzed using pandas and matplotlib. Following is the code that I am using for…
RanjanN
  • 21
  • 4