Differences between revisions 2 and 16 (spanning 14 versions)
Revision 2 as of 2012-03-10 00:25:20
Size: 1172
Comment:
Revision 16 as of 2021-03-09 04:24:00
Size: 1414
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from aLIGO EPICs log (conlog)
Line 2: Line 3:

== This all seems to be obsolete now; needs some TLC ==
Line 6: Line 9:
The process is running inside a screen on megatron. The process runs inside of GNU screen on megatron.  It relies on `mysql` and `apache2`.
Line 8: Line 11:
To start it running, you need to set your environment, and then run the startup.c1conlog script :

source /home/controls/ryan/conlog_environment.txt

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

./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).
It is started by [[http://upstart.ubuntu.com/|upstart]], which is the Ubuntu init system. The main configuration script is:
{{{
/etc/init/conlog.conf
}}}
You can start/stop the process using the upstart utilites:
{{{
$ sudo start conlog
$ sudo stop conlog
$ status conlog
}}}
There should NOT really be a need to do this, but if you want to attach to the screen session to see what's going on you can do so like this:
{{{
screen -x CONLOG
}}}
If you accidentally kill the process, restart it as described above ("sudo start conlog").
Line 19: Line 28:

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

Then start up medm as follows:

cd ~/ryan/

medm -x -macro "IFO=C1" medm/CONLOG.adl

Then click the Add channel list button or Remove channel list button.
{{{
$TARGET/conlog/add_channel_names
$TARGET/conlog/remove_channel_names
}}}
Then use the conlog MEDM screen reload the channel lists:
{{{
$MEDM/MISC/CONLOG.adl
}}}
Line 32: Line 38:
/ligo/caltech/data/conlog/c1/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). {{{
$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).

aLIGO EPICs log (conlog)

This all seems to be obsolete now; needs some TLC

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

The process runs inside of GNU screen on megatron. It relies on mysql and apache2.

It is started by upstart, which is the Ubuntu init system. The main configuration script is:

/etc/init/conlog.conf

You can start/stop the process using the upstart utilites:

$ sudo start conlog
$ sudo stop conlog
$ status conlog

There should NOT really be a need to do this, but if you want to attach to the screen session to see what's going on you can do so like this:

screen -x CONLOG

If you accidentally kill the process, restart it as described above ("sudo start conlog").

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)