Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2012-02-22 16:04:45
Size: 645
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 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:
 * define DAQ channel using{{{  * Verify no error message

 * 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 17: Line 30:
 * 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.
Line 19: Line 31:
 * Reboot  * 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
}}}

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)