|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
can trace analyseri got some CAN traces in text form from a customer, several megabyte of data. I used to load it into excel and create formulas to analyse it. Is there a simpler tool out there, maybe freeware, PD, some linux tools? regards Peter Email von Peter Lauer plauer@... |
|
|
AW: can trace analyserhello
U can try to use the freeware Win freeware
"CanHacker" http://www.canhack.de/download.php?id=34.
Perhaps it is interesting for some other
people.
In which Form is your trace?
*.txt???? Mit freundlichen Grüßen P.Strauß
Inhaber S. Aweh Diese eMail und alle
beigefügten Anlagen sind vertraulich und nur für den Adressaten bestimmt. Wenn
Sie nicht der richtige Adressat sind, beachten Sie bitte, dass Weitergabe,
Veröffentlichung, Kopieren oder jede sonstige Verwendung dieser Nachricht und
ihres Inhalts widerrechtlich ist. Falls Sie diese Nachricht irrtümlich erhalten
haben, bitten wir um Ihre unverzügliche telefonische Mitteilung unter +49 (5554)
39 00 30 oder per eMail sowie Vernichtung dieser Mitteilung und beigefügter
Anlagen. Wenn Sie uns
Mitteilungen per eMail zukommen lassen, verstehen wir dies als Ermächtigung und
Zustimmung in der entsprechenden Angelegenheit ebenfalls per eMail zu
kommunizieren. This
eMail and any attachments transmitted with it are confidential and intended
solely for the use of the addressee. It may contain privileged information
that is protected from disclosure by law. If you are not the addressee,
please note that unauthorized dissemination, copying or accessing of this
facsimile and its contents is prohibited and may be unlawful. If you have
received this facsimile in error please inform us immediately by telephone at
+49 (5554) 39 00 30 or email and dispose this message and any
attachment. By
sending us messages by eMail, we understand that you authorize and instruct us
to communicate by eMail as well.
|
|
|
Re: can trace analyserPeter Lauer schrieb: > Hi, > > i got some CAN traces in text form from a customer, several megabyte of data. I used to load it into excel and create formulas to analyse it. > > Is there a simpler tool out there, maybe freeware, PD, some linux tools? > > regards > > Peter > If you have and know CANalyzer you should be able to attach your traces to a Replay-block and analyze it with CANalyzer. If CANalyzer has not enough functionality may be you should tell us more about your formulas. -- Archives and useful links: http://groups.yahoo.com/group/CANbus Subscribe and unsubscribe at www.vector-informatik.com/canlist/ Report any problems to <canlist-owner@...> |
|
|
Re: can trace analyserAm Mittwoch, 12. August 2009 05:37:59 schrieb Peter Lauer:
> Hi, > > i got some CAN traces in text form from a customer, several megabyte of > data. I used to load it into excel and create formulas to analyse it. > > Is there a simpler tool out there, maybe freeware, PD, some linux tools? > > regards > > Peter > > Email von Peter Lauer > plauer@... What we often are doing is using a combination of basic Linux command line tools. Assuming you have the log file in ASCII readable form e.g. output of the 'horch' analyser 1250089614.057254 100/0x064 : sD : 55 02 03 04 05 06 07 aa 1250089614.057760 116/0x074 : sD : aa 07 06 05 04 03 02 55 1250089614.057972 132/0x084 : sD : 1250089614.058460 148/0x094 : sD : 55 02 03 04 05 06 07 aa 1250089614.058828 164/0x0a4 : sD : 00 00 00 00 1250089614.059323 100/0x064 : sD : 55 02 03 04 05 06 07 aa 1250089614.059827 116/0x074 : sD : aa 07 06 05 04 03 02 55 1250089614.060040 132/0x084 : sD : 1250089614.060527 148/0x094 : sD : 55 02 03 04 05 06 07 aa 1250089614.060890 164/0x0a4 : sD : 01 00 00 00 you can do a lot with the standard tools set, eg show only some frames $ grep 0x064 log1 1250089614.057254 100/0x064 : sD : 55 02 03 04 05 06 07 aa 1250089614.059323 100/0x064 : sD : 55 02 03 04 05 06 07 aa or $ grep -v 0x064 log1 1250089614.057760 116/0x074 : sD : aa 07 06 05 04 03 02 55 1250089614.057972 132/0x084 : sD : 1250089614.058460 148/0x094 : sD : 55 02 03 04 05 06 07 aa 1250089614.058828 164/0x0a4 : sD : 00 00 00 00 1250089614.059827 116/0x074 : sD : aa 07 06 05 04 03 02 55 1250089614.060040 132/0x084 : sD : 1250089614.060527 148/0x094 : sD : 55 02 03 04 05 06 07 aa 1250089614.060890 164/0x0a4 : sD : 01 00 00 00 and count the number of frames matching this criteria $ grep 0x064 log1 | wc -l 2 $ grep -v 0x064 log1 | wc -l 8 or look how many frames with id 0x064 and 0x094 are in the log $ grep -E '(0x064)|(0x094)' log1 | wc -l 4 In more advanced cases the awk text filter can do most of the analysis required. E.g. calculating the time between frames and max and min of them. Combining more of these filters and using gnuplot is the advanced lesson, which leads to shell scripts. Best regards Heinz -- Archives and useful links: http://groups.yahoo.com/group/CANbus Subscribe and unsubscribe at www.vector-informatik.com/canlist/ Report any problems to <canlist-owner@...> |
|
|
RE: can trace analyserPeter Email von Peter Lauer plauer@... > From: oe@... > To: canlist@... > Subject: Re: [CANLIST] can trace analyser > Date: Wed, 12 Aug 2009 17:22:49 +0200 > > Am Mittwoch, 12. August 2009 05:37:59 schrieb Peter Lauer: > > Hi, > > > > i got some CAN traces in text form from a customer, several megabyte of > > data. I used to load it into excel and create formulas to analyse it. > > > > Is there a simpler tool out there, maybe freeware, PD, some linux tools? > > > > regards > > > > Peter > > > > Email von Peter Lauer > > plauer@... > > What we often are doing is using a combination of basic Linux command line > tools. > Assuming you have the log file in ASCII readable form > > e.g. output of the 'horch' analyser > > 1250089614.057254 100/0x064 : sD : 55 02 03 04 05 06 07 aa > 1250089614.057760 116/0x074 : sD : aa 07 06 05 04 03 02 55 > 1250089614.057972 132/0x084 : sD : > 1250089614.058460 148/0x094 : sD : 55 02 03 04 05 06 07 aa > 1250089614.058828 164/0x0a4 : sD : 00 00 00 00 > 1250089614.059323 100/0x064 : sD : 55 02 03 04 05 06 07 aa > 1250089614.059827 116/0x074 : sD : aa 07 06 05 04 03 02 55 > 1250089614.060040 132/0x084 : sD : > 1250089614.060527 148/0x094 : sD : 55 02 03 04 05 06 07 aa > 1250089614.060890 164/0x0a4 : sD : 01 00 00 00 > > you can do a lot with the standard tools set, > eg show only some frames > $ grep 0x064 log1 > 1250089614.057254 100/0x064 : sD : 55 02 03 04 05 06 07 aa > 1250089614.059323 100/0x064 : sD : 55 02 03 04 05 06 07 aa > or > $ grep -v 0x064 log1 > 1250089614.057760 116/0x074 : sD : aa 07 06 05 04 03 02 55 > 1250089614.057972 132/0x084 : sD : > 1250089614.058460 148/0x094 : sD : 55 02 03 04 05 06 07 aa > 1250089614.058828 164/0x0a4 : sD : 00 00 00 00 > 1250089614.059827 116/0x074 : sD : aa 07 06 05 04 03 02 55 > 1250089614.060040 132/0x084 : sD : > 1250089614.060527 148/0x094 : sD : 55 02 03 04 05 06 07 aa > 1250089614.060890 164/0x0a4 : sD : 01 00 00 00 > > and count the number of frames matching this criteria > $ grep 0x064 log1 | wc -l > 2 > $ grep -v 0x064 log1 | wc -l > 8 > > or look how many frames with id 0x064 and 0x094 are in the log > $ grep -E '(0x064)|(0x094)' log1 | wc -l > 4 > > In more advanced cases the awk text filter can do most of the analysis > required. E.g. calculating the time between frames and max and min of them. > Combining more of these filters and using gnuplot is the advanced lesson, > which leads to shell scripts. > > Best regards > Heinz > > > > -- > Archives and useful links: http://groups.yahoo.com/group/CANbus > Subscribe and unsubscribe at www.vector-informatik.com/canlist/ > Report any problems to <canlist-owner@...> |
| Free embeddable forum powered by Nabble | Forum Help |