Commit graph

30 commits

Author SHA1 Message Date
8b43ba9c31 delete sym files 2014-01-27 14:27:06 +01:00
d34df5ba18 bugfix 2014-01-15 18:00:28 +01:00
28e22c20ee Merge branch 'sym2lib' into dc-labor 2014-01-15 13:12:46 +01:00
4916261e78 bugfix sym2lib 2014-01-15 13:10:22 +01:00
6a9caf648f add sym2lib to .prefs 2013-12-13 12:32:22 +01:00
917e9140c5 add sym2lib script 2013-12-13 12:30:55 +01:00
effafdbb56 remove compiled files 2013-12-13 12:23:53 +01:00
d960680e2e add option block on receiveMessage
added the option block to the receiveMessage Method
*default False for no compatibility issues
2013-11-19 15:05:58 +01:00
ec5cd45b4d Add support for RTR Frame
* You can send an RTR-Frame by adding rtr=True the calling of sendMessage
2013-11-15 16:01:45 +01:00
43af99401f add some bus frequencies 2013-11-13 18:39:40 +01:00
c5cd6914c9 Datatype change
The GetData() Method of CanSignal returns the data as float
2013-11-13 18:31:39 +01:00
f16dfc64b6 add support for timestamp in Message
The Message Object has now an parameter named timestamp which is set when
the message is received.
The reveiv Method returns the ID of the received message
2013-11-13 18:21:41 +01:00
Christian Sueltrop
358a871493 * Added an error message
* Now using .dll from system path.
2013-10-21 09:45:52 +02:00
Christian Sueltrop
a04155be8c Bugfix: Path to PCANBasic was not correct. Now using a relative path to the sub directory. 2013-10-02 12:17:32 +02:00
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