<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="None">
  <name>Edit Me VI</name>
  <metadata>
  <md:version>1.1</md:version>
  <md:created>2004/06/16 09:17:20 GMT-5</md:created>
  <md:revised>2004/07/16 15:45:14.389 GMT-5</md:revised>
  <md:authorlist>
      <md:author id="NationalInstruments">
      <md:firstname>National</md:firstname>
      
      <md:surname>Instruments</md:surname>
      <md:email>certification@ni.com</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="mshiralkar05">
      <md:firstname>Malan</md:firstname>
      
      <md:surname>Shiralkar</md:surname>
      <md:email>mshiralkar05@hotmail.com</md:email>
    </md:maintainer>
    <md:maintainer id="harika">
      <md:firstname>Harika</md:firstname>
      
      <md:surname>Basana</md:surname>
      <md:email>ilsai@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="lizzardg">
      <md:firstname>Elizabeth</md:firstname>
      
      <md:surname>Gregory</md:surname>
      <md:email>lizzardg@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="NationalInstruments">
      <md:firstname>National</md:firstname>
      
      <md:surname>Instruments</md:surname>
      <md:email>certification@ni.com</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist>
    <md:keyword>National Instruments</md:keyword>
    <md:keyword>LabVIEW</md:keyword>
    <md:keyword>VI</md:keyword>
    <md:keyword>exercise</md:keyword>
  </md:keywordlist>

  <md:abstract>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.
</md:abstract>
</metadata>
<!--When CNXML 0.6 comes out, this module needs to be revised such
  that the items indicated below have extra para's where noted.-->
  <content>
    <exercise id="e1">
      <problem>
	<section id="s1">
	  <name>Front Panel</name>
	  <list id="s1s1" type="enumerated">
	    <item id="s1s1p1"><!--needs para-->
	      <!--para-->
	      Close any open VIs and open the <code>Edit Me</code> VI,
	      located in the <code>C:\Exercises\LabVIEW Basics
	      I</code> directory. The following front panel is already
	      built.
	    <figure id="s1s1f1">
	      <media type="image/jpg" src="editme.png"/>
	    </figure>
	      <!--para-->
	      The VI is already running when it opens. While the VI
	      runs, you cannot use the menu bar, toolbar, or keyboard
	      shortcuts to edit or abort the VI.
	    </item>
	    <item>
	      Click the <code>Start</code> button. After 10 seconds,
	      the VI stops running and quits LabVIEW.
	    </item>
	    <item>
	      Relaunch LabVIEW and open a blank VI.
	    </item>
	    <item><!--needs para-->
	      <!--para-->
	      If the VI you want to edit either does not have subVIs
	      or you do not know what it contains, complete <cnxn target="s1s5"/> through <cnxn target="s1s13"/>.
	      <!--para-->
	      However, if the VI you want to edit has subVIs, open one
	      of the subVIs and modify the block diagram to break the
	      subVI. For example, place an <code>Add</code> function on the block
	      diagram and do not wire the inputs. Open the VI you want
	      to edit. Because its subVI is nonexecutable, the VI that
	      calls it is also nonexecutable. It opens in edit mode
	      and the <code>Run</code> button appears broken. Make
	      sure to fix the subVI after you edit the calling VI.
	    </item>
	    <item id="s1s5">
	      Display the block diagram of the new VI.
	    </item>
	    <item><!--needs para-->
	      <!--para-->
	      Place the <code>Edit Me</code> VI, which is already
	      built, on the block diagram. The front panel for the
	      <code>Edit Me</code> VI displays.
	      <!--para-->
	      Although you can display the block diagram of the
	      <code>Edit Me</code> VI, you cannot edit it.
	    </item>
	    <item>
	      Select <code>Operate&gt;&gt;Change to Edit Mode</code>. A
	      dialog box informs you that the VI is locked.
	    </item>
	    <item>
	      Click the <code>Unlock</code> button. You now can edit the VI. You
	      also can unlock a VI by selecting <code>File&gt;&gt;VI
	      Properties</code> and selecting <code>Security</code>
	      from the <code>Category</code> pull-down menu.
	    </item>
	    <item>
	      Select and delete the <code>Quit LabVIEW</code> function
	      from the block diagram.
	    </item><item>
	      Save and close the <code>Edit Me</code> VI. Close the
	      new VI and do not save changes.
	    </item>
	    <item>
	      Open the <code>Edit Me</code> VI again.
	    </item>
	    <item>
	      After the VI runs, try to edit it.
	    </item>
	    <item id="s1s13">
	      Close the <code>Edit Me</code> VI.
	    </item>
	  </list>
	</section>
      </problem>
    </exercise>
  </content>
  
</document>
