How to change the first character on the model

Assigned site symbols

site

location

X

tst

S

stn

K

kamioka

H

lho

L

llo

C

caltech

M

mit

G

geo


RT PC

  1. Copy existing model file or make a new model file with the name which has a symbol character ('k' or 'x' etc.) as, for example here, 'k1x01.mdl' under /opt/rtcds/rtscore/release/src/epics/simlink/
    • Open the file on Matlab, Simulink and change the symbol to K1 on "site=xx"
  2. build the modle you made like

    cd /opt/rtcds/rtscore/release
    make k1x01
    make install-k1x01
    Note that necessary directories will be made automatically under /opt/rtcds/
  3. copy existing awgtpman or build a new awgtpman and move to /opt/rtcds/kamioka/k1/target/gds/bin
    • cory diag_X.conf under /opt/rtcds/tst/x1/target/gds/param to /opt/rtcds/kamioka/k1/target/gds/param/diag_K.conf and modify it.
  4. make fb directory under /opt/rtcds/kamioka/k1/target/
    • copy existing 'daqdrc', 'master', 'start_daqd.inittab', 'start_nds.inittab' from /opt/rtcds/tst/x1/target/fb to /opt/rtcds/kamioka/k1/target/fb and modify them.
    • copy existing /opt/rtcds/tst/x1/target/fb/nds and /opt/rtcds/tst/x1/target/fb/daqd to /opt/rtcds/kamioka/k1/target/fb/ or build new nds and daqd and move to /opt/rtcds/tst/k1/target/fb
  5. Make 'jobs' and 'logs' directories under fb.
  6. Modify .bashrc
  7. Modify /opt/rtcds/rtcds-user-env.sh as

    export site=tst
    export ifo=x1
  8. Modify under /etc for following files
    • Modify 'rtsystab'
    • Modify 'rc.local'
    • Modify 'awgtpman_template'
    • Modify 'gen_awgtpman_scripts.sh'
    • Modify 'init.d/awgtpman_iop'
    • Modify 'inittab'
    • Modify xinetd.d/leapconf, xinetd.d/diagconf, xinetd.d/chnconf as

      xinetd.d/leapconf:      env                     = HOME=/opt/rtcds/kamioka/k1/target/gds
      xinetd.d/leapconf:      server_args             = /opt/rtcds/kamioka/k1/target/gds/param/leap.conf
      xinetd.d/diagconf:      server_args             = /opt/rtcds/kamioka/k1/target/gds/param/diag_K.conf
      xinetd.d/chnconf:       env                     = HOME=/opt/rtcds/kamioka/k1/target/gds
      xinetd.d/chnconf:       server_args             = /opt/rtcds/kamioka/k1/target/gds/param/tpchn_k1x01.par


Client WS

  1. Modify .cshrc for alias etc.


Bug reports

Questions