hook_<libraryPrefix>_getAlertElement()

By using this function, the library creator can define were the sum alert of a DPT/DP is located.

Synopsis

string hook_ <libraryPrefix>_ getAlertElement( string dp);

Parameters

Parameter Description
dp Data point for which the symbol is shown.

Default

string hook_stdlib_getAlertElement(string dp)
{
  if (dpTypeName(dp)=="STDLIB_regler")
  return "ALM";
  else
  return "alarm";
}

Instead of "STDLIB_REGLER", enter the name of the data point type. The data point element that takes into account the sum alert handling in the "ALM" or "alarm" node is returned.

Return Value

Data point element name.