Hello,
Attached code is a small program thas is supposed to connect to an opcserver and return one item with value, timestamp and quality. The program is called cyclically from a soft plc. Now I se that the program seems to leak memory. Can someone please tell me what to do to prevent this?
Kind regards
[File Attachment: C-Code.txt]
Attached code is a small program thas is supposed to connect to an opcserver and return one item with value, timestamp and quality. The program is called cyclically from a soft plc. Now I se that the program seems to leak memory. Can someone please tell me what to do to prevent this?
Kind regards
[File Attachment: C-Code.txt]