Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Gateway for 1D Data

Default Value Mapping in Attribute

  • Last UpdatedNov 04, 2025
  • 1 minute read

While creating new attributes, you can provide a default value in the base mapping if no attribute value is found in the data source. If no value is found in the data source for a mapped property/characteristic, then that will be excluded from the output file unless you define a default for it.

<Object>
……
<Attributes>
<Attribute>
<Name value="Pressure" />
<Value value="[max_pressure]" default="NA" />
</Attribute>
</Attributes>
</Object>

In the above example, an attribute Pressure is created in the object. The value for this attribute is resolved using the [max_pressure] attribute belonging to the same object, for example, most probably extracted from the source data. If the referenced attribute (max_pressure) is not present for this object, then the default value ‘NA’ will be used for the Pressure attribute value.

The result of this mapping is, objects with [max_pressure] attribute present in the source will have the following characteristic in EIWM:

<Characteristic>
<Name>Pressure</Name>
<Value>30</Value>
</Characteristic>

and the objects that do not have the [max_pressure] attribute will have the following characteristic in EIWM:

<Characteristic>
<Name>Pressure</Name>
<Value>NA</Value>
</Characteristic>

Related Links
TitleResults for “How to create a CRG?”Also Available in