Giter Site home page Giter Site logo

srslib's Introduction

srslib - A library and command line client for SRS FEC & VMM3

Introduction

Why?

  • dependency free
  • simple, pure C (mostly C89)
  • maintainable, 2k lines of code
  • does not assume any specific (linux) environment
  • strict separation between library and application

Included

  • control/monitoring for SRS FEC & VMM3a hybrids
  • readout of data

Not included:

  • calibration routines
  • graphical user interface
  • sophisticated data transport

Building

git clone https://github.com/bl0x/srslib
cd srslib
make

The executable programs are compiled in the build directory:

./build_*/bin/

The shared library object is

./build_*/libsrs.so

srscli - The control program

Configure FEC + attached VMMs

./srscli

Note: srscli assumes that the FEC has an IP address of 10.0.0.2.

Start acquisition

./srscli --acq-on

Stop acquisition

./srscli --acq-off

Common options

-v/--verbose: Increase verbosity, can be given multiple times.
-h/--help:    Show help.

Custom configuration

There is no support (yet) for reading a custom configuration from a config file. Instead, the user needs to modify the fec_custom_config() function in apps/srscli/main.c. Using configuration files is most probably the next feature on the roadmap.

srsread - Reading data from a FEC

srsread is a simple readout loop for SRS/FEC. Use the -o/--output option to store data to an output file.

./srsread -o /tmp/srs_fec_vmm3.dat

Data is stored as is from the FEC in binary format. No modifications are done.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgements

  • A lot of information was used from the existing codebase of the VMM slow control software vmmsc.

Authors:

  • Bastian Löher - Initial work

srslib's People

Contributors

bl0x avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.