... | ... | @@ -18,13 +18,32 @@ The daqd packages install three services. |
|
|
|
|
|
## Configuration
|
|
|
|
|
|
The configuration file for daqd is '/etc/advligorts/daqdrc'. A default configuration is installed.
|
|
|
### daqdrc
|
|
|
The configuration file for daqd is `/etc/advligorts/daqdrc`, a default configuration is included when installed.
|
|
|
|
|
|
In general the default configuration should work for a cymac setup.
|
|
|
|
|
|
* A 16 second raw frame will be written
|
|
|
* A 10 minute long second trend will be written
|
|
|
* A 1 hour long minute trend will be writen
|
|
|
|
|
|
### master File
|
|
|
The `/etc/advligorts/master` file needs to be created/updated for newly installed models. The daqd expects the model's `.ini` and `.par` file paths to be present in the file.
|
|
|
|
|
|
```
|
|
|
/opt/rtcds/<SITE>/<IFO>/chans/daq/<MODEL_NAME>.ini
|
|
|
/opt/rtcds/<SITE>/<IFO>/target/gds/param/tpchn_<model_name>.par
|
|
|
```
|
|
|
|
|
|
You may edit the file and add paths for your models. If you had `x1iop` and `x1tst` models your master file would look like:
|
|
|
```
|
|
|
/opt/rtcds/tst/x1/chans/daq/X1IOP.ini
|
|
|
/opt/rtcds/tst/x1/target/gds/param/tpchn_x1iop.par
|
|
|
/opt/rtcds/tst/x1/chans/daq/X1TST.ini
|
|
|
/opt/rtcds/tst/x1/target/gds/param/tpchn_x1tst.par
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Starting and Enabling daqd
|
|
|
|
... | ... | |