How to detail a process in C Sharp

I am working on application that write and read information from/to a PLC.

The problem is that PLC1 read the information from PLC2. The data in PLC2 is written by a robot that is transporting pallets with finish goods. ones the pallets are drop in the new conveyor, the data is writen in PLC2 and the PLC1 read from it. The time to copy this information is really small, the size of this data is 400 kb.

The problem here is that the network is to slow and PLC1 does not have enough time to copied all the data.

I am thinking is delaying the process one second right after the data is writen.

what would you recommend?  timer, counter, process delay?

thank you
iscivanomarAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

thiagossrsCommented:
That depends how the data is being transferred.
And if the thread can hang for some time.

But i think the easiest way would be to make the thread wait for a second...

System.Threading.Thread.Sleep(1000);
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
iscivanomarAuthor Commented:
thank you, it is what I did.
0
iscivanomarAuthor Commented:
Thank you, it worked.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.