Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
README.md 1.28 KiB

FELIX-IO

The felix-io package provide read (and write) access to the bitfields of the registermap and i2c components of the FELIX cards. The package consists of three modules:

  1. felix-io-api: the interface in the form of an API
  2. felix-io: the server implementation in python in the form of a FASTAPI webserver connected to one or more felix cards
  3. felix-io-client: a Python and C++ client to call the api

FELIX-IO

Use the default mechanism to compile from source:

git clone ssh://git@gitlab.cern.ch:7999/atlas-tdaq-felix/felix-io.git
cd felix-io
. setup.sh
cmake_config
cd x86_64-el9-gcc13-opt
make -j 8
pytest -vv

The felix-io FASTAPI server can be started with:

./felix-io.py

on the local machine.

 felix-io.sh [options]

Options:
  -p, --port PORT         Port for server [default: 51960]
  -c, --cache TIME        Cache time for i2c requests in seconds [default: 5], use 0 for no caching
  -s, --simulate          Use simulated values, does not connect to FELIX cards
  -v, --verbose           Run in verbose mode
  -d, --debug             Run in debug mode
  -h, --help              Show this help