Differences between revisions 5 and 13 (spanning 8 versions)
Revision 5 as of 2012-03-10 00:32:22
Size: 1190
Comment:
Revision 13 as of 2013-06-19 22:14:18
Size: 1541
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from aLIGO EPICs log (conlog)
Line 8: Line 9:
To start it running, you need to set your environment, and then run the startup.c1conlog script : The restart procedures for megatron are as follows:
  * service mysql start
  * service apache2 start
  * screen (conlog is run from within a screen)
  * cd /opt/rtcds/caltech/c1/target/conlog/conlogepics
  * source conlog_environment.txt
  * ./starup.c1conlog
  * Enter: Ctrl+a , d to exit the screen and leave the conlog running
Line 10: Line 18:
To re-start the process if you only killed the screen, you need to start up a screen, set your environment, and then run the startup.c1conlog script :
Line 11: Line 20:
source /home/controls/ryan/conlog_environment.txt

cd /cvs/cds
/rtcds/caltech/c1/target/conlog/conlogepics

./
startup.c1conlog
/opt/rtcds/caltech/c1/target/conlog/startup.c1conlog
Line 17: Line 22:
This will leave you at an epics prompt, which means the code is running. (that's why I left it running in a screen for now). This will leave you at an epics prompt, which means the code is running. (That's why I left it running in a screen for now).  Just disconnect from that screen session without closing it to keep the Conlog running.
Line 20: Line 25:

/ligo/caltech/data/conlog/c1/add_channel_names

/ligo/caltech/data/conlog/c1/remove_channel_names

Then start up medm as follows:
Line 27: Line 26:
cd ~/ryan/

medm -x -macro "IFO=C1" medm/CONLOG.adl
$TARGET/conlog/add_channel_names
$TARGET/conlog/remove_channel_names
Line 31: Line 29:
Then click the Add channel list button or Remove channel list button. Then use the conlog MEDM screen reload the channel lists:
{{{
$MEDM/MISC/CONLOG.adl
}}}
Line 34: Line 35:
/ligo/caltech/data/conlog/c1/use_channel_names {{{
$TARGET
/conlog/use_channel_names
}}}

aLIGO EPICs log (conlog)

The aLIGO EPICS log (conlog) for the 40m is 'working' at: http://192.168.113.209/conlog/conlog.php

The process is running inside a screen on megatron.

The restart procedures for megatron are as follows:

  • service mysql start
  • service apache2 start
  • screen (conlog is run from within a screen)
  • cd /opt/rtcds/caltech/c1/target/conlog/conlogepics
  • source conlog_environment.txt
  • ./starup.c1conlog
  • Enter: Ctrl+a , d to exit the screen and leave the conlog running

To re-start the process if you only killed the screen, you need to start up a screen, set your environment, and then run the startup.c1conlog script :

/opt/rtcds/caltech/c1/target/conlog/startup.c1conlog

This will leave you at an epics prompt, which means the code is running. (That's why I left it running in a screen for now). Just disconnect from that screen session without closing it to keep the Conlog running.

To change the list of channels when the conlog is running, you need to edit the file (s):

$TARGET/conlog/add_channel_names
$TARGET/conlog/remove_channel_names

Then use the conlog MEDM screen reload the channel lists:

$MEDM/MISC/CONLOG.adl

To change the channels before running the conlog from a blank database, you would edit:

$TARGET/conlog/use_channel_names 

(I believe this should be read whenever the conlog is restarted, but I'm only sure it does the first time you start conlog).

ConLog (last edited 2021-03-09 04:24:00 by CraigcahillaneATligoDOTorg)