isDpTypeSumAlert()

Checks if a sum alert or a normal alert can be configured for a datapoint type.

Synopsis

boolisDpTypeSumAlert(anytypetype);

Parameters

Parameter Meaning
type The datapoint type. Either int DPE type or string data point.

Return value

The function returns TRUE if a sum alert can be configured for a datapoint type.

Description

Checks if a sum alert or a normal alert can be configured for a datapoint type.

Example

The following example checks if a sum alert can be configured for the datapoint type of the datapoint "_mp_LABOR_ANALOG.".

main()
{
  string t = "_mp_LABOR_ANALOG.";
  bool rV;
  rV=isDpTypeSumAlert(t);
  DebugN("Sum alert?:",rV);
}

Assignment

Datapoint function

Availability

CTRL