Differences between revisions 5 and 10 (spanning 5 versions)
Revision 5 as of 2013-02-23 10:10:28
Size: 2341
Comment:
Revision 10 as of 2013-03-05 11:37:47
Size: 2954
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
== Directory structure for RT standalone system (after RTS2.4)== == Directory structure for RT standalone system (after RTS2.4) ==
Line 4: Line 4:
 * /opt/rtcds/rtscore/
  . Including all advLigoRTS svn structure until 2.6.1. Under tags or branches folders, each folder includes Makefile to build RT models.
  
. To build RT model, change directory to version you need, and just type {{{
 * /opt/rtcds/rtscores/
  . Including all advLigoRTS svn structure until 2.6.1. Under tags or branches folders, each folder includes Makefile to build RT models. To build RT model, change directory to version you need, and just type {{{
Line 17: Line 16:
 * Each RTS folder under /opt/rtcds/rtscore/tags/ or /opt/rtcds/rtscore/branches/ includes  * Each RTS folder under /opt/rtcds/rtscores/tags/ or /opt/rtcds/rtscores/branches/ includes
Line 27: Line 26:
 * /opt/rtcds/tst/x1/target/fb/ : for daqd, nds
  * /opt/rtcds/tst/x1/target/fb/logs/ : log files for daqd and nds
  * /opt/rtcds/tst/x1/target/fb/jobs/ : working directory for nds
 * /opt/rtcds/tst/x1/target/fb/ : mainly setting for daqd, nds.
  * /opt/rtcds/tst/x1/target/fb/daqdrc : a setting file for daqd.
  * /opt/rtcds/tst/x1/target/fb/master : a setting file to call channel information.
  * /opt/rtcds/tst/x1/target/fb/logs/ : log files for daqd and nds.
  * /opt/rtcds/tst/x1/target/fb/
jobs/ : working directory for nds.
Line 32: Line 33:
  * /opt/rtcds/tst/x1/target/gds/bin/ : binary file of awgtpman
  * /opt/rtcds/tst/x1/target/gds/awgtpman_startup/ : startup scripts for awgtpman
  * /opt/rtcds/tst/x1/target/gds/awgtpman_logs/ : log files for starting awgtpman
  * /opt/rtcds/tst/x1/target/gds/param/ : detail of testpoint channels
   
. testpoint.par is automatically produced 
  * /opt/rtcds/tst/x1/target/gds/bin/ : binary file of awgtpman.
  * /opt/rtcds/tst/x1/target/gds/awgtpman_startup/ : startup scripts for awgtpman, called from startup script of each model.
  * /opt/rtcds/tst/x1/target/gds/awgtpman_logs/ : log files for starting awgtpman.
  * /opt/rtcds/tst/x1/target/gds/param/ : detail of testpoint channels. testpoint.par is automatically produced.
Line 39: Line 39:
  * /opt/rtcds/tst/x1/target/x1x14/scripts or /opt/rtcds/tst/x1/target/x1vex/scripts : to load RT kernel module
  * /opt/rtcds/tst/x1/target/x1x14/x1x14epics or /opt/rtcds/tst/x1/target/x1vex/x1vexepics : to start epics ioc
  * /opt/rtcds/tst/x1/target/x1x14/scripts or /opt/rtcds/tst/x1/target/x1vex/scripts : to load epics IOC, RT kernel module, awgtpman. Called from /etc/rc.local.
  * /opt/rtcds/tst/x1/target/x1x14/x1x14epics or /opt/rtcds/tst/x1/target/x1vex/x1vexepics : to start epics ioc. Called from startup script of each model.
Line 42: Line 42:
 * /opt/rtcds/tst/x1/medm/ : for medm .adl files, used by medm
 * /opt/rtcds/tst/x1/chans/ : digital filter setting files, used by foton
 * /opt/rtcds/tst/x1/medm/ : for medm .adl files, used by medm.
 * /opt/rtcds/tst/x1/chans/ : digital filter setting files, used by foton.
Line 45: Line 45:
 * /etc/rc.local : start mbuf, monit, startscripts for RT core
 * /etc/rtsystab : includes name of RT models to be run
 * /etc/ : inittab, fstab, export, service, rpc
 * /opt/rtapps/ : additional application folder to run RTS like EPICS.
Line 49: Line 47:
 * /lib/modules/2.6.34.1/kernel/drivers/mbuf/ : location of mbuf module 'mbuf.ko'  * /etc/rc.local : to start 'mbuf', 'monit', startscripts for RT core.
  * /etc/rtsystab : includes name of RT models to be run.
 * /etc/inittab : to start 'nds' and 'daqd'.
 * /etc/xinet.d/ : setting files to start 'diagconf', 'chnconf' and 'leapconf'.
  * /etc/service : to start diagconf.
  * /etc/rpc : to start chnconf and leapconf.
 * /etc/fstab
 * /etc/export


 * /lib/modules/2.6.34.1/kernel/drivers/mbuf/ : location of mbuf module 'mbuf.ko'. Called from /etc/rc.local.

Directory structure for RT standalone system (after RTS2.4)

  • /opt/rtcds/rtscores/
    • Including all advLigoRTS svn structure until 2.6.1. Under tags or branches folders, each folder includes Makefile to build RT models. To build RT model, change directory to version you need, and just type

      > make x1x14
      > make install-x1x14
      > make x1vex
      > make install-x1vex

      to start the new model,

      > killx1vex
      > startx1x14
      > startx1vex
  • 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.
  • /opt/rtcds/tst/x1/scripts : script files to restart/kill RT models. To start an RT model, type

    > startx1x14
    for example. This commands can be run in any directory since path is set in .bashrc in /home/controls.
  • /opt/rtcds/tst/x1/target/fb/ : mainly setting for daqd, nds.
    • /opt/rtcds/tst/x1/target/fb/daqdrc : a setting file for daqd.
    • /opt/rtcds/tst/x1/target/fb/master : a setting file to call channel information.
    • /opt/rtcds/tst/x1/target/fb/logs/ : log files for daqd and nds.
    • /opt/rtcds/tst/x1/target/fb/jobs/ : working directory for nds.
  • /opt/rtcds/tst/x1/target/gds/
    • /opt/rtcds/tst/x1/target/gds/bin/ : binary file of awgtpman.
    • /opt/rtcds/tst/x1/target/gds/awgtpman_startup/ : startup scripts for awgtpman, called from startup script of each model.
    • /opt/rtcds/tst/x1/target/gds/awgtpman_logs/ : log files for starting awgtpman.
    • /opt/rtcds/tst/x1/target/gds/param/ : detail of testpoint channels. testpoint.par is automatically produced.
  • /opt/rtcds/tst/x1/target/x1x14/ or /opt/rtcds/tst/x1/target/x1vex
    • /opt/rtcds/tst/x1/target/x1x14/scripts or /opt/rtcds/tst/x1/target/x1vex/scripts : to load epics IOC, RT kernel module, awgtpman. Called from /etc/rc.local.
    • /opt/rtcds/tst/x1/target/x1x14/x1x14epics or /opt/rtcds/tst/x1/target/x1vex/x1vexepics : to start epics ioc. Called from startup script of each model.
  • /opt/rtcds/tst/x1/medm/ : for medm .adl files, used by medm.
  • /opt/rtcds/tst/x1/chans/ : digital filter setting files, used by foton.
  • /opt/rtapps/ : additional application folder to run RTS like EPICS.
  • /etc/rc.local : to start 'mbuf', 'monit', startscripts for RT core.
    • /etc/rtsystab : includes name of RT models to be run.
  • /etc/inittab : to start 'nds' and 'daqd'.
  • /etc/xinet.d/ : setting files to start 'diagconf', 'chnconf' and 'leapconf'.
    • /etc/service : to start diagconf.
    • /etc/rpc : to start chnconf and leapconf.
  • /etc/fstab
  • /etc/export
  • /lib/modules/2.6.34.1/kernel/drivers/mbuf/ : location of mbuf module 'mbuf.ko'. Called from /etc/rc.local.

KAGRA/Subgroups/DGS/RTPC/DirectoryStructure (last edited 2013-06-10 13:59:55 by OsamuMiyakawa)