setAIdentifier()

Sets the name of a data point in a time of an alert.

Synopsis

intsetAIdentifier(atime&alertTime,stringdpid);

Parameters

Parameter Description
alertTime Time of the alert
dpid Name of the data point

Return value

In case of error -1. Otherwise 0.

Errors

Missing or wrong arguments.

Description

Sets the name of a data point up to the attribute level in a time of an alert.

Example

main()
{
  atime at;
  DebugN(at, getAIdentifier(at));
  setACount(at, 17);
   setAIdentifier(at, "ExampleDP_AlertHdl1.:_alert_hdl.._abbr");
  DebugN(at, getAIdentifier(at));
}

Assignment

Data point function

Availability

CTRL