[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can.io.BLFReader #257

Open
nexulm opened this issue Jan 27, 2021 · 1 comment
Open

can.io.BLFReader #257

nexulm opened this issue Jan 27, 2021 · 1 comment

Comments

@nexulm
Copy link
nexulm commented Jan 27, 2021

How can I extract the header lines from a .blf files?
.asc starts always with this first line, i.e:
date Fre Jan 22 13:20:12.005 2021

I need the information of Date and time of measurement start.
start_timestamp returns only "13:12:12.005" and not the date (here: 2021/01/22)

@eerimoq
Copy link
Collaborator
eerimoq commented Jan 27, 2021

can is a differnt project. Check here: https://github.com/hardbyte/python-can

VonSquiggles pushed a commit to VonSquiggles/cantools that referenced this issue May 13, 2022
…ols#252)"

This reverts commit ebad5da.
Will merge instead the PR cantools#257 with cumulative changes
VonSquiggles pushed a commit to VonSquiggles/cantools that referenced this issue May 13, 2022
* pdo: Document relation between start() and the period attribute.

* pdo: Add a property to check if period updates are transmitted.

* p402: Skip sending the controlword RPDO if configured with a period.

Transmitting the RPDO only makes sense if the value takes effect
immediately.  If there is already a cyclic task configured, or the
transmission type configuration requires a SYNC to be sent for the
change to apply, there is no sense in sending the PDO automatically in
the controlword setter.

* p402: Use RPDO to set the operation mode if possible.

Fall back to the previous behavior using SDO if the relevant object
0x6060 is not mapped to an RPDO.

* p402: Use TPDO to get the operation mode if possible.

Fall back to the previous behavior using SDO if the relevant object
0x6061 is not mapped to a TPDO.  The property getter still blocks
until an up-to-date value was received, by waiting for the respective
TPDO up to a configurable timeout of 0.2 seconds by default.  If the
TPDO does not look like it will be transmitted regularly (from its
is_periodic property), the method will not block and just return the
last received TPDO's value.

A lookup cache tpdo_pointers is added to keep track of the needed
pdo.Map instance, analog to the rpdo_pointers.

* p402: Improve documentation on PDO tracking dicts.

Consistently use empty dict literal for initialization.  Provide more
useful comments about the expected contents.

* p402: Check PDO configuration for the Operation Mode objects.

Switching operation modes for several drives simultaneously must be
done via PDO.  There is still a fallback mechanism via SDO, but a
warning should be issued when that is about to be used.

Co-authored-by: André Filipe Silva <af-silva@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants