README
changeset 16 62f8cead15df
parent 7 daa76fbc50aa
equal deleted inserted replaced
15:06da811cdc27 16:62f8cead15df
    15 easy access to it, you may want to set up an udev rule in your system like this:
    15 easy access to it, you may want to set up an udev rule in your system like this:
    16 
    16 
    17 SUBSYSTEM=="usb", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="0003", MODE:="0666"
    17 SUBSYSTEM=="usb", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="0003", MODE:="0666"
    18 
    18 
    19 
    19 
       
    20 * GNUPLOT
       
    21 
       
    22 In order to show graphs, you can setup gnuplot this way to say for example the downloaded
       
    23 data in a.txt. If the header reads:
       
    24 # Start: 2010-11-27 23:4:28
       
    25 # Num Samples: 1118
       
    26 # Time between samples: 30 s
       
    27 
       
    28 
       
    29 You can use the unix command date to transform that into a timestamp:
       
    30 $ date '+%s' -d '2010-11-27 23:4:28'
       
    31 1290895468
       
    32 
       
    33 Then in gnuplot you can run, considering the values of 1290895468s since the epoch and
       
    34 samples every 30 seconds:
       
    35 > set xdata time
       
    36 > plot "dutxa.txt" using ($1*30 + 1290895468):2, "dutxa.txt" using ($1*30 + 1290895468):3
       
    37 
       
    38 
    20 * LICENSE
    39 * LICENSE
    21 
    40 
    22 The code is licensed on terms of the GPLv3 license or later. Please find the license in the file
    41 The code is licensed on terms of the GPLv3 license or later. Please find the license in the file
    23 LICENSE distributed with the program.
    42 LICENSE distributed with the program.