Enumerations

AttributeOwner

class canlib.kvadblib.AttributeOwner(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
DB = 1

Database owner

ENV = 5

Environment owner

INVALID = 0

Invalid owner

MESSAGE = 2

Message owner

NODE = 3

Node owner

SIGNAL = 4

Signal owner

AttributeType

class canlib.kvadblib.AttributeType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
ENUM = 4
FLOAT = 3
HEX = 2
INTEGER = 1
INVALID = 0
STRING = 5

Error

class canlib.kvadblib.Error(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

kvaDbErr_xxx

BUFFER_TOO_SMALL = -14

The buffer provided was not large enough to contain the requested data.

DATABASE_INTERNAL = -8

An internal error occured in the database handler.

DB_FILE_OPEN = -7

Could not open the database file.

DB_FILE_PARSE = -15

Could not parse the database file

FAIL = -1

General failure.

INTERNAL = -6

An internal error occured in the library.

IN_USE = -13

An item is in use

NO_ATTRIB = -10

No attribute found

NO_DATABASE = -2

No database was found.

NO_MSG = -4

No message was found.

NO_NODE = -9

Could not find the database node.

NO_SIGNAL = -5

No signal was found.

ONLY_ONE_ALLOWED = -11

An identical kvaDbLib structure already exists (and only one database at a time can be used).

PARAM = -3

One or more of the parameters in call is erronous.

WRONG_OWNER = -12

Wrong owner for attribute

MessageFlag

class canlib.kvadblib.MessageFlag(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
EXT = 2147483648

Message is an extended CAN message

J1939 = 1

Message uses J1939 protocol

WAKEUP = 2

Message is a wakeup frame, currently not used

ProtocolType

class canlib.kvadblib.ProtocolType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
AFDX = 7
BEAN = 5
CAN = 0
CANFD = 9
ETHERNET = 6
FLEXRAY = 4
J1708 = 8
LIN = 2
MOST = 3
UNKNOWN = 10

Unknown or not specified protocol

VAN = 1

SignalByteOrder

class canlib.kvadblib.SignalByteOrder(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
INTEL = 0
MOTOROLA = 1

SignalMultiplexMode

class canlib.kvadblib.SignalMultiplexMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
MUX_INDEPENDENT = -1

Multiplex mode value of an independent signal

MUX_SIGNAL = -2

Multiplex mode value of a multiplexer signal

SIGNAL = 0

SignalType

class canlib.kvadblib.SignalType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
DOUBLE = 4

Double, strictly 64 bit long

ENUM_SIGNED = 101
ENUM_UNSIGNED = 102
FLOAT = 3

Float, strictly 32 bit long

INVALID = 0

Invalid representation

SIGNED = 1

Signed integer

UNSIGNED = 2

Unsigned integer