/Basic-Sim-Detector.txt Secret
Created
October 21, 2022 16:41
Instructions to set up a basic simDetector IOC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Basic SimDetector | |
1.) Run mkioc | |
>/APSshare/bin/mkioc -n <ioc_name> | |
2.) Build new IOC | |
>cd <ioc_name> | |
>make | |
2.) Copy simDetector script out of examples | |
>cd iocBoot/ioc<ioc_name> | |
>cp examples/areaDetector.iocsh ./ | |
3.) Edit st.cmd.Linux to add the script | |
Add "< areaDetector.iocsh" after "< common.iocsh" | |
4.) Edit settings.iocsh to increase EPICS_CA_MAX_ARRAY_BYTES | |
5.) Run the IOC | |
>cd <ioc_path>/iocBoot/ioc<ioc_name> | |
>../../bin/<arch>/<ioc_name> st.cmd.Linux | |
6.) In a separate terminal, run the UI | |
>cd <ioc_path> | |
>./start_caQtDM_<ioc_name> | |
7.) Navigate to the simDetector screen | |
Click "Detectors", then "simDetector", then "Simulator #1 Generic" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment