isDpTypeSumAlert()
Checks if a sum alert or a normal alert can be configured for a data point type.
Synopsis
boolisDpTypeSumAlert(anytypetype);
Parameters
Parameter | Meaning |
---|---|
type | The data point type. Either int DPE type or string data point. |
Return value
The function returns TRUE if a sum alert can be configured for a data point type.
Description
Checks if a sum alert or a normal alert can be configured for a data point type.
Example
The following example checks if a sum alert can be configured for the data point type of the data point "_mp_LABOR_ANALOG.".
main()
{
string t = "_mp_LABOR_ANALOG.";
bool rV;
rV=isDpTypeSumAlert(t);
DebugN("Sum alert?:",rV);
}
Assignment
Datapoint function
Availability
CTRL