Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用大型 CAN 日志,并且只能访问 .mf4 文件。我想知道您是否可以获得发送某个信号的时间戳,就像加载 .log 文件一样。我只遇到过mdf.to_dataframe()需要光栅并完全破坏采样时间的命令。我需要查看 CAN 线上的设备发送连续消息所需的时间。
mdf.to_dataframe()
谢谢
from asammdf import MDF with MDF('can_logging.mf4') as mdf: messages = mdf.get('CAN_DataFrame') print(messages.timestamps)