Skip to content

csps elphel extract_beta 0.1

niam-foxel edited this page Nov 20, 2014 · 3 revisions

Overview

The csps-elphel-extract software allows to extract sub-logs-file from a logs-file obtained using an Elphel camera device. In order to perform the extraction, two timestamp (unix timestamp and microsecond part) have to be given. The software creates a logs-file that contains all the events in the range defined by the two timestamp of the source logs-file.

Usage

The csps-elphel-extract software expect the following parameters :

--logs -l

Elphel camera source logs-file.

--extracted -e

File that recieves the extraction results.

--second-low -a, --micro-low -u

Unix timestamp and microsecond part of timestamp that define the low
boundary of the desired sub-logs-file range.

--second-high -b, --micro-high -v

Unix timestamp and microsecond part of timestamp that define the high
boundary of the desired sub-logs-file range.

Demonstration

This software is typically called using the following command :

csps-elphel-extract -l /some/path/eyesis4pi.log-00001 \
                    -e export.log-00001 \
                    -a 1412070100 -u 100000 \
                    -b 1412070200 -v 999999

The export.log-00001 resulting logs-file contains all the records of eyesis4pi.log-00001 logs-file that are in the range defined by the two timestamps.

Compilation

The software binary can be build using its specific makefile by simply typing in its base directory :

$ make clean && make

The binary is placed in the local bin directory and is not copied in the csps-suite main bin directory. To generate the documentation, use the command :

$ make documentation

When documentation is generated, the previous one is preliminary removed.

Clone this wiki locally