Differences between revisions 6 and 7
Revision 6 as of 2012-06-06 18:07:14
Size: 1326
Comment:
Revision 7 as of 2013-04-03 10:30:45
Size: 1336
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
 * 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 x1x14.mdl for example, and change dcuid on left top box.
Line 12: Line 12:
> cd /opt/rtcds/tst/x1/core/advLigoRTS/trunk > cd /opt/rtcds/rtcore/release
Line 15: Line 15:
> ./dbuild xxx.mdl
}}} (xxx = model name like x1scx)
> make xxx
>
make install-xxx
}}} (xxx = model name like x1x14)

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 need to change dcuid on an existing model, start matlab on 'desktop1' PC, open the x1x14.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/rtcore/release
  5. build model as

    > make xxx
    > make install-xxx
    (xxx = model name like x1x14)
  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)