Skip to content

Some PVs have too long names

The PVs in this repository have following patterns:

  • $(P)$(R)#$(MOD)-$(HVCHAN)-XYZ
  • $(P)$(R)#$(MOD)-XYZ
  • $(P)$(R)#$(CRATE)-XYZ

In one implementation, $CRATE was cc24-1, $MOD was ECH4XA_420, and $HVCHAN was 2 digit numbers.

The longest name was TemperatureExternal (20), CurrentRampSpeedDown (21), ExternalInhibitAction (21), DelayedTripAction-RB (20). With this, the longest PV name could be:

DREAM-DtCmn:NDet-cc24-001:#ECH4XA_420-10-CurrentRampSpeedDown (62 characters)

The longest possible name (according to https://epics.anl.gov/tech-talk/2019/msg01631.php) is 60 characters, so in this example we are over the limit. Now, this may not have happened since I do not know what P and R previous deployments have used. Given that this PV exists, this probably hasn't been a problem in the past, but it can become a one in the future.

In https://gitlab.esss.lu.se/iocs/manual/dream/e3-iocs-dream-dtcmn-sc-ioc-008, a workaround was to use a short $MOD name (EHSX).

Edited by Dahyeon Kim