How To Shut Down Real-Time DLLs in LabWindows/CVIPrimary Software: LabWindows/CVI Development Systems>>Base PackagePrimary Software Version: 8.0 Primary Software Fixed Version: N/A Secondary Software: LabWindows/CVI Add-ons>>Real-Time Module
Problem: I am running a LabWindows/CVI DLL on a real-time target. Why does the Terminate Execution command or Stop button require a reboot of my machine? Solution: Selecting the Terminate Execution command or Stop button from the LabWindows/CVI debugger cause program execution to stop immediately without running any cleanup code in the program. This may leave the real-time target in a bad state, which would then require a reboot. Instead, you can call the RTIsShuttingDown library function from your program to check for a shut down request. From the LabWindows/CVI debugger, you can select the Simulate RT Shutting Down item from the <Running> menu to cause the RTIsShuttingDown library function to return true. This way your program can call any necessary cleanup code, leaving the real-time target in a good state.Related Links: Product Pages: LabWindows/CVI Real-Time Module Attachments:
Report Date: 04/14/2006 Last Updated: 04/24/2006 Document ID: 3WDB06HB |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
