<?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>Editing VI Properties</name>
  <metadata>
  <md:version>1.1</md:version>
  <md:created>2004/06/16 09:10:52 GMT-5</md:created>
  <md:revised>2004/07/16 15:44:45.932 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="lizzardg">
      <md:firstname>Elizabeth</md:firstname>
      
      <md:surname>Gregory</md:surname>
      <md:email>lizzardg@rice.edu</md:email>
    </md:maintainer>
    <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="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>VI properties</md:keyword>
  </md:keywordlist>

  <md:abstract>In this lesson, you will learn how to edit VIs with custom VI properties.</md:abstract>
</metadata>

  <content>
    <para id="p1">
      Sometimes you can select VI properties that make it difficult to
      edit a VI. For example, you might select the <code>Run When
      Opened</code> option and disable the menu bar and toolbar. If
      you set the VI to close and exit LabVIEW after it runs, you
      cannot stop the VI and edit it without it closing and exiting
      LabVIEW. This VI would be very difficult to edit.
    </para>
    <note>
      To exit LabVIEW, you can use the Quit LabVIEW function located
      on the <code>Functions&gt;&gt;All Functions&gt;&gt;Application
      Control</code> palette. This function aborts all running VIs and
      ends the current session of LabVIEW. The function has one
      input. If it is wired, the end of the LabVIEW session occurs
      only if that input is True. If the input is not wired, the end
      of the session occurs when the node executes.
    </note>
    <para id="p2">
      Before you change VI properties, save a backup of the VI to a
      new location by selecting <code>File&gt;&gt;Save with Options</code>
      to avoid situations like the previous examples.
    </para>
    <para id="p3">
      Select the <code>Development Distribution</code> option to save
      the VI to a new location along with its entire hierarchy. You
      also can include the <code>vi.lib</code> files in the save. After you save
      the backup VI, change the VI properties of the original VI. If
      you encounter a problem, you can return to the backup VI.
    </para>
    <note type="caution">
      If you select the <code>Remove diagrams</code> option, you
      remove the source code of the VI. Select this option only if you
      never need to edit the VI again. Before you save a VI without
      the block diagrams, save a backup of the VI with the block
      diagrams.
    </note>
    <para id="p4">
      If you already saved a development VI with properties that make
      the VI difficult to edit, refer to the <cnxn document="m12305">Edit Me
      VI</cnxn> exercise for more information about editing the VI.
    </para>
  </content>
  
</document>
