Aliasing feature allows to rewrite parameter names in Atlas 10; this means you can substitute names or add new names that reference the original parameter name.
Alias feature supports two mode: Replace and Pick. Both modes are configurable through the xml file aliasing.config, which needs to be saved in the 'ATLAS 10' folder in the following location
%userprofile%\documents\McLaren Applied Technologies\
Replace mode
With the Replace mode, a new name replaces one or more original names specified and ends up in the same application group as the original parameter.
<Alias mode="Replace">
<OriginalNames>
<Name>vCar:Chassis</Name>
</OriginalNames>
<NewName>Speed</NewName>
</Alias>
After the definition shown in the example above, in the Parameter browser we will not find any more vCar:Chassis but Speed:Chassis.
Pick mode
With the Pick mode, a new name is dynamically linked to one of the source names that is available, with priority defined by the order in which they are defined (top to bottom). The original parameter name will remain still available. The new parameter name will be placed in a new “VirtualAliased” application group.
<Alias mode="Pick">
<OriginalNames>
<Name>Speed:Chassis</Name>
<Name>CoverageSq:ATLAS</Name>
</OriginalNames>
<NewName>GForce</NewName>
</Alias>
After the definition shown in the example above, GForce will point to CoverageSq:Atlas while it exists, then to Speed:Chassis as soon as it becomes available.
An example config file attached.
Comments
0 comments
Please sign in to leave a comment.