cdev-code-2008
CDEV is a system from CAD that broadcasts all sorts of information about the beam includeing fill patterns, spin patterns, beam currents and much more. Jan developed a system to poll this data base every few minutes and write to a STAR data base and then display it on the web for people monitoring the run.
In 2008 I started from what Jan ran in 2006 documented at
drupal.star.bnl.gov/STAR/blog-entry/balewski/2006/cdev-archive-machinery
The biggest change is that I did not send information between computers. CDEV was read and the STAR data base filled from one machine, the slow controls machine sc in the control room. Then the information was published to an online web page at
The code that reads cdev and puts the data on the star data base is located in
cvs co online/eemc/dataQuery/cdevQuery/
I checked it out at rcf and then copied over to sc. At the end of the run I checked it back in by copying back and cvs ci. 3/??/2008
The work was done in /home/sysuser/epics.3.14.7/cdev_rhic/CDEV/sowinskiApp
Many of the changes were simple and just to work in the new directory structure.
The important change was to oneCdev2Db.sh where the cdev output was written to a log file and then also to the star data base using eemcdb. A version of eemcdb had to be loaded onto sc and made to compile. This work was done in /home/sysuser/epics.3.14.7/cdev_rhic/CDEV/sowinskiApp/eemcDb. I do not believe the code was changed but that primarily the make file was modified and star root libraries were made available on sc. We also needed to get the correct data base servers looked at by setting up dbServers.xml and making sure the correct one was loaded in the sh script. The log I kept while making changes is at
drupal.star.bnl.gov/STAR/system/files/README.cdevQuery.txt
The other work was done on onllinux8 under my own account. There a script read the STAR data base and then turned the output into web pages that updated every 5 minutes. Changes were minor here. The code more or less worked out of the box. We needed Mike DePhilips or Jeff to set up the online.star.bnl.gov/cdev2008 web area. The notes during the changes are attached
drupal.star.bnl.gov/STAR/system/files/README.webGen.txt
Finally tar files of both onllinux8 and sc work are in /star/u/sowinski/cdev. These contain the final status of the directories on March 16 2008 including all log files etc. The last web pages remain in the working directory as well as published on the web.
- sowinski's blog
- Login or register to post comments