... | @@ -4,4 +4,44 @@ Follow these instructions to setup a DAQ on a standalone frontend for saving fra |
... | @@ -4,4 +4,44 @@ Follow these instructions to setup a DAQ on a standalone frontend for saving fra |
|
|
|
|
|
# Check /etc/hosts
|
|
# Check /etc/hosts
|
|
|
|
|
|
Make sure the host entry for the front end hostname gives the real |
|
Make sure the host entry for the front end hostname gives the real ip address and not the localhost address, e.g. if it's 127.0.0.1, change it.
|
|
\ No newline at end of file |
|
|
|
|
|
# make sure at least an IOP model is running
|
|
|
|
|
|
|
|
# get local_dc running
|
|
|
|
|
|
|
|
## add local_dc args
|
|
|
|
|
|
|
|
edit ```/etc/advligorts/system_env``` and add this line, but replace ```c1iopcymac1``` with your iop model name. Replace ```c1testcymac1``` with a user model name, or delete it if no user model. You can add more user models separated by spaces.
|
|
|
|
|
|
|
|
```
|
|
|
|
local_dc_args="-b local_dc -s 'c1iopcymac1 c1testcymac1' -d /opt/rtcds/tst/c1/target/gds/param"
|
|
|
|
```
|
|
|
|
|
|
|
|
## enable local_dc
|
|
|
|
|
|
|
|
create the file ```/etc/systemd/system/rts-local_dc.service.d/wanted.conf``` with contents:
|
|
|
|
|
|
|
|
```
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
```
|
|
|
|
|
|
|
|
then run
|
|
|
|
|
|
|
|
```
|
|
|
|
sudo systemctl enable rts-local_dc
|
|
|
|
```
|
|
|
|
|
|
|
|
## start local_dc
|
|
|
|
|
|
|
|
```
|
|
|
|
sudo systemctl start rts-local_dc
|
|
|
|
```
|
|
|
|
|
|
|
|
## check local_dc is running
|
|
|
|
|
|
|
|
```
|
|
|
|
mbuf_probe analyze -b local_dc -m 100 --struct daq_multi_cycle
|
|
|
|
```
|
|
|
|
|