Sd translate

From DIDEAS Wiki
Revision as of 13:17, 22 August 2005 by Ceb (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage : sd_translate <options> [input file name] [output file name]

Reads the SD (encoded) datalogger timing file and writes it a an ASC-II format

options:

  • -q enable quiet mode
  • -d enable debug level 1 (keypress stops)
  • -D enable debug level 2 (no action at this time)
  • -N add a trailing number to the end of each sequence

The input file contains lines like :

* 050821133559, e67, e5, 396d, 39b 70 e8 70 1ce 70 1ce 70 1ce 70 e8 70 e8 70 1ce 70 1ce 70 e8 70 1ce 70 e8 70 1ce 70 1ce 70 e8 70 e8 70 e8 70 1ce 70 1ce 70 e8 70 e8 70 1ce 70 e8 70 1ce 70 e8 70


The output file corresponding to the preceeding input line is :

# sd_translate built : Aug 22 2005 06:04:18
# run on (null)   
* 050821133559.0, 57.433, 3.987, 4.005, 0.486, 1.007, 0.486, 2.005, 0.486, 2.005, 0.486, 2.005, 0.486, 1.007, 0.486, 1.007, 0.486, 2.005, 0.486, 2.005, 0.486, 1.007, 0.486, 2.005, 0.486, 1.007, 0.486, 2.005, 0.486, 2.005, 0.486, 1.007, 0.486, 1.007, 0.486, 1.007, 0.486, 2.005, 0.486, 2.005, 0.486, 1.007, 0.486, 1.007, 0.486, 2.005, 0.486, 1.007, 0.486, 2.005, 0.486, 1.007, 0.486


Adding the -N to the command line would result in:

# sd_translate built : Aug 22 2005 06:04:18
# run on (null)   
* 050821133559.0, 57.433, 3.987, 4.005, 0.486, 1.007, 0.486, 2.005, 0.486, 2.005, 0.486, 2.005, 0.486, 1.007, 0.486, 1.007, 0.486, 2.005, 0.486, 2.005, 0.486, 1.007, 0.486, 2.005, 0.486, 1.007, 0.486, 2.005, 0.486, 2.005, 0.486, 1.007, 0.486, 1.007, 0.486, 1.007, 0.486, 2.005, 0.486, 2.005, 0.486, 1.007, 0.486, 1.007, 0.486, 2.005, 0.486, 1.007, 0.486, 2.005, 0.486, 1.007, 0.486, 9999


Visual Studio project and source code