-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Standalone version for small deployments #4
Comments
The first step in this will be a module that writes to mongodb (since file output is a whole new can of worms). This will simply be a new main function for the koSlave module which will allow running from the command line, effectively cutting the master and UI out (they are not necessary). |
A new (and now documented) compile option allows compilation of a "lite mode" for the DAQ. This is done using ./configure --enable-lite. The directory kodiaq/klite now includes a config file and a script for starting the lite DAQ daemon. File output is not yet supported and the mongodb dependency for the lite version is still in. In the future the plan will be to implement direct file output and remove the dependency on the mongodb driver for the lite version, at least as an option. |
We probably need to agree on a data structure that is more c++ friendly Verzonden vanaf Samsung Mobile -------- Oorspronkelijk bericht -------- A new (and now documented) compile option allows compilation of a "lite mode" for the DAQ. This is done using ./configure --enable-lite. The directory kodiaq/klite now includes a config file and a script for starting the lite DAQ daemon. File output is not yet supported and the mongodb dependency for the lite version is still in. In the future the plan will be to implement direct file output and remove the dependency on the mongodb driver for the lite version, at least as an option. — |
Check here for a first attempt: https://github.com/XENON1T/kodiaq/wiki/Protocol%20buffer%20format File output using this format (only data objects exist right now) is running in the update branch. |
Closed using libpbf for file output. Standalone version could use a small amount of polishing for ease of use, but works and has been in use in Bern for some time. See file format here: https://github.com/coderdj/libpbf |
It should be possible to install a standalone version of the DAQ which runs on one PC and writes files directly. An example use case would be for a PMT test station somewhere where a board or two need to be read out via one PC.
The design requirements are:
* Write to file instead of to mongodb
* Provide a tool to read the files (or at least a class)
* Remove mongodb dependency from the slave module for this mode
* Easily editable options file which is available in the top directory
* Easily executed run script in the top directory
* Simple UI (probably console text based)
* Should compile with a ./configure --litemode or similar option
* Needs docs to give a step-by-step guide to deployment
The text was updated successfully, but these errors were encountered: