Commit c5c60c3c authored by Achim Morschhauser's avatar Achim Morschhauser
Browse files

README

parent 04bdb7bc
......@@ -13,10 +13,10 @@ PRIVATE/
CHANGELOG
DataLogger
!usr/GNUPLOT
!usr/GSM_Logger.cpp
!usr/OBSDAQ_Logger.cpp
!usr/Serial_Talk.cpp
!usr/Stream_Reader.cpp
!usr/src/GSM_Logger.cpp
!usr/src/OBSDAQ_Logger.cpp
!usr/src/Serial_Talk.cpp
!usr/src/Stream_Reader.cpp
!usr/START
!usr/par/parameters_default.par
!usr/par/ADC_example.par
......
This software package was developed by Achim Morschhauser (mors/at/gfz-potsdam.de) at GFZ Potsdam.
This software package was developed by Achim Morschhauser (mors/at/gfz-potsdam.de) at GFZ Potsdam, and is freely available at
https://gitext.gfz-potsdam.de/mors/GeomagLogger
The software is under development, and contributions for improvement as well as bug reports are welcome.
The software package is intented for datalogging at geomagnetic observatories and variometer stations. It should run on any POSIC-compliant operating system, and is under current development. Please refer to https://www.geosci-instrum-method-data-syst.net/6/345/2017/ for an overview of the software package and corresponding hardware.
To compile the software package, call 'make' in the directory where the makefile is located. Your preferred compiler can be specified in the makefile. Also, a virtual serial driver exists, that can be loaded when the EXCL variable is changed in the makefile.
Currently, the software will work with following instruments:
- Variometers attached to a MinGEO ObsDAQ analogue-to-digital converter
Example: GSM_Logger.cpp
Example program: OBSDAQ_Logger.cpp
- GSM-19 and GSM-90 scalar magnetometers
Example: OBSDAQ_Logger.cpp
The software is under development, and contributions for improvement as well as bug reports are welcome.
Example program: GSM_Logger.cpp
To compile the software package, call 'make' in the directory where the makefile is located. Your preferred compiler can be specified in the makefile. Also, a virtual serial driver exists, that can be loaded when the EXCL variable is changed in the makefile.
The demo/example programs are located in usr/src and will be compiled with the library as described above. An example script using 128 Hz sampling rate and the PLASMON filter can be started by typing './usr/START' from the main directory. To view a liveplot, run type 'gnuplot usr/GNUPLOT/liveplot.gnu' from a separate shell.
The structure of folders in this directory is as follows:
/DOC Contains automatically generated documentation
/UML ContainSimple UML diagram (can be viewed with umbrello)
/lib ContainCompiled static library files
/include ContainC++ header files
/src ContainC++ source files
/usr ContainC++ source files for user programs
/bin ContainContains compiled binaries of user programs
DOCFILE ContainDirectives for automatic generation of documentation using doxygen
LICENSE ContainCreative Commons Attribution-NonCommercial 4.0 International License
/DOC Automatically generated documentation
/UML Simple UML diagram (can be viewed with umbrello)
/lib Compiled static library files
/include C++ header files
/src C++ source files
/usr User data
|- /src User source files
|- /par Parameter files
|- /data Data files
|- /GNUPLOT GNUPLOT program for live plotting
|- /log Logfiles
/bin Compiled binaries of user programs
DOCFILE Directives for automatic generation of documentation using doxygen
LICENSE Creative Commons Attribution-NonCommercial 4.0 International License
Makefile.static Make directives using static libraries.
Makefile.dynamic Make directives using dynamic libraries. Not working with RPi3 and Stretch
Makefile Symlink to used makefile.
Makefile.dynamic Make directives using dynamic libraries. Please note that paths to
library must be in search path if binary is moved.
Makefile Symlink to makefile.
......@@ -3,6 +3,8 @@ BIN_DIR=./bin/
LOG_DIR=./usr/log/
DAT_DIR=./usr/data/
mkdir -p $LOG_DIR
mkdir -p $DAT_DIR
$BIN_DIR/OBSDAQ_Logger 2> $LOG_DIR/OBSDAQ.log | tee $DAT_DIR/OBSDAQ.dat | $BIN_DIR/Stream_Reader > $DAT_DIR/OBSDAQ_FILTER.dat
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment