can trace analyser

View: New views
5 Messages — Rating Filter:   Alert me  

can trace analyser

by Peter Lauer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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@...


AW: can trace analyser

by P.Strauß :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
hello
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ß
Technical Assistant, Marketing


p.strauss@...

A&A Automobiltechnik
Automotive Software engineering

Inhaber  S. Aweh
Methestraße 12 - 14
37186 Moringen

Tel.: +49 5554 390030
Fax: +49 5554 390031

Ust-Id-Nr.: DE218285448

Tuningfiles to:   files@...
             Mail:   vertrieb@...
             Web:   www.aa-tuning.de

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.

 

 


Von: canlist-owner@... [mailto:canlist-owner@...] Im Auftrag von Peter Lauer
Gesendet: Mittwoch, 12. August 2009 05:38
An: CAN List
Betreff: [CANLIST] can trace analyser

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@...



Re: can trace analyser

by Peter Scholz-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Peter 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 analyser

by Heinz-Juergen Oertel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...>

RE: can trace analyser

by Peter Lauer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
thanks for your feeback. I downloaded the tools and will try them out.

Peter

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@...>