I'm trying to create a new internal read parameter configured as an External Reference. This control module class is instantiated inside a unit module class. The intent is to connect the external reference inside the control module class to an alias inside the unit module. In the example below the "RUN_ID" parameter is referenced to unit alias path "Unit/Unit_Parameter.field" e.g. "UnitName/Batch_ID.CV". Another example of where this is used on our site is, "Unit/Unit_Parameter.field" e.g. "UnitName" This alias is used to determine the unit's name for unit relative logic. i.e. logic that only executes for specific units.
This practice has been used successfully in the past on a DeltaV version 13.3.2 system. However, now that we are on version 14.3.1 LTS, we are getting the following error when trying to create new parameters similar to above or even editing the existing parameters as shown above.
If we set the external path to an alias/parameter the error goes away. e.g. #B_ID#/Parameter
This unfortunately breaks for us when we attempt resolve the unit name only. Is this case we need an alias to be referenced to the Unit module only, not a unit module/parameter. Is there are better way to reference a control module's or unit module's name?
In reply to István Orbán:
Thanks Istvan, It worked!
My foundational understanding of how alias' works has been shaken. Can you help me understand why this works? This alias is literally referenced to the root path of my unit module i.e. path = O-SIM. I would expect the "UNIT_NAME" internal read parameter in my control module to resolve a unit parameter "O-SIM/UNIT_NAME". However, there is no unit parameter defined in the O-SIM unit called "UNIT_NAME" only and alias called "UNIT_NAME".
I appreciate you help.
In reply to Wes Urbat:
In reply to Matt Forbis:
In reply to gamella: