Hi,
I'm working with Visual studio 2015 creating a Windows Form app in C# with Classic .NET Connection. I'm using Matrikon OPC Server for Siemens and Matrikon OPC Server Simulation.
I execute multiple threads each 1000MS to read multiple tags for each thread, for this I use ReadMultipleItems. Another thread is executed each 500 MS to check the connection with the OPC Server, I do that with ReadItem.
Everything works fine but when the PLC or OPC is turn off the ReadMultipleItems and ReadItem methods are really slow to make the reads (bad quality reads, I need this bad quality reads). This not happens when there a network disconection of the PLC.
Example code: According to my tests the problem of delay is in these lines
The delay from the reads (with bad quality) is between 10S to 20S, so my question is ¿ there a method or something to set a parameter of time spended on the reads? The reconnection works without problem.
Please help with this.
Thanks
I'm working with Visual studio 2015 creating a Windows Form app in C# with Classic .NET Connection. I'm using Matrikon OPC Server for Siemens and Matrikon OPC Server Simulation.
I execute multiple threads each 1000MS to read multiple tags for each thread, for this I use ReadMultipleItems. Another thread is executed each 500 MS to check the connection with the OPC Server, I do that with ReadItem.
Everything works fine but when the PLC or OPC is turn off the ReadMultipleItems and ReadItem methods are really slow to make the reads (bad quality reads, I need this bad quality reads). This not happens when there a network disconection of the PLC.
Example code: According to my tests the problem of delay is in these lines
The delay from the reads (with bad quality) is between 10S to 20S, so my question is ¿ there a method or something to set a parameter of time spended on the reads? The reconnection works without problem.
Please help with this.
Thanks