Search/Navigation:
Related:
SLAC/EPP/HPS Public
Jefferson Lab/Hall B/HPS Run Wiki
S30XL-LESA/LDMX
The epics setup for HPS has been checked to run on the zed board but is developed mainly on the hps tracker machine in group C.
The development is based from the standard epics_example at:
/home/tracker/pelle/epics/example
and is currently on SVN:
svn://svn.freehep.org/hps/epics/trunk
NOTE: I should fix the SVN so that I can commit our SVT code separately from the IOC code which enables the transition between the arm and intel environments to be smooth. Right now I only checked out the interesting folders (src and db stuff) into the hpstracker and work on those ignoring the setup scripts that was originally checked in from the arm setup on the zed board.
Setup EPICS environment (part of the DAQ setup script):
$ cd /u1/software/software_new
$ source setup_env.csh
Go to the IOC base directory:
$ cd /home/tracker/pelle/epics/example/
$ cd /home/tracker/pelle/epics/example/iocBoot/iocmyexampleApp
$./st.cmd
This should run the epics IOC and you should see output to the screen where it queries the socket for information. Depending on the debug level (see below) there might be lots of output here. If there is no control server running or it's not configured properly (see below) you should see it retrying to connect.
Power the FEB
Start the control server and GUI
$ cd /u1/software/software_new
$ source setup_env.csh
$ ./bin/frontEndTestGui &
If the IOC is running (if not start it) you should see that the IOC now gets information from the control server.
NOTE: if you don't see a connection you might need to change the TCP/IP settings (see below).
Setting up for editing or running the SVT slow control GUIs
Setup MEDM environment (part of the DAQ setup script):
$ cd /u1/software/software_new
$ source setup_env.csh
Go to the SVT MEDM directory:
$ /home/tracker/pelle/epics/medm_hps
This directory is also in SVN at
svn://svn.freehep.org/hps/epics/trunk/medm_hps
var mySubDebug 0