Canlib

Latest version: v1.25.393

Safety actively analyzes 623936 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.25.393

This version was released by [www.kvaser.com](http://www.kvaser.com/) on 23-FEB-2024

Notable fixes and enhancements:

* Minor changes.

1.24.935

This version was released by [www.kvaser.com](http://www.kvaser.com/) on 19-SEP-2023

Notable fixes and enhancements:

* Minor changes.

1.23.804

This version was released by [www.kvaser.com](http://www.kvaser.com/) on 10-MAY-2023

Notable fixes and enhancements:

* `.canlib`:

- Added support for time domains `~canlib.canlib.TimeDomain`.

1.22.565

This version was released by [www.kvaser.com](http://www.kvaser.com/) on 13-SEP-2022

Notable fixes and enhancements:

* `.canlib`:

- Added support for object buffers `.canlib.objbuf`.

1.21.463

This version was released by [www.kvaser.com](http://www.kvaser.com/) on 29-MAY-2022

Notable fixes and enhancements:

* General:

- Added CAN FD versions of examples:

- `pinger_example` (`pinger_fd_example`), and
- `dbmonitor_example` (`dbmonitor_fd_example`).

* `.canlib`:

- Added exceptions `.canlib.CanTimeout` and `.canlib.CanOverflowError`.

- Added new bitrate constant `~.canlib.BitrateFD.BITRATE_2M_60P`.

- Added support for `.canlib.MessageFlag.LOCAL_TXACK`. This requires CANlib
SDK v5.39 or newer.

- Checking for `.canlib.MessageFlag.OVERRUN` using ``in`` will now return
``True`` if either `~.canlib.MessageFlag.SW_OVERRUN` or
`~.canlib.MessageFlag.HW_OVERRUN` is set.

* `.kvadblib`:

- Added read only property `.kvadblib.Message.canflags` which returns
relevant ``VFrameFormat`` attributes converted into `.canlib.MessageFlag`
(e.g. the J1939 ``VFrameFormat`` attribute does not have a corresponding
flag and is excluded).

- `.kvadblib.Message.asframe()` now include CAN FD flags on the returned
`~canlib.Frame`. Note that this requires CANlib SDK v5.39 or newer.

1.20.360

This version was released by [www.kvaser.com](http://www.kvaser.com/) on 15-FEB-2022

Notable fixes and enhancements:

* General:

- Python 3.10 is now officially supported.

- Fixed `canlib.connected_devices()` to ignore removed devices, instead of
raising an exception.

- Added `.canlib.exceptions.CanGeneralError` to documentation, noting that
this should *not* be caught explicitly.

- Extracted tutorial sample code into standalone files, updated bus
parameters in CAN FD code to work with U100.

* `.canlib`:

- Removed internal attribute `Channel.flags`, use
`.canlib.ChannelData.channel_flags` instead.

- Corrected return value of `~canlib.canlib.Channel.is_can_fd` when channel
was opened explicitly using `~canlib.canlib.Open.NO_INIT_ACCESS`. Now
also always returns a `bool`.

- Added `.ChannelData.bus_param_limits` (wraps canCHANNELDATA_BUS_PARAM_LIMITS)

- Added t Programming chapter to documentation.

- Corrected name of bitrate constant inside table in "Set CAN Bitrate" chapter.

* `.linlib`:

- Deprecated `~.linlib.Channel.getCanHandle`, use `~.linlib.Channel.get_can_channel`
instead.

* `.kvlclib`:

- `.kvlclib.WriterFormat.getPropertyDefault` and
`.kvlclib.ReaderFormat.getPropertyDefault` now returns `None` if property do
not support get/set, as e.g. `~.kvlclib.Property.SIGNAL_BASED`.
- Added support for experimental format KME60
- Clarified usage of `.kvlclib.Converter.addDatabaseFile()`.

* `.kvadblib`:

- Added support for Attribute Definition of type HEX,
`.kvadblib.AttributeType.HEX`.
- Comment and Unit on a signal now converts cp1252 coding to utf-8.
- Added support for experimental format KME60

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.