Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. EPICS IOC Prepared
    1. SXR IOC Configuration:
      1. git repo: Undulator_SXR
          git
          1. branch: epics7-update
        1.  $(git_repo)/configure/RELEASE:
          • SEQ_MODULE_VERSION                =R2.2.4-1.2
            AUTOSAVE_MODULE_VERSION     =R5.8-2.1.0
            CAPUTLOG_MODULE_VERSION     =R4.0-1.0.0
            IOCADMIN_MODULE_VERSION     =R3.1.16-1.3.2
            SSUBRECORD_MODULE_VERSION   =R3.0.4
            MODBUS_MODULE_VERSION       =R3.2-1.0.1
            ASYN_MODULE_VERSION             =R4.39-1.0.1
            MOTOR_MODULE_VERSION         =R6.10.1-2.3.1
            STREAM_MODULE_VERSION        =R2.8.9-1.2.1
            CALC_MODULE_VERSION             =R3.7-1.0.1
            MISCUTILS_MODULE_VERSION    =R2.2.5
            SSCAN_MODULE_VERSION          =R2.10.2-1.0.0
            CEXP_MODULE_VERSION             =R1.1.3
            SPLINE_MODULE_VERSION          =R2.0.2
        2.   $(git_repo)/configure/RELEASE RELEASE_SITE:
          • BASE_MODULE_VERSION=R7.0.3.1-1.0
            EPICS_SITE_TOP=/afs/slac/g/lcls/epics
            BASE_SITE_TOP=/afs/slac/g/lcls/epics/base
            EPICS_MODULES=/afs/slac/g/lcls/epics/R7.0.3.1-1.0/modules
            IOC_SITE_TOP=/afs/slac/g/lcls/epics/iocTop
            PACKAGE_SITE_TOP=/afs/slac/g/lcls/package
            TOOLS_SITE_TOP=/afs/slac/g/lcls/tools
            ALARM_CONFIGS_TOP=/afs/slac/g/lcls/tools/AlarmConfigsTop
        3.  $(git_repo)/configure/CONFIG_SITE:
          • CHECK_RELEASE = YES

            CROSS_COMPILER_TARGET_ARCHS = 

            PKG_ARCH=$(T_A)

            INSTALL_LOCATION_STARTUP += $(INSTALL_LOCATION)/startup
            DIRECTORY_TARGETS += $(INSTALL_LOCATION_STARTUP)
            SHARED_LIBRARIES=NO
            STATIC_BUILD=YES

            # Location of Kernel Modules
            LINUX_KERNEL_MODULES=$(PACKAGE_SITE_TOP)/linuxKernel_Modules

            LINUX_VERSION=rhel6

             PCRE=YES
             PCRE_PACKAGE_NAME=pcre
             PCRE_VERSION=8.37
             PCRE_TOP=$(PACKAGE_SITE_TOP)/$(PCRE_PACKAGE_NAME)/$(PCRE_VERSION)
             PCRE_LIB=$(PCRE_TOP)/$(PKG_ARCH)/lib
             PCRE_INCLUDE=$(PCRE_TOP)/$(PKG_ARCH)/include

    2. SXR Upgrade Test Plan-
      1. Week 1: Practice test on SXU-021
        1. Prepare work:
          1. Record current iocSpecificRelease for sioc-b81-mc03:
            1. iocSpecificRelease -> /u/cd/tthayer/workspace/LCLSII/SXRU/Undulator_SXR_MMF/
        2. During the test day:
          1. Boot current EPICS 3 based IOC, record settings:
          2. Currently sioc-b81-mc03 is running, need to check again before test
          3. Open EDM based Undulator GUI
            1. login lcls-dev3
            2. cd ../tthayer
            3. cd LCLSII/SXRU/Undulator_SXR_MMF/util/prod
            4. ./SXU_TCRM_GUI.sh
          4. Before any movement, record all the settings.
            1. Take screenshots from GUI
            2. check IOC status
            3. check network connection: moc-b81-mc03
            4. Follow  checkout sheet to process the practice tests
          5. Print the checkout sheet
          6. Practice with K value and Gap convert
          7. According to the checkout sheet, the main motion test should be as follows:
            1. Move gap from 180mm to 100mm
            2. Power off controller and turn off ioc
            3. Power on controller and turn on ioc
            4. Confirm Encoder RBD value
            5. Tests will verify the correct operation of the following motion controls:
            6. Wiring, switch status, ESTOP functionality.
            7. Coordinated motion for gap adjustment.
            8. Encoder read back: available, calibrated.
            9. Limit, tilt, and vacuum switches: single axis, coordinated motion.
          8. Take a look on spline
          9. Stop the test if encounter any issue/hazard, contact Alex for help.
        3. After all the test, revert all the settings as same as saved before.
      1. Week 2: EPICS 7 Upgrade test
        1. Prepare work:
          1. Confirm current iocSpecificRelease for sioc-b81-mc03:
            1. iocSpecificRelease -> /u/cd/tthayer/workspace/LCLSII/SXRU/Undulator_SXR_MMF/
          2. Confirm the repo branch "epics7-update" is compatible with current running branch "develop"
        2. During the test day:
          1. Before any movement, record all the settings.
            1. Take screenshots from GUI
            2. check IOC status
            3. check network connection: moc-b81-mc03
          2. change the sioc-b81-mc03's slink to the test repo:
            1. iocSpecificRelease -> /u/cd/zyhuang/source/repos/motionControlApps/Undulator_SXR/Undulator_SXR-git
          3. Reboot IOC
            1. check IOC status
            2. check network connection
            3. check GUI status
            4. check $IOC_DATA/sioc-b81-mc03 and confirm all the iocInfo files (like autosave and screenlog) are generated correclty.
          4. Convert K value and Gap, make sure this function is normal.
            1. Need to convert from K value to Gap and from Gap to K value.
            2. Record the value and compare with last time's test.
          5. Follow  checkout sheet to process the practice tests:
            1. Stop when any issue occurred.Stop, contact Alex for help.
          6. After all the checkout steps are done ,call Alex to come and double check everything is working.
          7. After all the test, revert all the settings as same as saved before.
          8. Stop current IOC and change slink back to:
            1. iocSpecificRelease -> /u/cd/tthayer/workspace/LCLSII/SXRU/Undulator_SXR_MMF/
          9. Confirm all the settings are as same as saved before.