Differences between revisions 6 and 10 (spanning 4 versions)
Revision 6 as of 2012-06-06 18:07:14
Size: 1326
Comment:
Revision 10 as of 2013-11-22 13:20:12
Size: 1702
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from LCGT/subgroup/ifo/digital/Manual/ChangeModelNameSTDA
Line 4: Line 3:
 1. Make a new .mdl RT model file using Simlink of Matlab or copy the existing .mdl file under /opt/rtcds/tst/x1/core/advLigoRTS/trunk/src/epics/simLink/.  1. Make a new .mdl RT model file under /opt/rtcds/rtscore/release/src/epics/simLink/ using Simlink of Matlab, or copy the existing .mdl file there.
Line 6: Line 5:
 * If you want to change druid on an existing model, start matlab on 'desktop1' PC, open the x1x30.mdl, and change dcuid on left top box.  * If you need to change dcuid on an existing model, start matlab on 'desktop1' PC, open the k1x01.mdl for example, and change dcuid on left top box.
Line 12: Line 11:
> cd /opt/rtcds/tst/x1/core/advLigoRTS/trunk > cd /opt/rtcds/rtscore/release
Line 15: Line 14:
> ./dbuild xxx.mdl
}}} (xxx = model name like x1scx)
> make xxx
>
make install-xxx
}}} (xxx = model name like k1x01)
Line 18: Line 18:
 * Verify no error message  * Verify no error message. If you see error message about testpoint.par when you build the new model, just delete testpoint.par and build again. Don't forget to build all the model again you need to run if you delete testpoint.par.
Line 20: Line 20:
 * Then modify /etc/rtsystab to put the new model name or change existing model to the new one.  * Then edit /etc/rtsystab. Write down the new model name or change existing model name to the new one.
Line 22: Line 22:
 * Modify /opt/rtcds/tst/x1/target/fb/master  * Edit /opt/rtcds/kamioka/k1/target/fb/master
Line 24: Line 24:
 * And /opt/rtcds/tst/x1/target/fb/daqdrc if you changed DUC number.  * And /opt/rtcds/kamioka/k1/target/fb/daqdrc if you changed DUC number.
Line 26: Line 26:
 * /opt/rtcds/tst/x1/target/gds/param/testpoint.par should be modified automatically when you build.  * /opt/rtcds/tst/kamioka/k1/gds/param/testpoint.par should be modified automatically when you build, but you should check it.
Line 28: Line 28:
 * define and activate DAQ channels using{{{  * define and activate DAQ channels by{{{
Line 35: Line 35:
 (yyy = existing old model name like x1x15) and start the new model by typing {{{  (yyy = existing old model name like k1x01) and start the new model by typing {{{
Line 38: Line 38:
 (xxx = model name like x1scx) on any directly, or just reboot RT PC as {{{  (xxx = model name like k1vex) from any directly. Note that if you changed IOP like k1x01, you have to kill slave RT model running on the IOP first like killk1vex and then type killk1x01. Then start the new IOP first, start the new slave RT model second. Or just reboot RT PC as {{{

How to change model name or DCU number on standalone setpu.

  1. Make a new .mdl RT model file under /opt/rtcds/rtscore/release/src/epics/simLink/ using Simlink of Matlab, or copy the existing .mdl file there.
  2. If you need to change dcuid on an existing model, start matlab on 'desktop1' PC, open the k1x01.mdl for example, and change dcuid on left top box.
  3. Go RT PC as

    ssh -Y XXX
    (XXX = RT PC host name like standalone)
  4. > cd /opt/rtcds/rtscore/release
  5. build model as

    > make xxx
    > make install-xxx
    (xxx = model name like k1x01)
  6. Verify no error message. If you see error message about testpoint.par when you build the new model, just delete testpoint.par and build again. Don't forget to build all the model again you need to run if you delete testpoint.par.
  7. Then edit /etc/rtsystab. Write down the new model name or change existing model name to the new one.
  8. Edit /opt/rtcds/kamioka/k1/target/fb/master
  9. And /opt/rtcds/kamioka/k1/target/fb/daqdrc if you changed DUC number.
  10. /opt/rtcds/tst/kamioka/k1/gds/param/testpoint.par should be modified automatically when you build, but you should check it.
  11. define and activate DAQ channels by

    > daqconfig &
  12. kill old model like

    > killyyy

    (yyy = existing old model name like k1x01) and start the new model by typing

    > startxxx

    (xxx = model name like k1vex) from any directly. Note that if you changed IOP like k1x01, you have to kill slave RT model running on the IOP first like killk1vex and then type killk1x01. Then start the new IOP first, start the new slave RT model second. Or just reboot RT PC as

    >sudo reboot

KAGRA/Subgroups/DGS/Manual/ChangeModelNameSTDA (last edited 2013-11-22 13:20:12 by OsamuMiyakawa)