dOPC Client Toolkit Help file
TdOPCGroup.SignalEvent Property
C++
public: __property THandle SignalEvent;
C#
public THandle SignalEvent;
Visual Basic
Public Property SignalEvent() As THandle

SignalEvent is always triggered (PulseEvent) if one item of the group changes. This is important for thread issues only.

procedure TForm1.Button1Click(Sender: TObject);
begin
  TMyThread.Create(false);
end;

procedure TMyThread.Execute;
begin
  WaitForSingleObject(Form1.dOPCServer1.OPCGroups[0].SignalEvent,6000); //wait for datachange or time out
  beep;
end;
What do you think about this topic? Send feedback!
Copyright © 2001-2014 Kassl GmbH (http://www.kassl.de). All rights reserved.