patrickokeeffe Posted November 1, 2010 Share Posted November 1, 2010 I've been receiving warnings that another instance of DAQFactory is running and sure enough, there are three different DAQFactory.exe processes listed in the Task Manager despite having no program windows open. It seems that DF isn't shutting down fully. This warning dialog hangs the startup of DAQFactory and I can't depend on my user to have sufficient privileges to kill a process (much less realize that's what they have to do). Is there a nice easy way to clean these runaway processes? Link to comment Share on other sites More sharing options...
AzeoTech Posted November 2, 2010 Share Posted November 2, 2010 You'll need to figure out what's holding it up. Just start disabling features of your application until it shuts down consistently. Link to comment Share on other sites More sharing options...
patrickokeeffe Posted November 2, 2010 Author Share Posted November 2, 2010 Creating an OnShutDown event to turn off the output from a serial device makes DAQFactory shut down much faster. I tried disabling a few different things and fix made a difference. The process is still present in the task manager for a few seconds after closing but it no longer sticks around. Thanks! Link to comment Share on other sites More sharing options...
AzeoTech Posted November 3, 2010 Share Posted November 3, 2010 It'll definitely stick around for a few seconds no matter what. There are a lot of background tasks to wait for, especially if you have serial comms, as it can't stop a request mid-stream, so it can actually get stuck open for as long as your longest timeout. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.