makeATime()
Returns an alert time in an internal time format incl. DP Identification.
Synopsis
atime makeATime(time t, int count, string dp);
Parameters
Parameter | Description |
---|---|
t | Alert time |
count | Counter |
dp | Data point from which the alert was triggered. |
Return value
Alert time
Description
Returns an alert time in an internal time format incl. DP Identification.
Example
main()
{
atime at;
at = makeATime(getCurrentTime(), 0, "ExampleDP_AlertHdl1.");
DebugN(at);
}
Assignment
Availability
CTRL