Code to run on Linux for CAN interfaces.
TonyB
What's hacking?
Posts: 26 Joined: 2005 Jul 28 14:41
Location: St Louis, MO
Post
by TonyB » 2005 Aug 04 17:09
Here's my quick attempt at a new version of can_logger that won't lose data.
http://www.blight.com/~tony/can_logger-2.0.tar.gz
It should work pretty much the same way; haven't changed the schema or anything. Take a look at the README file for details. Also, I don't actually have a CAN232 or CANUSB to try it out on live data, but it worked OK with the raw data file that was posted earlier.
1964 Ddoge 440
1965 Dart GT
2005 Dodge Magnum
linuxkidd
Site Admin
Posts: 364 Joined: 2005 Jul 22 15:48
Location: Anywhere, USA
Contact:
Post
by linuxkidd » 2005 Aug 04 19:51
Hey,
I hadn't posted my updated schema.. so I've modified your code to suit... but, It isn't opening the CAN Device. Trying to troubleshoot now...
Btw... You are WAY better at Perl than I...
If you can read this, the light is still red.
linuxkidd
Site Admin
Posts: 364 Joined: 2005 Jul 22 15:48
Location: Anywhere, USA
Contact:
Post
by linuxkidd » 2005 Aug 04 20:34
Found one thing... you never called CAN_init...
But, even with that in place, still no joy... Still looking..
( You still write better perl than I..
)
If you can read this, the light is still red.