dOPC Client Toolkit

SignalEvent is always triggered (PulseEvent) if one item of the group changes.

property SignalEvent: TdEvent;
__property TdEvent SignalEvent;

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;
Kassl GmbH Copyright © 2024. All rights reserved.