<?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>Creating a SubVI from Sections of a VI</name>
  <metadata>
  <md:version>**new**</md:version>
  <md:created>2004/06/15 12:39:23.305 GMT-5</md:created>
  <md:revised>2004/07/13 14:37:59.981 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="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="mshiralkar05">
      <md:firstname>Malan</md:firstname>
      
      <md:surname>Shiralkar</md:surname>
      <md:email>mshiralkar05@hotmail.com</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:abstract/>
</metadata>
  
  <content>
    <para id="intro">
      You can simplify the block diagram of a VI by converting
      sections of the block diagram into subVIs. Convert a section of
      a VI into a subVI by using the <code>Positioning</code> tool to
      select the section of the block diagram you want to reuse and
      selecting <code> Edit&gt;&gt;Create SubVI. </code> An icon for the new
      subVI replaces the selected section of the block
      diagram. LabVIEW creates controls and indicators for the new
      subVI and wires the subVI to the existing wires. <cnxn target="f1"/> shows how to convert a selection into a subVI.

      <figure id="f1"> 
	<media type="image/png" src="slopesubvi.png"/>
      </figure> 
    </para>   

    <para id="intro_1">

      The new subVI uses a default pattern for the connector pane and
      a default icon. Double-click the subVI to edit the connector
      pane and icon, and to save the subVI.

      <note>
	Do not select more than 28 objects to create a subVI because
	28 is the maximum number of connections on a connector pane.
      </note>
    </para>

  </content>
  
</document>
