Enumerations

AttributeOwner

class canlib.kvadblib.AttributeOwner(value)[source]

An enumeration.

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)[source]

An enumeration.

ENUM = 4
FLOAT = 3
INTEGER = 1
INVALID = 0
STRING = 5

Error

class canlib.kvadblib.Error(value)[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)[source]

An enumeration.

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)[source]

An enumeration.

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)[source]

An enumeration.

INTEL = 0
MOTOROLA = 1

SignalMultiplexMode

class canlib.kvadblib.SignalMultiplexMode(value)[source]

An enumeration.

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)[source]

An enumeration.

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