Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2012-03-02 16:56:08
Size: 811
Comment:
Revision 5 as of 2012-03-03 20:57:04
Size: 1247
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
=== How to change model name on standalone setpu. === === How to change model name or DCU number on standalone setpu. ===
Line 3: Line 3:
 1. make a .mdl RT model file at using Simlink of Matlab.  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/.

 * 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.
Line 14: Line 17:
 * Verify no error message, then modify /etc/rtsystab, /opt/rtcds/tst/x1/target/fb/master, and /opt/rtcds/tst/x1/target/fb/daqdrc if you changed DUC number. /opt/rtcds/tst/x1/target/gds/param/testpoint.par should be modified automatically when you build.  * Verify no error message
Line 16: Line 19:
 * define DAQ channel using{{{  * Then modify /etc/rtsystab to put the new model name or change existing model to the new one.

 * Modify /opt/rtcds/tst/x1/target/fb/master

 * And /opt/rtcds/tst/x1/target/fb/daqdrc if you changed DUC number.

 * /opt/rtcds/tst/x1/target/gds/param/testpoint.par should be modified automatically when you build.

 * define and activate DAQ channels using{{{
Line 23: Line 34:
 (yyy = existing old model name like x1x15) and type {{{  (yyy = existing old model name like x1x15) and start the new model by typing {{{
Line 26: Line 37:
 (xxx = model name like x1scx) or just reboot.  (xxx = model name like x1scx) on any directly, or just reboot RT PC as {{{
>sudo reboot
}}}

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

  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/.
  2. 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.
  3. Go RT PC as

    ssh -Y XXX
    (XXX = RT PC host name like standalone)
  4. > cd /opt/rtcds/tst/x1/core/advLigoRTS/trunk
  5. build model as

    > ./dbuild xxx.mdl
    (xxx = model name like x1scx)
  6. Verify no error message
  7. Then modify /etc/rtsystab to put the new model name or change existing model to the new one.
  8. Modify /opt/rtcds/tst/x1/target/fb/master
  9. And /opt/rtcds/tst/x1/target/fb/daqdrc if you changed DUC number.
  10. /opt/rtcds/tst/x1/target/gds/param/testpoint.par should be modified automatically when you build.
  11. define and activate DAQ channels using

    > daqconfig &
  12. kill old model like

    > killyyy

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

    > startxxx

    (xxx = model name like x1scx) on any directly, or just reboot RT PC as

    >sudo reboot

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