01-17-2007 04:34 PM
01-17-2007 05:03 PM
01-17-2007 07:02 PM
Hi,
Thanks for the response. I'm pretty sure I'm cleaning things up properly, at least the threads. I use the function: CmtWaitForThreadPoolFunctionCompletion() to make sure the threads shut down. Could it be anything else?
Kevin
01-18-2007 11:06 AM
01-18-2007 03:10 PM
Hi,
Thanks for following up on this. I sent Wendy the sample code (including the workspace and project files). I'm using the following versions:
Labwindows/CVI 8.0.1
Labview RT 8.0
CVI runtime RT 8.0.1
Kevin
01-18-2007 06:30 PM
01-19-2007 12:53 PM
Hi Mert --
I tried the workaround, and it is necessary to use the flags to shutdown every secondary thread, event producer as well as processor. To keep the restart error from happening, I had to use RTIsShuttingDown() ONLY on the main thread and not on any of the secondary threads. This seemed to fix the problem. I will try this on our real code. Thanks for the help and the quick response.
Don (with Kevin)
01-19-2007 01:23 PM
01-19-2007 01:51 PM
01-19-2007 02:34 PM
Mert A,
Thanks for your help
Kevin