main
Beamline elements frontend
This repository contains the "Beamline_elements" frontend, which is used to control beamline devices such as magnets, slits or beamblockers of indivual instruments from MIDAS.
This file is almost a verbatim copy of https://bitbucket.org/tmidas/midas/src/develop/msetpoint/epics_fe.cxx from core MIDAS. The only reason this repository exists is that "epics_fe.cxx" is written as a C-style frontend, where the equipment and frontend is hardcoded in the binary. Hence, this copy changes "EPICS Frontend" and "EPICS" to "Beamline_elements" to match the agreed upon naming convention.
Requirements
- Environment variable
MIDASSYSwhich is a path to the MIDAS shared libraries and headers. The libraries must be in$MIDASSYS/lib, the headers in$MIDASSYS/include. - Environment variable
EPICSSYSwhich is a path to the EPICS shared libraries and headers. The libraries must be in$EPICSSYS/lib, the headers in$EPICSSYS/include.
Build
Clone this repository, enter the cloned directory, and then build via CMake.
cmake -S "$(pwd)" -B <directory-to-build-in>
cmake --build <directory-to-build-in> --clean-first -- -j8
Run
<directory-to-build-in>/Beamline_elements_scfe
Description
C-style frontend to control beamline elements such as magnets, slits or beam blockers. A verbatim copy of https://bitbucket.org/tmidas/midas/src/develop/msetpoint/epics_fe.cxx, but renamed to better fit the naming scheme agreed upon with LMU.
35 KiB
Languages
C++
91.7%
CMake
8.3%