VDT2 + Keyspan USD to Serial + Wake from Sleep = Lock Up
hegedus
I am using VDT2 with a Keyspan USB to Serial box to build a metrology tool. It all seems to be work fine until the computer goes to sleep. Upon waking if I try a communication call Igor locks up with spinning wheel/pizza of death (I am on a Mac using 10.9.4 and the latest version of Igor).
I need to do a force-quit and even worse I cannot restart Igor until I reboot the computer. If I try to restart without rebooting the computer Igor just bounces and never launches.
The obvious work around is to never let the computer go to sleep which is what I am doing now. Is there an alternative solution?
http://www.mactip.net/how-to-prevent-mac-sleep/
... and try executing caffeinate from a shell script execution from within Igor (with Igor Pro as the utility)
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAHuntsville
August 22, 2014 at 08:30 am - Permalink
I have had this experience in Windows OS and have often found that there is still a process running for the application, with no visible GUI. Generally, after killing that process the application can be started. Granted My windows experience may not be relevant here, but I think it probably is. Anyway, I thought Macs were above this sort of slovenly behavior.
August 22, 2014 at 10:41 am - Permalink
This sounds like an OS or driver bug. I think Keyspan would be most likely to know what is going on.
I'm guessing that anytime Igor makes a call to the serial driver it never returns.
August 22, 2014 at 06:18 pm - Permalink