Size: 753
Comment:
|
Size: 1092
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
## page was renamed from LCGT/subgroup/ifo/digital/Manual/BuildModel | |
Line 3: | Line 4: |
* When you modified an existing model file (extension: .mdl) using Simlink on Matlab at /opt/rtcds/tst/x1/core/advLigoRTS/trunk/src/epics/simLink/, you need to rebuild the model. | * 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. * 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. |
Line 7: | Line 19: |
* Move proper directly {{{ >cd /opt/rtcds/tst/x1/core/advLigoRTS/trunk |
* Move proper directly by typing 'rtr' or {{{ >cd /opt/rtcds/rtcore/release |
Line 11: | Line 23: |
* If you build x1x30 for example, {{{ >make uninstall-x1x30 >make x1x30 >make install-x1x30 >make install-daq-x1x30 >make install-screens-x1x30 }}}, instead the above, easier way is just to type {{{ ./dbuild x1x30 }}} on the same directly. 'dbuiild' command is a script to make all the process above. |
* 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. ---- |
- If you do not understand the meaning of modifying a model file, just stop here. Otherwise you may break whole system.
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.
- src/epics/simLink/
- Each RTS folder under /opt/rtcds/rtscores/tags/ or /opt/rtcds/rtscores/branches/ includes
- 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.
- Make it sure you are on RT PC like standalone.
Move proper directly by typing 'rtr' or
>cd /opt/rtcds/rtcore/release
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.