11-09-2015 02:03 PM
Hello,
I'm using datasocket to read some values from the OPC server.
I'm running three different programs with the datasocket read function all day to adquire data from the OPC. It is working fine but when some time passed (four days more less) the datasocket read stops reading and it get blocked, so i have to restart the program (close and open the datasocket connection).
Is there any limitation in the number of "reads" using datasocket or some buffer?
Thanks
11-10-2015 05:03 AM
Hi anderg,
can you post your VI or a code snippet please?
Regards,
Marco
11-10-2015 05:51 AM
11-10-2015 07:08 AM
Hi anderg,
I'm not a Datasocket expert, but I would suggest to add some error handling.
For instance in case of error you could try to close and reopen the Datasocket connection.
If you program is expected to run for a long time, a connection drop is something that is going to happen.
Regards,
Marco