Giter Site home page Giter Site logo

morcs's Introduction

Mx2x2 Overall Run Control Software

Requirements

On AL9 run dnf install python3-devel krb5-devel. Kerberos is needed for the SSH connection to the CRS DAQ server.

Installing

Do this on e.g. acd-ops01 as the acdaq user.

git clone --recurse-submodules https://github.com/mjkramer/MORCS.git
cd MORCS
python -m venv morcs.venv
source morcs.venv/bin/activate
pip install --upgrade pip setuptools wheel
pip install -e .

Loading

source /path/to/MORCS/morcs.venv/bin/activate

It may be necessary to set up a pair of SSH tunnels to the MINERvA DAQ, e.g.:

ssh -L 1090:localhost:1090 -R 9998:localhost:9998 acd-mnv03

Configuring

Edit morcs.toml under [crs] to specify the hostname of the CRS DAQ server (e.g. acd-daq02) and the paths to crs_daq, its virtual environment, and the output and log directories. Likewise, under [lrs] the host should be set appropriately.

Starting and stopping a run

morcs start-run
morcs stop-run

Run database

Run information is stored in morcs.sqlite. Currently only the run number, start time, and end time are stored. Run numbers are generated automatically, starting from zero.

Current status

The CRS and LRS controllers have been tested. The MINERvA controller needs to be updated following recent changes to DaqController, and the run number needs to be propagated.

morcs's People

Contributors

mjkramer avatar

Watchers

 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.