44 lines
1.5 KiB
Plaintext
44 lines
1.5 KiB
Plaintext
Virtual LINAC Demo
|
|
|
|
The Virtual LINAC Demo is an EPICS ioc application that simulates
|
|
an electron beam progressing down a LINAC. Several steering coils,
|
|
BPMs, and other typical accelerator components are simulated.
|
|
See Virtual_Linac_Info.pdf for a complete explanation.
|
|
|
|
For full functionality the sequencer module and a two
|
|
sequence programs must be built and loaded. The raw template
|
|
has these items commented out because the sequencer is not
|
|
part of base. The following steps must be accomplished:
|
|
- Uncomment the SNCSEQ definition line in
|
|
configure/RELEASE and define the link to the location
|
|
where the sequencer was installed.
|
|
|
|
- Uncomment the following lines in src/Makefile
|
|
vlinac_SRCS += beamTrajectory.st
|
|
vlinac_SRCS += autoControl.st
|
|
vlinac_LIBS += seq pv
|
|
|
|
- Uncomment the following lines in src/vlinacInclude.dbd
|
|
registrar(beamTrajectoryRegistrar)
|
|
registrar(autoControlRegistrar)
|
|
|
|
- Uncomment the following lines in iocBoot/iocvlinac/st.cmd
|
|
seq &beamTrajectory, "user=xxx"
|
|
seq &autoControl, "user=xxx"
|
|
|
|
- Rebuild the entire application and start (reboot) the ioc
|
|
|
|
This directory (misc) contains additional files to compliment
|
|
the virtual linac demo application.
|
|
|
|
Virtual_Linac_Info.pdf : Description of the Virtual Linac
|
|
*.adl : medm display files
|
|
*.gif : images used in medm files
|
|
|
|
To start the ioc, refer to the README file in the iocBoot
|
|
directory.
|
|
|
|
To start medm, use the following command:
|
|
medm -local -x -macro user=_USER_ Virtual_Linac.adl
|
|
|