This page is optimized for mobile devices, if you would prefer the desktop version just click here

4.5 Editing vi properties

In this lesson, you will learn how to edit VIs with custom VI properties.

Sometimes you can select VI properties that make it difficult to edit a VI. For example, you might select the Run When Opened option and disable the menu bar and toolbar. If you set the VI to close and exit LabVIEW after it runs, youcannot stop the VI and edit it without it closing and exiting LabVIEW. This VI would be very difficult to edit.

To exit LabVIEW, you can use the Quit LabVIEW function located on the Functions>>All Functions>>Application Control palette. This function aborts all running VIs and ends the current session of LabVIEW. The function has oneinput. If it is wired, the end of the LabVIEW session occurs only if that input is True. If the input is not wired, the endof the session occurs when the node executes.

Before you change VI properties, save a backup of the VI to a new location by selecting File>>Save with Options to avoid situations like the previous examples.

Select the Development Distribution option to save the VI to a new location along with its entire hierarchy. Youalso can include the vi.lib files in the save. After you save the backup VI, change the VI properties of the original VI. Ifyou encounter a problem, you can return to the backup VI.

If you select the Remove diagrams option, you remove the source code of the VI. Select this option only if younever need to edit the VI again. Before you save a VI without the block diagrams, save a backup of the VI with the blockdiagrams.

If you already saved a development VI with properties that make the VI difficult to edit, refer to the Edit Me VI exercise for more information about editing the VI.

<< Chapter < Page Page > Chapter >>

Read also:

OpenStax, Labview graphical programming. OpenStax CNX. Apr 09, 2015 Download for free at https://legacy.cnx.org/content/col11408/1.2
Google Play and the Google Play logo are trademarks of Google Inc.
Jobilize.com uses cookies to ensure that you get the best experience. By continuing to use Jobilize.com web-site, you agree to the Terms of Use and Privacy Policy.