hardbyte / hardbyte/python-can

blf FIle Metadata

未关闭
#1,820 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Python
星标
1.6k
派生
697
PR 合并指标
30 天内没有已合并 PR

描述

### Is your feature request related to a problem? Please describe.
When using the `BLFReader()`, file metadata is scarce (file, object_count, sizes, timestamps). Some other information would be very interesting, like applications that created the file and especially the channel list and channel types.

### Describe the solution you'd like
Add more metadata to the blf object, namely application name and especially channel information. This should be in the file metadata since other software (namely MATLAB) produces fairly detailed data on channels before loading actual data, like
```
ChannelID Protocol Objects
_________ ________ _______

1 "CAN" 0
2 "CAN FD" 6048410
3 "CAN" 5782778
4 "CAN FD" 0
```

This can really help parsing the file. Alternatives see below

### Describe alternatives you've considered
When running through the message genarator, messages contain the channel attribute. This is just an `int` value which suffices to sort the messages but has no informations as shown above.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。