I am making a simple VB.net HMI application.
I have dlls which give me functions to read / write registers from PLC / controllers.
Now How do I do this ???
One threads keeps communicating with devices with these read write functions.
Another thread looks after GUI and saving CSV datalog.
Very frequently comm section hangs due to various errors om which we dont have control as these are free dlls .
Now I want to keep these two things separate, even if comm sections stops working , GUI should keep working and make an attempt to kill comm thread and restart it.
Presently as long as PLC communication is OK my app works fine.
Any quick shots at making multithreaded app ??
Thanks and regards,