Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

Memory gets full while writing the OPC Variables in the OPC Server - by: Moien

$
0
0
Dear all,

I have an OPC UA Client application in Delphi 10.2. Via my application I connect to the OPC Server and try to write variables continuously into the OPC Server. I can successfully connect to the server and write the variables, but after a couple of seconds the memory gets full and my application crashes. In the attachment you may find a copy of my code. In the function 'WriteItem' I call another function 'WriteItemValue(Name,ItemValue)' and try to write into the OPC Server. I tried to give OPCUAClient object free in different positions, but it doesn't work! I would be really happy if someone can help me.

Regards,
Moien

Viewing all articles
Browse latest Browse all 1794

Trending Articles