Short Name: Restart
Requires: Base Development System (Windows)
Class: Application Methods
To Use: Create a method.
Quits and then restarts LabVIEW. This method is supported only on Windows.
Note When you invoke this method with unsaved files open, a dialog box prompts you to save any changes you made before the application terminates. If you cancel the dialog box, LabVIEW does not restart. |
This method is useful for restarting LabVIEW after you change the environment in a way that requires you to restart. For example, in an application that activates a license for a LabVIEW third-party add-on, you can use this method to programmatically restart LabVIEW, which then updates the status of the license.
The following table lists the characteristics of this method.
Data type | No return value |
Available in Run-Time Engine | Yes (Read/Write) |
Available in Real-Time Operating System | Yes |
Remote access allowed | Yes |