Hi Sangita
I do not know what OPCDA.Net is or done. But, when the DataChangeHandler method is called, it is called from the ThreadPoll and is already in another thread then your UI thread. So no need to call and check InvokeRequired. You do not change any UI controls in DataChangeHandler method.
Just call the method under "param.update".
try
{
if (parameter.X == 0)
{
parameter.X = 1;
param.update(e);
}
catch { }
}
And if it is true about the 128 thread running, i think the problem is that you must allocate more thread that you can use in the
ThreadPool.SetMinThreads[
^]. Creating and destroying thread is a costly affair.