<< Chapter < Page Chapter >> Page >
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.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  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.

Notification Switch

Would you like to follow the 'Labview graphical programming' conversation and receive update notifications?

Ask