dOPC Client Toolkit Help file
TdOPCEventServer.OnEndUpdate Property
C++
__published: __property TNotifyEvent OnEndUpdate;
C#
TNotifyEvent OnEndUpdate;
Visual Basic
Property OnEndUpdate() As TNotifyEvent

OnEndUpdate is generated when the server received new event notifications.

procedure TForm1.dOPCEventServer1EndUpdate(Sender: TObject);
var
 Event: TdOPCEvent;
 i : integer;
begin
   Memo1.Clear;
   for i := 0 to dOPCEventServer1.Events.Count-1 do
   begin
     Event := dOPCEventServer1.Events[i];
     Memo1.Lines.Add(format('%s %s (%s)',
       [DateTimetoStr(Event.Time),Event.Msg,Event.Source]));
   end;
end;
What do you think about this topic? Send feedback!
Copyright © 2001-2014 Kassl GmbH (http://www.kassl.de). All rights reserved.