epics-modules / xxx

APS BCDA synApps module: xxx

Home Page:http://epics-modules.github.io/xxx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUG: inconsistent naming of busy records

prjemian opened this issue · comments

As reported in prjemian/epics-docker#69, the PV xxx:mybusy1 is not referenced on the caQtDM screen. Same for the MEDM screen. Here's an investigation:

iocBoot/iocxxx/common.iocsh:dbLoadRecords("$(BUSY)/busyApp/Db/busyRecord.db", "P=$(PREFIX),R=mybusy1")
iocBoot/iocxxx/common.iocsh:dbLoadRecords("$(BUSY)/busyApp/Db/busyRecord.db", "P=$(PREFIX),R=mybusy2")
xxxApp/op/adl/ioc_tools.adl:            args="P=$(P),R=mybusy"
xxxApp/op/adl/ioc_tools.adl:            args="P=$(P),R=mybusy2"
xxxApp/op/adl/xxx.adl:          args="P=xxx:,R=mybusy"
xxxApp/op/bob/autoconvert/ioc_tools.bob:          <R>mybusy</R>
xxxApp/op/bob/autoconvert/ioc_tools.bob:          <R>mybusy2</R>
xxxApp/op/bob/autoconvert/xxx.bob:          <R>mybusy</R>
xxxApp/op/edl/autoconvert/ioc_tools.edl:  14 "P=$(P),R=mybusy"
xxxApp/op/edl/autoconvert/ioc_tools.edl:  15 "P=$(P),R=mybusy2"
xxxApp/op/edl/autoconvert/xxx.edl:  14 "P=xxx:,R=mybusy"
xxxApp/op/opi/autoconvert/ioc_tools.opi:          <R>mybusy</R>
xxxApp/op/opi/autoconvert/ioc_tools.opi:          <R>mybusy2</R>
xxxApp/op/opi/autoconvert/xxx.opi:          <R>mybusy</R>
xxxApp/op/ui/autoconvert/ioc_tools.ui:                <string>P=$(P);P=$(P);P=$(P);P=$(P);P=$(P);P=$(P);P=$(P);P=$(P),N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20;P=$(P),N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20;P=$(P),N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20;P=$(P),N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20;P=$(P),N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20;P=$(P),N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20;P=$(P),N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20;P=$(P),R=mybusy;P=$(P),R=mybusy2;P=$(P);P=$(P),Q=ES:</string>
xxxApp/op/ui/autoconvert/xxx.ui:                <string>P=xxx:;P=xxx:;P=xxx:;P=xxx:;P=xxx:;P=xxx:;P=xxx:;P=xxx:,N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20;P=xxx:,N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20;P=xxx:,N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20;P=xxx:,N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20;P=xxx:,N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20;P=xxx:,N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20;P=xxx:,N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20;P=xxx:,R=mybusy;P=xxx:</string>
xxxApp/op/ui/xxx.ui:              <string>P=xxx:,R=mybusy;P=xxx:,R=mybusy2</string>

The dbLoadRecords commands create the two PVs: $(PREFIX),R=mybusy1 and $(PREFIX),R=mybusy2. Fix the other files to use the two PV names. In some cases, only one PV is referenced, in other cases mybusy is named where it should be mybusy1.

The userCalcs menu button is full of subitems (max: 16) but only has reference to a single busy record. Could create a screen to reach both, but that might better be created in the busy record's module.