This is the release notes for the pycanlib module.
Unknown interpreted text role "ref".
Unknown interpreted text role "ref".
Unknown interpreted text role "ref".
Unknown interpreted text role "ref".
in
will now return True
if either ~.canlib.MessageFlag.SW_OVERRUN or ~.canlib.MessageFlag.HW_OVERRUN is set.VFrameFormat
attributes converted into .canlib.MessageFlag (e.g. the J1939 VFrameFormat
attribute does not have a corresponding flag and is excluded).Unknown interpreted text role "ref".
dllversion()
, which will return canlib.BetaVersionNumber if the dll is marked as Beta. Also added canlib.prodversion()
to return the CANlib product version number.ean = canlib.EAN(ean_string)
instead of ean =
canlib.EAN.from_string(ean_string)
.printf()
by a script. This text is returned as a canlib.canlib.ScriptText object.Restructuring of code in order to make the API simpler and the code base more maintainable have resulted in the following changes (old style is deprecated, shown in details while running Python with the -Wd argument):
.major
and .minor
attributes..major
, .minor
, and .build
attributes.converter.format.getPropertyDefault(...)
.major
, .minor
, and .build
attributes..major
and .minor
attributes.KvaXmlStatusERR_XXX_XXX
is now Error.XXX_XXX
.KvaXmlValidationStatusERR_XXX_XXX
is now ValidationError.XXX_XXX
KvaXmlValidationStatusWARN
is now ValidationWarning.XXX_XXX
.KvaXmlStatusFail
is now Error.FAIL
(Changed to be consistent with other KvaXmlStatus errors). The same is true for ValidationError.FAIL
.KvaXmlStatusOK
and KvaXmlValidationStatusOK
are still treated as if they are constants, as they are not error statuses.