Enumerations

ChannelMask

class canlib.kvlclib.ChannelMask(value)[source]

Masking channels

The ChannelMask is used in Converter.addDatabaseFile to indicate which channels to use.

FIVE = 16
FOUR = 8
ONE = 1
THREE = 4
TWO = 2

Error

class canlib.kvlclib.Error(value)[source]

An enumeration.

BUFFER_SIZE = -15

Supplied buffer too small to hold the result.

CONVERTING = -14

Call failed since conversion is running.

EOF = -3

End of input file reached.

FAIL = -1

Generic error.

FILE_ERROR = -5

File I/O error.

FILE_EXISTS = -6

Output file already exists.

FILE_TOO_LARGE = -10

File size too large for specified format.

INTERNAL_ERROR = -7

Unhandled internal error.

INVALID_LOG_EVENT = -30

Event is unknown to converter.

MIXED_ENDIANESS = -33

Wrong data type in MDF.

NOT_IMPLEMENTED = -4

Not implemented.

NO_FREE_HANDLES = -12

Too many open KvlcHandle handles.

NO_INPUT_SELECTED = -13

Missing call to kvlcSetInputFile or kvlcFeedSelectFormat.

NO_TIME_REFERENCE = -31

Required timestamp missing.

NULL_POINTER = -8

Unexpected null pointer.

PARAM = -2

Error in supplied parameters.

RESULT_TOO_BIG = -34

Result is too big for an out-parameter

TIME_DECREASING = -32

Decreasing time between files.

TYPE_MISMATCH = -11

Supplied parameter has incorrect type.

FileFormat

class canlib.kvlclib.FileFormat(value)[source]

FILE_FORMAT_xxx

Format used for input and output, used in Converter.setInputFile().

Note

Not all formats are valid as both output and input format.

CSV = 4

Output file format.

CSV_SIGNAL = 100

Output file format.

DEBUG = 1000

Reserved for debug.

FAMOS = 105

Output file format.

FAMOS_XCP = 201

Output file format.

INVALID = 0

Invalid file format

J1587 = 103

Output file format.

J1587_ALT = 104

Obsolete.

KME24 = 1

Input and output file format.

KME25 = 2

Input and output file format.

KME40 = 7

Input and output file format.

KME50 = 9

Input and output file format.

MATLAB = 102

Output file format.

MDF = 101

Output file format.

MDF_4X = 107

Output file format.

MDF_4X_SIGNAL = 108

Output file format.

MDF_SIGNAL = 106

Output file format.

MEMO_LOG = 6

Input (internal device logfile format).

PLAIN_ASC = 5

Output file format.

VECTOR_ASC = 3

Output file format.

VECTOR_BLF = 8

Output file format.

VECTOR_BLF_FD = 109

Input and output format.

XCP = 200

Output file format.