epics-modules / xxx

APS BCDA synApps module: xxx
http://epics-modules.github.io/xxx
Other
5 stars 6 forks source link

xxx screens need additional macro definitions #60

Closed prjemian closed 8 months 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

prjemian commented 8 months ago

Thanks!