getAIdentifier()
Outputs the name of a data point.
Synopsis
string getAIdentifier(atime AlertTime);
Parameters
Parameter | Description |
---|---|
AlertTime | Time of the alert |
Return value
Returns the data point name as string or in the event of an error, an empty string.
Error
In the event of an error, does not set an error class list.
Description
The return value is the name of the data point up to the detail level and it is required for acknowledging the alarm AlertTime. The attribute still has to be supplemented.
Example
main()
{
dyn_atime dat_summed_alerts; // List of pending alerts (DPE +
Alert time)
int i;
dpGet("ExampleDP_SumAlert.:_alert_hdl.._summed_alerts",
dat_summed_alerts);
if (dynlen( dat_summed_alerts) == 0)
DebugN("No pending alert");
else
for (i=1; i<=dynlen(dat_summed_alerts); i++)
DebugN("DPE:"+getAIdentifier(dat_summed_alerts[i]),"
AlertID:"+getACount(dat_summed_alerts[i]));
}
Assignment
Data point function
Availability
CTRL