<< Chapter < Page | Chapter >> Page > |
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.
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.
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.
Notification Switch
Would you like to follow the 'Labview graphical programming' conversation and receive update notifications?