Skip to content

An open source tool to read and write different types of data used by measurement soft- and hardware.

License

Notifications You must be signed in to change notification settings

MeasureTools/climgal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI Tool to transcode measurement data

Climgal (CommandLIne Measurement processinG AppLication) is an open source tool to read and write different types of data used by measurement soft- and hardware. The tool utilize the readerlib.

Build Status

Usage

Climgal - CommandLIne Measurement processinG AppLication

    Usage:
      climgal --file=<file> [--begin=<time>] [--end=<time>] [--resolution=<hz>] [--format=<format>]
      climgal (-h | --help)
      climgal --version

    Options:
      -h --help          Show this screen.
      --version          Show version.
      --file=<file>      Input file (Supported Formats: .meta, .grim, .dlog, .psi, .csv, .xml)
      --begin=<time>     Output only data after the begin time (in seconds) [default: 0.0]
      --end=<time>       Output only data befor the end time (in seconds). If end < begin, ignore end [default: -1.0]
      --resolution=<hz>  Resolution in Hz. If resolution <= 0, ignore it [default: -1]
      --format=<format>  Output format (Supported Formats: csv, xml, dlog, svg). [default: xml]

If a source format doesn't support out of the box a fixed resolution, a resolution needs to be given. The tool outputs the new measurement via standard output which allows easy handling with other tools.

How to build

git clone --recursive https://github.com/MeasureTools/climgal.git climgal
cd climgal
mkdir build
cd build
cmake ..
make

How to use example

climgal --file=example.csv --begin=10 --end=20 --resolution=1 --format=dlog > output.dlog

In this example, the measurement example.csv is our source. Only samples between 10s (begin) and 20s (end) are used to write the new measurement data. Also the resolution is set to 1Hz. If the source measurement has a higher or lower resolution, the data is resampled according to the new samplerate. As output format dlog was chosen which is a format used by Keysight. Finally the new measurement data is saved to the file output.dlog.

License

This project is licensed under a modified BSD 1-Clause License with an additional non-military use clause - see the LICENSE file for details.

Acknowledgments

About

An open source tool to read and write different types of data used by measurement soft- and hardware.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published