dpActivateAlert()
Activates an alert handling at the given data point element either with or without NULL time.
Synopsis
void dpActivateAlert(string dpe, bool &ok[, bool bSetWithNullTime
= FALSE]);
Parameter
Parameter | Meaning |
---|---|
dpe | Data point element |
ok | TRUE if alert is activated, otherwise FALSE |
bSetWithNullTime |
Optional parameter. Default: FALSE = the alert will be activated without NULL time (with configure history) TRUE = the alert will be activated with NULL time (without configure history) |
Return Value
none
Description
This function activates an alert handling at the given data point element either with or without NULL time.
Example
main()
{
bool y;
dpActivateAlert("System1:ExampleDP_Arg2.", y, TRUE);
DebugN(y);
}
Assignment
Alert handling
Availability
CTRL