Changes between Initial Version and Version 1 of dumpwave


Ignore:
Timestamp:
02/26/12 12:26:20 (9 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • dumpwave

    v1 v1  
     1[[PageOutline]] 
     2 
     3= [wiki:Earthworm Earthworm] Module: dumpwave = 
     4'''Contributed by: Menlo Park''' 
     5== Function == 
     6Dump a waveform data file to the screen. 
     7== Details == 
     8Dumpwave dumps a header summary and the contents of a TYPE_TRACEBUF2 or TYPE_TRACEBUF waveform data file to the screen. 
     9 
     10Dumpwave reads a binary file of "raw" tracebuf messages, written one after another with no other header info. (The file format that Dumpwave reads is the same format the tankplayer reads, and can be produced by trig2disk or waveman2disk with "DataFormat tank". ) 
     11 
     12Command line arguments:  
     13argument 1 = file to dump from 
     14optional argument 2 = pin# to dump 
     15 
     16For example: 
     17 
     18dumpwave \earthworm\tanks\20060530_185505.00_MAN 
     19 
     20Output will look something like the following for each tracebuf that's in the wave file: 
     21{{{ 
     22  version: 20 
     23  s.c.n.l: NP1.HHN.ZZ.01 
     24    pinno:     3 
     25    nsamp:   500 
     26 samprate: 100.0000 
     27starttime: 1149015311.0000   2006/05/30:1855:11.00 
     28  endtime: 1149015315.9900   2006/05/30:1855:15.99 
     29 datatype: i4 
     30 quality0: b   quality1: e 
     31     pad0:         pad1: u 
     32    7011    7122    7101    6894    7001    7063    7014    7077    7198    7114 
     33 
     34    6943    7002    7058    6929    6937    7095    7100    6990    6978    7042 
     35 
     36    6968    6967    7056    6956    6948    7032    6909    6858    6876    6897 
     37}}} 
     38== Helpful Hints ==