prjemian / epics-docker

Provide EPICS IOCs in docker images
9 stars 4 forks source link

xxx GUI related display items need a macro #59

Open prjemian opened 1 year ago

prjemian commented 1 year ago

Some related display items (involving orient9 screens) are missing the O= macro. Also note the differences in motor assignments. To facilitate different motor assignments (an installation detail), the assignments should be made with macros.

xxx.ui

             <property name="files">
              <string>orient.ui;orient9.ui</string>
             </property>
             <property name="args">
              <string>P=$(P),O=_0,PM=$(P),mTTH=SM1,mTH=SM2,mCHI=SM3,mPHI=SM4;P=$(P),PM=$(P),mTTH=SM1,mTH=SM2,mCHI=SM3,mPHI=SM4</string>
             </property>

Here, the macro needs to be added to the call to the second file.

xxx.adl

Same problem in the MEDM file.

        display[1] {
                label="orient9"
                name="orient9.adl"
                args="P=$(P),PM=$(P),mTTH=m9,mTH=m10,mCHI=m11,mPHI=m12"
        }

Here, the macro needs to be added to the call to the display[1].

Originally posted by @prjemian in https://github.com/prjemian/epics-docker/issues/55#issuecomment-1499367410