TO DO List for Nerses

From CLONWiki
Revision as of 15:42, 2 November 2010 by 129.57.48.32 (talk)
Jump to navigation Jump to search

Items marked by (D)one, (O)pen, and (P)partial.

O Attempt to change clon01

We have to change the in ~/.cshrc $CLAS/.setup and $CLAS/R3.24.8.2/.setup to exclude clon01 in the if branching.

But, some IOCes are booting with epics account and others with clasboot. Should be standardized and documented. Sergey suggesting to have clasboot for new epics and epics for old one.



D LAC HV configuration

Problem: LAC configs were added in the $APP/hvca/db (R3.14.8.2). But ALH for HV does not recognize them.

cd $APP/hvca/db && \
make clean && \
make && \ # will make only *.alhConfig for targets listed in the default target
cd $APP/general/alh && make hv.alhConfig # will create alh config for HV-es.

A PHONY target alh was added into $APP/hvca/db/Makefile which allows to shorten above commands to:

cd $APP/hvca/db && \
make clean && \
make && \ # will make only *.alhConfig for targets listed in the default target
make alh # will create alh config for HV-es.

If this is final we should check-in and update working version. Assumes:

cvs up Makefile # to merge Makefile
cvs add lac1.dat lac2.dat lac.grp
cvs ci  lac1.dat lac2.dat lac.grp Makefile

O Modify Makefiles in the $BASEB/src for new EPICS release R3.14.8.2

O Insert clonpc{1,2,3} and camac2 into ioc_alive.adl

This means also to compile HallSystem from $BASEB/src on linux and vxWorks.

In general assumes Makefiles in the $BASEB/src should be modified in order to be able to compile using features present in th R3.14.8.2.

P Driver support for CAEN board 1932

Now, we have working version, which is generic for all known boards. But, because there is one software PRIMARY channel which sets limits for all channels, the interface is kind of fuzzy. Later we probably should separate 1932 board interface. The PRIMARY channel is not configured in $APP/hvca/db/<whatever>.db .So, shift takers will be obscured from internals of this board. But, experts should be aware of internals CAEN A1932. They have to connect using telnet like:

telnet hvpcal 1527

Then enter username and password of mainframe and change PRIMARY channel settings.

  • Upload this version into CVS.
  • Then upload sy527 version for vxWorks.
  • Then upload merged sy1527-sy527 version into CVS.

X Software IOC startup configurations

The software IOC-es are running on:

clonpc1 - gamma and tpe profilers
clonpc2 - HV of beam line devices (hvDvcs CAEN MF)
clonpc3 - test setups for CAEN HV MF-es (hvPCal and hvTest)

Startup directories now are $IOC/`hostname -s`. These files are used:

/usr/local/clas/release/current/R3.14.8.2/EPICS/ioc/clonpc1:
 envPaths
 softioc.pipe
 startup.all
/usr/local/clas/release/current/R3.14.8.2/EPICS/ioc/clonpc2:
 envPaths
 softioc.pipe
 startup.all
/usr/local/clas/release/current/R3.14.8.2/EPICS/ioc/clonpc3:
 envPaths  
 softioc.pipe
 startup.all

Startup script is /etc/init.d/softioc and it is different for each compter. Basically, because software IOC requires active STDIN (otherwise it dies), we make FIFO or named pipe, and using cat we are connecting it to the STDIN of software IOC. Besides, it is nicer than "sleep 1000d", it allows to send commands to software IOC (only once, because EOF or some signal is sent, which means exit to software IOC). This allows to avoid kill process, which leaves active the semaphore. To protect softioc.pipe files they made with read-only permissions.

D classc2 recovery

We suspect something wrong with scalers.

Eugene Pasyuk fixed. One of motor controlling scalers was the cause.

O IOC Logging setup

O description of beam line HV channels on HallB beam line page

P CAEN EPICS support for EC

DB and MEDM files are generated. Alarms are generated too. Should be checked if the "restore-save HV parameters" features are working.