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 | Datapoint 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 datapoint type. The datapoint element that takes into account the sum alert handling in the "ALM" or "alarm" node is returned.
Return Value
Datapoint element name.
