Application class/Restart method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 969
Scope Basic Development Environment
Data Name Restart
Short Name* Restart
Long Name* Restart
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 1
Owning Class Name Application Class
Return Data Type No return value
Invoke Node Restart
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes (Read/Write)
Remote access allowedYes

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.

Parameters

This method has no parameters.

Uses

History

Version Change(s)
LabVIEW 2011 This method was added in LabVIEW 2011.

See Also

External Links