Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Event log analyzing tool

2005-04-25 by Varuzhan Danielyan

To the Robert's advice to use a spreadsheet I want to add, that Excel can
be used even on-line, to read and visualize (as a scope) the data directly from
ports, both COM and LPT.  This is described in a
very nice book of Aubrey Kagan "Excel by Example", which is available also
as e-book on www.edaboard.com site.
I have used this feature of Excel to make a very simple, but very efficient
multichannel pulse width analyzer, which consists of a Keil MCB2100
evaluation board, direct serial port cable and PC.  The Keil board sends
data through its COM0 port and Excel reads and shows the spectrum in
real time.

Varuzhan 

  ----- Original Message ----- 
  From: Robert Adsett 
  To: lpc2000@yahoogroups.com 
  Sent: Monday, April 25, 2005 9:09 PM
  Subject: Re: [lpc2000] Event log analyzing tool


  At 10:08 PM 4/24/05 -0700, Michael Anburaj wrote:
  >Full story:
  >I have developed a Event log mechanism to trap various
  >events that occur at run-time within the Wireless MAC
  >engine I am working on at present. Each log entry
  >consists a Event number, system time & (1 to 3
  >parameters). I have huge buffers for trapping events
  >for a long time & later dump them for analysis over
  >the console port - which can be piped into a (ASCII)
  >file.

  That makes sense I've done similar things for debugging and tuning.

  >At present I go through these entries without help of
  >any tool near problem areas manually. A simple perl
  >script can make things better ­ by calculating the
  >delta between each event. It will be even better if I
  >can find a utility that can Graphically displays the
  >trend for each event & do all the things one can do on
  >a LA or a DSO ­ considering each event to a different
  >channel on the LA.
  >
  >Sample EventLog (console dump):
  >Event name Time (us) Param1     Param2    Param3
  >TX_HW      260040    0x400078   1               0
  >TX_FREE    260076    0x400298   0               0
  >RX_INT     260082    3          0               0
  >ARQ_RE     260123    0x400298   7               23
  >
  >
  >Let me know if such a tool exist.


  I don't know of a tool that does exactly what you want.  In the past 
  however I've used a couple of off the shelf tools to achieve your 
  ends.  I've heavily used spreadsheets for trend analysis, I just dump the 
  data as a csv file and import it.  Spreadsheet usually have acceptable if 
  not great graphing tools.  It should be fairly straightforward to transform 
  your data into a column per event form.

  The companion tool would be a database tool that allows ad-hoc queries.  I 
  really like Approach for this.  You can make Access do it but it takes more 
  work.  You can then filter by event,  time, etc.. and either use the tools 
  built-in graphing tools or export the data to a spreadsheet as needed.

  The big thing that is missing compared to a DSO is the presence of cursors 
  to make it easier to read data directly off of the graph.

  If you find something else let us know, I wouldn't mind adding another tool 
  like that to my quiver.

  Robert

  " 'Freedom' has no meaning of itself.  There are always restrictions,   be 
  they legal, genetic, or physical.  If you don't believe me, try to chew a 
  radio signal. "  -- Kelvin Throop, III
  http://www.aeolusdevelopment.com/



------------------------------------------------------------------------------
  Yahoo! Groups Links

    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/lpc2000/
      
    b.. To unsubscribe from this group, send an email to:
    lpc2000-unsubscribe@yahoogroups.com
      
    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.