oAlEvItem.Activate sComment, tTimeOn
|sComment||[optional] (String) The text note that is stored into the data together with the activated alarm/event item (it is enabled on the Storage page).|
|tTimeOn||[optional] (Date) The activation time of the alarm. If not set, then the computer current time is used.|
The method is synchronous, i.e. it is processed immediately by the alarm subsystem. Nevertheless writing the history to disk is asynchronous, it means that this method passes the request for writing to the history to the alarm subsystem, it is placed into the queue of requests and it is processed later by the alarm subsystem.
Set oAlItem = oAlEv.Item("Temperature")