Commit graph

16 commits

Author SHA1 Message Date
Christian Sueltrop
dc965eb600 Minor cosmetics in example.py. 2012-10-16 10:14:07 +02:00
Christian Sueltrop
0bd378ccd6 Simplified the VW checksum calculation that is just a simple bitwise XOR over the CAN message bytes. 2012-10-16 10:13:33 +02:00
Christian Sueltrop
5b9b4f56fb * Removed unnecessary binary files
* Added .ignore file
2012-08-08 10:54:14 +02:00
Christian Sueltrop
02cc938501 Merge branch 'master' of T:\Python\Bibliotheken\CANLibrary\CANLibrary
Conflicts:
	CANLibrary/CanMessage.pyc
	CANLibrary/CanSignal.pyc
2012-08-08 10:51:49 +02:00
Christian Sueltrop
e3d78cc68a Bugfixes:
* Fixed a bug in method CanMessage.decomposeData
* Fixed a bug in method CanSignal.getData
2012-08-08 10:50:03 +02:00
Christian Sueltrop
b45ed50a31 Bugfix: Decomposing messages
* Fixed a bug in the CanMessage.decomposeData
2012-08-08 10:30:00 +02:00
Christian Sltrop
3a693ba35d Added methods to receive CAN messages
* Added a receiveMessage method to the PCan class
* The PCan class can hold messages now, needed for updating message data and signal data after reception
* Added a GetData method to the CanMessage class
* Updated and extended the example program
2012-08-07 16:58:44 +02:00
Christian Sltrop
8363ddd5a8 Added pycrc based checksum calculation to the CanMessage class. 2012-07-30 15:09:52 +02:00
Christian Sltrop
3233dc96b1 Added pycrc library (MIT License) for CRC calculations to the repository. 2012-07-30 15:08:37 +02:00
Christian Sltrop
c35e26f025 Bugfixes
* changed signum for offset calculation
* added error handling if a non-existent signal is to be removed from a message
2012-07-26 11:07:00 +02:00
Christian Sltrop
ffa16d0f36 Added a method to clear signals from the message. 2012-07-24 09:06:03 +02:00
Christian Sltrop
5bd3100d31 Added method removeSignal(SignalLabel) to the message class, so that signals can be removed from the message. 2012-07-10 15:12:44 +02:00
Christian Sltrop
9ff6ce1301 Fixed a bug in CanMessage.py that prohibited clearing bits that where once set. 2012-07-09 17:02:30 +02:00
Christian Sltrop
b07ff99b4a Offset and scaling are taken into account when calculating signal values. 2012-07-09 11:24:54 +02:00
Christian Sltrop
2aa6eb3da7 CanSignal data arrays are now constructed automatically, based on the signal length. 2012-07-09 09:46:21 +02:00
Christian Sltrop
b4631bbd9a A Python library for sending and receiving CAN messages via the PEAK PCan adapter.
Initial commit.
2012-07-06 15:45:14 +02:00