This project is read-only.

can this project be used in multi-threaded applications?

Mar 24, 2014 at 9:02 PM

I'm using S7.NET in my application and so far it works great!

But I will be using a lot of registers that need to be updated about every 200ms, i'm planning to split the registers in blocks and assign timers to these blocks to read them from the PLC.

Is this a safe thing to do?

Thanks for the project so far!
Mar 27, 2014 at 10:53 AM
You can of course use it in a multi threaded environment with one precaution .
If you send a ping command and stop debugging / cancel application before the response of ICMP has arrived , IT WILL CRASH YOUR OS (Win 7 .netFramework 4.0)
saying process has locked files in the BSOD (blue screen of death). well this is a bug in the driver and microsoft is determined to fix it .
Youllve to implement your own code to ensure this does not happen... and rest should be fine i guess..