- January 7, 2006
- 1,335
- 1,006
- Home Country
- Netherlands
- Thread starter
- #11
Rick can you explain your software ?
Sure:
Problem description
- After a pc comes out of sleep the com port will be unavailable for Atmowin, tested this on Windows 8.1 running Atmowin (SEDU V2/V3).
- Atmowin will then report that it can no longer connect or just freeze up waiting for a COM connection that's not gonna happen.
Old solution
- Re-add COM port and restart Atmowin, cumbersome and not ideal.
My solution (Wokener)
- Upon starting Wokener it will run in the background and monitors when the machine goes into sleep and resume.
- Upon machine resume it will stop Atmowin then reconnect the COM port afterwards it will start Atmowin again and all is working.
- It does that without any user intervention and within 10 seconds.
Source code can be found here:
http://pastebin.com/stWyVTc7
Rough version but it will will work for now, it can be done without .bat files however UAC was annoying me a bit and was easier to test it this way.