Difference between revisions of "Sd translate"

From DIDEAS Wiki
Jump to: navigation, search
m
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
sd_translate
 
 
 
 
 
Usage : sd_translate <options> [input file name] [output file name]
 
Usage : sd_translate <options> [input file name] [output file name]
  
Line 11: Line 7:
 
*-d enable debug level 1 (keypress stops)  
 
*-d enable debug level 1 (keypress stops)  
 
*-D enable debug level 2 (no action at this time)
 
*-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 :  
 
The input file contains lines like :  
Line 21: Line 18:
 
  # run on (null)   
 
  # 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
 
  * 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
 +
 +
 +
[http://www.dideas.com/docs/datalogger/ Visual Studio project and source code]

Latest revision as of 13:17, 22 August 2005

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