This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
lydaq_install [2018/03/28 12:24] acqilc [The .daqrc file] |
lydaq_install [2021/07/10 23:21] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== LYDAQ installation ====== | ====== LYDAQ installation ====== | ||
+ | |||
+ | Documentation {{ :daq_doc.pdf?600 |}} | ||
===== Linux version ===== | ===== Linux version ===== | ||
Line 19: | Line 21: | ||
* During the installation a passphrase is required, use the usual acqilc one. | * During the installation a passphrase is required, use the usual acqilc one. | ||
+ | ===== Debian package (binaries only) installation ===== | ||
+ | |||
+ | It works only on debian jessie amd64 architecture: | ||
+ | |||
+ | * Download the package [[https://cms-wiki.ipnl.in2p3.fr/software/lydaq_1.0_amd64.deb|lydaq]] | ||
+ | * Run ''sudo dpkg -i lydaq_1.0_amd64.deb'' | ||
+ | |||
+ | The binaries of the software is install in ''/data/daq'' and in ''/data/root'' | ||
+ | |||
+ | ==== New version ==== | ||
+ | * [[https://cms-wiki.ipnl.in2p3.fr/software/lydaq_1.01_amd64.deb|lydaq 1.01 amd64 (pc 64 bit Debian jessie)]] | ||
+ | * [[https://cms-wiki.ipnl.in2p3.fr/software/lydaq_1.01_armv7l.deb|lydaq 1.01 armv7l (raspberry raspbian wheezie/jessie)]] | ||
+ | |||
+ | |||
+ | ==== Complete raspberry jessie image (ready to use) ==== | ||
+ | |||
+ | * [[ftp://lyoftp.in2p3.fr/mirabito/raspbian_jessie_lydaq.img| copy it and change hostname ]] | ||
====== LYDAQ Configuration ====== | ====== LYDAQ Configuration ====== | ||
Line 299: | Line 318: | ||
===== DAQ control interface ===== | ===== DAQ control interface ===== | ||
+ | The [[http://daqcontrol.ipnl.in2p3.fr/login.html|DAQ control interface]] is accessible from anywhere but the browser should be able to send http commands to the DAQ computers. It should be either in the same network or accessible via SOCKS proxy using a dynamic ssh tunnel. | ||
+ | |||
+ | Once logged in, you can choose the configuration used and control the DAQ whatever the current status is. | ||
+ | |||
+ | The list of command and the sequence of acquisition is the same as the one described in the command line interface bellow (one name differs PREPARE instead of daq-service). | ||
===== Command line interface ===== | ===== Command line interface ===== | ||
==== The .daqrc file ==== | ==== The .daqrc file ==== | ||
Line 309: | Line 333: | ||
</code> | </code> | ||
+ | ** this file should be sourced in the .bashrc ** | ||
+ | |||
=== Job control === | === Job control === | ||
Line 332: | Line 358: | ||
* **status**, //daqcontrol --daq-status//, List the status of all DIFs | * **status**, //daqcontrol --daq-status//, List the status of all DIFs | ||
* **Event builder**, //daqcontrol --daq-evbstatus//, run and event writen | * **Event builder**, //daqcontrol --daq-evbstatus//, run and event writen | ||
+ | |||
+ | |||
+ | Normal sequence from scratch: | ||
+ | - daqcontrol --jc-create | ||
+ | - daqcontrol --jc-start | ||
+ | - daqcontrol --jc-status | ||
+ | - daqcontrol --daq-create | ||
+ | - daqcontrol --daq-discover | ||
+ | - daqcontrol --daq-service | ||
+ | - daqcontrol --daq-initialise | ||
+ | - daqcontrol --daq-status | ||
+ | |||
+ | At this stage the DIFs should all be initialised | ||
+ | - daqcontrol --daq-configure | ||
+ | - daqcontrol --daq-status | ||
+ | |||
+ | At this stage all the DIFs should be CONFIGURED all OK | ||
+ | |||
+ | Then one can start and stop runs | ||
+ | - daqcontrol --daq-start | ||
+ | - daqcontrol --trig-resume | ||
+ | - sleep 7200 (wait 2 hrs) | ||
+ | - daqcontrol --daq-stop | ||
+ | |||
+ |