Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In particular, the "loopback mode" described there and the netcat command can be useful for debugging whether the problem is on the DAQ end or on the controls PLC end.

Fixing "Operation Not Permitted" Error

After time, "tprtrig" process can generate this error, because tpr.service on drp-neh-ctl002 keeps using up file descriptors and runs out eventually:

Code Block
Configuring channel 0 outputs 0x1 for Partition 2^M
 Version          PulseID        TimeStamp  Markers  BeamReq          BsaInit  \
       BsaActiv          BsaAvgD          BsaDone^M
Could not open sh: Operation not permitted^M
terminate called after throwing an instance of 'std::__cxx11::basic_string<char\
, std::char_traits<char>, std::allocator<char> >'^M

This can be fixed by restarting the tpr driver like this (on drp-neh-ctl002):

Code Block
sudo rmmod tpr
sudo systemctl start tpr.service

Rogue Information

Documentation: https://slaclab.github.io/rogue/

...