<?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>Graph Circle VI</name>
  <metadata>
  <md:version>**new**</md:version>
  <md:created>2004/06/24 14:07:16.456 GMT-5</md:created>
  <md:revised>2004/06/28 15:42:31.674 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="harika">
      <md:firstname>Harika</md:firstname>
      
      <md:surname>Basana</md:surname>
      <md:email>ilsai@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:keywordlist>
    <md:keyword>National Instruments</md:keyword>
    <md:keyword>LabVIEW</md:keyword>
    <md:keyword>exercise</md:keyword>
    <md:keyword>Graph Circle VI</md:keyword>
  </md:keywordlist>

  <md:abstract>Plot data using an XY Graph.</md:abstract>
</metadata>
  
  <content>
    <exercise id="e1">
      <problem>
	<para id="p1">
	  Complete the following steps to build a VI that plots a circle
	  using independent <m:math><m:ci>x</m:ci></m:math> and
	  <m:math><m:ci>y</m:ci></m:math> arrays.
	</para>
	<section id="s1">
	  <name>Front Panel</name>
	  <list id="l1" type="enumerated">
	    <item>
	      Open a blank VI and build the front panel shown in <cnxn target="f1"/>.
	      <figure id="f1">
		<media type="image/png" src="graphcirc.png"/>
	      </figure>
	      <list id="l2" type="enumerated">
		<item>
		  
		  Place an <code>XY Graph</code>, located on the
		  <code>Controls&gt;&gt;All Controls&gt;&gt;Graph</code> palette, on
		  the front panel.
		</item>
		<item>
		  
		  Label the graph <code>XY Circle Graph</code>.
		</item>
		<item>
		  
		  Change <code>Plot 0</code> to <code>Circle</code> in the
		  plot legend.
		</item>
		<item>
		  Right-click the plot in the plot legend, select
		  <code>Point Style</code> from the shortcut menu, and
		  select the small square.
		</item>
		<item>
		  
		  Change the scale labels and ranges, as shown in <cnxn target="f1"/>.
		</item>
	      </list>
	    </item>
	  </list>
	</section>
	<section id="s2">
	  <name>Block Diagram</name>
	  <list id="l3" type="enumerated">
	    <item>
	      Build the block diagram shown in <cnxn target="f2"/>.
	      <figure id="f2">
		<media type="image/png" src="graphcircbd.png"/>
	      </figure>
	      <list id="l4" type="enumerated">
		<item>      
		  <media type="image/png" src="sinecosicon.png"/>

		  Place the<code> Sine &amp; Cosine</code> function,
		  located on the <code>Functions&gt;&gt;Arithmetic &amp;
		    Comparison&gt;&gt;Express Numeric&gt;&gt;Express
		    Trigonometric</code> palette, on the block diagram. This
		  function builds an array of points that represents one
		  cycle of a sine wave and a cosine wave.
		</item>
		<item>      
		  <media type="image/png" src="bundleicon.png"/>
		  Place the <code>Bundle</code> function, located on the
		  <code>Functions&gt;&gt;All Functions&gt;&gt;Cluster</code> palette,
		  on the block diagram. This function assembles the sine
		  array and the cosine array to plot the sine array
		  against the cosine array to produce a circle.
		</item>
		<item>      
		  <media type="image/png" src="pimult.png"/>
		  Place the <code>Pi Multiplied by 2</code> constant,
		  located on the <code>Functions&gt;&gt;Arithmetic &amp;
		    Comparison&gt;&gt;Express Numeric&gt;&gt;Express Numeric
		    Constants</code> palette, on the block diagram.
		</item>
	      </list>
	    </item>
	    <item>
	      Save the VI as <code>Graph Circle.vi</code> in the
	      <code>C:\Exercises\LabVIEW Basics I</code> directory.
	    </item>
	    <item>
	      Display the front panel and run the VI.
	    </item>
	    <item>
	      Close the VI.
	    </item>
	  </list>
	</section>
      </problem>
    </exercise>
  </content>
  
</document>
