View Single Post
  #69  
Old 29-09-2019, 11:48 PM
luka's Avatar
luka
Unregistered User

luka is offline
 
Join Date: Apr 2007
Location: Perth, Australia
Posts: 1,164
Rob, sorry about that, hopefully you did not lose any data.

After your post I did a bit more poking around and I think that the problem is caused by the Chinese communication library (DLL) that we are using now. If for whatever reason it fails to read data from the device it just locks up the driver which then locks up SGP. My old driver had timeouts to avoid lockups but now we are relying on the DLL.
By the way, SGP is also partially to blame as it should also be using timeouts to recover and not relying that everything will always work perfectly.

While I could work around the "locking up" problem, I may spend the effort to rewrite the DLL. I can reuse the code from my old driver so it should not take too long. This was on my to do list for some later stage anyway.
Reply With Quote