dpDeactivateAlert()

Deactivates an alert handling at the given data point element either with or without NULL time.

Synopsis

void dpDeactivateAlert(string dpe, bool &ok[, bool bSetWithNullTime = FALSE]);

Parameters

Parameter Meaning
dpe Data point element
ok TRUE if alert is deactivated, otherwise FALSE
bSetWithNullTime

Optional parameter.

Default: FALSE = the alert will be deactivated without NULL time (with configure history)

TRUE = the alert will be deactivated with NULL time (without configure history)

Return Value

None.

Description

This function deactivates an alert handling at the given data point element either with or without NULL time.

Example

main()
{
  bool y;
  dpDeactivateAlert("System1:ExampleDP_Arg2.", y, TRUE); 
  DebugN(y);
}

Assignment

Alert handling

Availability

CTRL