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
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