Differences between revisions 4 and 5
Revision 4 as of 2013-06-07 10:01:39
Size: 634
Comment:
Revision 5 as of 2013-06-10 13:43:46
Size: 1092
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:

 * Type {{{
>rtr
}}} or {{{
>cd /opt/rtcds/rtcore/release
}}}
  * Each RTS folder under /opt/rtcds/rtscores/tags/ or /opt/rtcds/rtscores/branches/ 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 23:
 * If you build k1x01 for example, {{{  * Build IOP; {{{
Line 15: Line 26:
}}} and build RT model; {{{
>make k1vex
>make install-k1vex
Line 16: Line 30:
> killk1vex
Line 17: Line 32:
>startk1vex
Line 18: Line 34:

----
  1. If you do not understand the meaning of modifying a model file, just stop here. Otherwise you may break whole system.
  2. Type

    >rtr

    or

    >cd /opt/rtcds/rtcore/release
    • Each RTS folder under /opt/rtcds/rtscores/tags/ or /opt/rtcds/rtscores/branches/ 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.
  3. 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.
  4. Make it sure you are on RT PC like standalone.
  5. Move proper directly by typing 'rtr' or

    >cd /opt/rtcds/rtcore/release
  6. 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)