|Download Help (Windows Only)|
You shut down the engine just before you exit the application and when you log out the current user. Shutting down the engine is a two-pass process in which you release sequence files and wait for their unload callbacks to complete.
Complete the following tasks in the first pass of this process.
The first pass ends when you receive the UIMsg_ShutDownComplete or UIMsg_ShutDownCancelled UIMessage. If you receive the UIMsg_ShutDownComplete event, continue with pass two. If you receive the UIMsg_ShutDownCancelled event instead, resume the normal operation of the application. The user can cancel shutdown by clicking Cancel in the Waiting for Execution to Complete Timeout dialog box, which TestStand launches for executions that do not end within their allotted time.
Complete the following tasks in the second pass of this process.
The second pass ends when you receive the UIMsg_ShutDownComplete event. When you receive this event and you are shutting down in preparation to exit the application, the application can safely exit. If you are shutting down because the current user logged out, you can resume normal operation.
|Note For a LabVIEW user interface, if the TestStand Engine attempts to launch a dialog box during shutdown and the main application window no longer exists, the user interface hangs. To prevent this hang, ensure that the engine is closed before you close the front panel of the user interface.|