Example Code

Quit LabVIEW and Shutdown Computer Using LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

This VI will shut down your computer and quit LabVIEW.

 

Description

This vi when run will shut down the computer, closing LabVIEW a few seconds before 

 

Requirements

LabVIEW Full Development System 2012 or compatible

 

Steps to Implement or Execute Code

  1. Run the VI

Additional Information or References

VI Block DiagramQuit LabVIEW and Shutdown Computer LV2012 NI Verified BD.jpg  

**This document has been updated to meet the current required format for the NI Code Exchange. **

 

 

Sincerely,
Jason Daming
Applications Engineer
National Instruments
http://www.ni.com/support

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.