Your objective is to edit a VI with properties that make it difficult to edit. Complete the following steps to modify a VI that is configured to run when opened and quit LabVIEW after it runs.
Front panel
Close any open VIs and open the
Edit Me VI,
located in the
C:\Exercises\LabVIEW Basics
I directory. The following front panel is already
built.
The VI is already running when it opens. While the VI
runs, you cannot use the menu bar, toolbar, or keyboardshortcuts to edit or abort the VI.
Click the
Start button. After 10 seconds,
the VI stops running and quits LabVIEW.
Relaunch LabVIEW and open a blank VI.
If the VI you want to edit either does not have subVIs
or you do not know what it contains, complete
through
.However, if the VI you want to edit has subVIs, open one
of the subVIs and modify the block diagram to break thesubVI. For example, place an
Add function on the block
diagram and do not wire the inputs. Open the VI you wantto edit. Because its subVI is nonexecutable, the VI that
calls it is also nonexecutable. It opens in edit modeand the
Run button appears broken. Make
sure to fix the subVI after you edit the calling VI.
Display the block diagram of the new VI.
Place the
Edit Me VI, which is already
built, on the block diagram. The front panel for the
Edit Me VI displays.Although you can display the block diagram of the
Edit Me VI, you cannot edit it.
Select
Operate>>Change to Edit Mode . A
dialog box informs you that the VI is locked.
Click the
Unlock button. You now can edit the VI. You
also can unlock a VI by selecting
File>>VI
Properties and selecting
Security from the
Category pull-down menu.
Select and delete the
Quit LabVIEW function
from the block diagram.
Save and close the
Edit Me VI. Close the
new VI and do not save changes.
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.