Differences between revisions 4 and 8 (spanning 4 versions)
Revision 4 as of 2013-06-07 10:01:39
Size: 634
Comment:
Revision 8 as of 2014-09-04 13:04:56
Size: 1247
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 * If you need to change model name or add a new model, see [[KAGRA/Subgroups/DGS/Manual/ChangeModelNameSTDA|this]] page.

 * Type {{{
>rtr
}}} or {{{
>cd /opt/rtcds/rtcore/release
}}}
  * Each RTS folder under /opt/rtcds/rtscores/tags/advLigoRTS-2.X.X or /opt/rtcds/rtscores/branches/advLigoRTS-2.X.X includes
   * src/epics/simLink/
    . .mdl (RT model) files. Matlab opens these model files.
   * src/epics/simLink/lib/
    . library for RT models with Matlab. Needs to path at the beginning when Matlab open .mdl files.
Line 12: Line 24:
 * If you build k1x01 for example, {{{  * Build IOP; {{{
Line 15: Line 27:
}}} and build RT model; {{{
>make k1vex
>make install-k1vex
Line 16: Line 31:
> killk1vex
Line 17: Line 33:
>startk1vex
Line 18: Line 35:

----
  1. If you do not understand the meaning of modifying a model file, just stop here. Otherwise you may break whole system.
  2. When you modified an existing model file (extension: .mdl) using Simlink on Matlab at /opt/rtcds/rtcore/release/src/epics/simLink/, you need to rebuild the model.
  3. If you need to change model name or add a new model, see this page.

  4. Type

    >rtr

    or

    >cd /opt/rtcds/rtcore/release
    • Each RTS folder under /opt/rtcds/rtscores/tags/advLigoRTS-2.X.X or /opt/rtcds/rtscores/branches/advLigoRTS-2.X.X includes
      • src/epics/simLink/
        • .mdl (RT model) files. Matlab opens these model files.
      • src/epics/simLink/lib/
        • library for RT models with Matlab. Needs to path at the beginning when Matlab open .mdl files.
  5. Make it sure you are on RT PC like standalone.
  6. Move proper directly by typing 'rtr' or

    >cd /opt/rtcds/rtcore/release
  7. Build IOP;

    >make k1x01
    >make install-k1x01

    and build RT model;

    >make k1vex
    >make install-k1vex

    then,

    > killk1vex
    >startk1x01
    >startk1vex
    to start the new model.


KAGRA/Subgroups/DGS/Manual/BuildModel (last edited 2022-02-14 17:39:48 by TakahiroYamamoto)