Enumerations¶
Device¶
Error¶
- class canlib.kvmlib.Error(value)[source]¶
An enumeration.
- CONFIG_ERROR = -41¶
Configuration error.
- CRC_ERROR = -21¶
CRC check failed.
- DEVICE_COMM_ERROR = -37¶
Device communication error.
- DISKFULL_DATA = -26¶
Disk full (data).
- DISKFULL_DIR = -25¶
Disk full (directory).
- DISK_ERROR = -24¶
General disk error.
- EOF = -12¶
End of file found.
- FAIL = -1¶
Generic error.
- FATAL_ERROR = -31¶
Fatal error.
- FILE_ERROR = -23¶
File I/O error.
- FILE_NOT_FOUND = -33¶
File not found.
- FILE_SYSTEM_CORRUPT = -28¶
File system corrupt.
- FIRMWARE = -40¶
Firmware error.
- ILLEGAL_REQUEST = -32¶
Illegal request.
- LOGFILEOPEN = -8¶
Can’t find/open log file.
- LOGFILEREAD = -14¶
Error while reading log file.
- LOGFILEWRITE = -11¶
Error writing log file.
- NOLOGMSG = -10¶
No log message found.
- NOSTARTTIME = -9¶
Start time not found.
- NOT_FORMATTED = -34¶
Disk not formatted.
- NOT_IMPLEMENTED = -30¶
Not implemented.
- NO_DISK = -13¶
No disk found.
- OCCUPIED = -38¶
Device occupied.
- OK = 0¶
OK!
- PARAM = -3¶
Error in supplied parameters.
- QUEUE_FULL = -20¶
Queue is full.
- RESULT_TOO_BIG = -43¶
Result is too big for an out-parameter.
- SECTOR_ERASED = -22¶
Sector unexpectadly erased.
- SEQ_ERROR = -27¶
Unexpected sequence.
- TIMEOUT = -36¶
Timeout.
- UNSUPPORTED_VERSION = -29¶
Unsupported version.
- USER_CANCEL = -39¶
User abort.
- WRITE_PROT = -42¶
Disk is write protected.
- WRONG_DISK_TYPE = -35¶
Wrong disk type.
FileType¶
LoggerDataFormat¶
LogFileType¶
SoftwareInfoItem¶
- class canlib.kvmlib.enums.SoftwareInfoItem(value)[source]¶
kvm_SWINFO_xxx
Different types of version information that can be extracted using kvmDeviceGetSoftwareInfo(), used internally by
Memorator
.- CONFIG_VERSION_NEEDED = 5¶
Returns the version of the binary format the device requires (param.lif).
- CPLD_VERSION = 6¶
Obsolete.
- DRIVER = 2¶
Returns the used driver version information.
- DRIVER_PRODUCT = 4¶
Obsolete. Returns the product version information.
- FIRMWARE = 3¶
Returns the device firmware version information.
- KVMLIB = 1¶
Returns the version of kvmlib.