Von: Core-talk <core-talk-bounces at aps.anl.gov>
Im Auftrag von Simon Rose via Core-talk
Gesendet: Freitag, 14. Januar 2022 09:32
An: AppVeyor via Core-talk <core-talk at aps.anl.gov>
Betreff: Long PV names in EPICS base
Hi all -
Suppose that we wanted to allow EPICS to have longer PV names than the default 60 characters. It seems that this is possible by modifying two files:
- PVNAME_STRINGSZ in modules/libcom/src/misc/dbDefs.h
- The “Record Name” field in modules/database/src/ioc/db/dbCommon.dbd.pod
If you modify these two locations, then you can have records with PVs whose names are longer. ca/pvget/put seem to work find regardless, so this seems like a very simple change. However…
Is there anything else that is missing that would need to be changed here? In particular, I wonder if there are any concerns with linking records to each other, or any other unexpected consequences.
Thanks,
______________________
Simon Rose
Software Engineer
Control System Software and Services
European Spallation Source ERIC
P.O. Box 176, SE-221 00 Lund, Sweden
Visiting address: Partikelgatan 2, 224 84 Lund
Mobile: +46 72 179 23 07
E-mail: simon.rose at ess.eu