There are instances where stopping your VI is necessary. If you are interacting with your code in the Development environment, you may be able to abort using the Abort button or the Abort keyboard shortcut
. However, if you have removed the Abort button from the menu bar, these methods may not work. You can instead abort this VI programmatically by creating a new VI and using the Abort VI method.
Before taking these steps, consider that aborting a VI is similar to "force-quitting" the VI and should be used as a last resort. Instead of aborting VIs, consider more comprehensive error handling and add in logic to safely exit your VI.
This article will demonstrate how to programmatically abort VI execution of another VI. This process only requires LabVIEW, no add-ons needed.