| Author |
Message |
rletos Guest
Free account, no CAN development support
|
16-01-2007, 16:08 Subject: Correct order for LIST mode only? |
Quote |
|
Hello,
Can someone, based on their experience, explain the precise steps and sequence for turning on, initializing, and connecting a CANUSB adapter for 'listen-only' mode, ensuring with 100% certainty that no commands are transmitted?
I would try the following:
1) Start the notebook and boot the operating system.
2) Plug in the CANHACK adapter.
3) Start CAN hacker software.
4) Choose baud rate, etc.
5) Start the engine.
6) CANHACK adapter for connecting to the engine CAN bus.
7) Observe...?
Is this order correct, or should I expect any problems? My car was quite expensive, and I don't want to break it.
Can you tell if the CANHACK interface is in listen mode, for example, by a lit LED?
Thank you!
|
|
| Back to top |
|
 |
MadestCat Guest
Free account, no CAN development support
|
21-03-2007, 20:16 Subject: Correct order for LIST mode only? |
Quote |
|
Okay, I'm also experimenting right now because I want to read the data using LabView.
Okay, I think it doesn't matter when you connect the adapter to the vehicle.
I'm having some trouble with the commands.
In my opinion:
- Processes that occur immediately after power-on; otherwise, use ''C[CR]'' beforehand.
- 's6[CR]' for speed.
- ''L[CR]'' for List-Only Mode.
Then the CAN data should actually be flowing through the cable, but I'm not receiving anything. Am I doing something wrong?
|
|
| Back to top |
|
 |
vespadriver Guest
Free account, no CAN development support
|
21-03-2007, 23:10 Subject: Correct order for LIST mode only? |
Quote |
|
S6
Z1
L
and then query the queue
It's quite simple in principle, but a purely serial connection is too slow for 500k CAN.
I'm now using the FTDI DLL, which allows me to transfer data to the disk much more efficiently and quickly. Then I will process the data later (also using LabVIEW) offline and try to figure out what the IDs represent.
If you want my VIs, please send me your email address via PM.
Sebastian.
Sure, here's the translation:
'PS:'
[img][/img]
is logged onto the drive-train CAN bus of my Smart car.
Wheel speed.
Engine speed.
and a bunch of IDs of unknown origin.http://home.snafu.de/sebastian.kausche/Roady/can/cantest10.gif{MARKER}
Last edited on 28-02-2012, 16:18, edited 2 times in total.
|
|
| Back to top |
|
 |
rletos Guest
Free account, no CAN development support
|
02-04-2007, 14:01 Subject: Correct order for LIST mode only? |
Quote |
|
Hello,
In the meantime, I have tested it myself, and it works for me. 'Thank you for the information, anyway.'
@vespadriver
Nice pictures, what tool did you use to create them? LabView? Is it free?
I'm also having trouble decoding and understanding various IDs. Do you mean that they are always manufacturer-specific?
Thank you!
|
|
| Back to top |
|
 |
vespadriver Guest
Free account, no CAN development support
|
02-04-2007, 17:48 Subject: Correct order for LIST mode only? |
Quote |
|
Hi,
Great that it's working.
Yes, exactly, LabVIEW is not free, but I believe there's a trial version available from National Instruments <!-- m --><a class='postlink' href='http://www.ni.com/labview/d/'></a>, I'm not sure to what extent it's limited. However, you can certainly use any programming language to initially log the data to the disk. Afterwards, you can probably sort and process the data faster with something else than with LabVIEW, and then display it in Excel or something similar. I only used LabVIEW because it can do it, and it does it better than most common languages. In C, Basic, or any other language, it would have taken me longer, so just use whatever you have and are comfortable with.
The IDs are always very manufacturer-specific, but if you're lucky, there might already be some people who have looked into them. Unfortunately, I couldn't find anyone who has done something similar on a Smart car.
But that's what forums are for, just post what kind of car you drive and what you're planning to do, and maybe you'll find someone else who's interested.<!-- m -->http://www.ni.com/labview/d/{MARKER}{MARKER}
|
|
| Back to top |
|
 |
|