I want to send 4 packet to ma device connected to the com port.
I have written port.write for all packet in an single button click event.
Using datareceived event and delegates,I catch the device Response in the com port and display it on the richtextbox in ma wpf application.
In ma button click event all the packet are sending one after the another till the device response back.
please help me.....so that after each packet, the next packet wait for the response of the previous one and then go.
I have an idea to use thread for each individual packet.
If thread is the only solution then ......let me know to create thread for each function i.e packet1 in different thread. packet2 in thread,packet3 in thread and soon.
any other simple solution,will also be apprecitate.
Thnk's in advance:):)