Restart Method

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.

Remarks

The following table lists the characteristics of this method.

Data typeNo return value
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemYes
Remote access allowedYes