<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7297028084986565519</id><updated>2026-06-18T12:30:07.628-07:00</updated><category term="vi"/><category term="while"/><category term="arrays labview"/><category term="daq"/><category term="data acquistion"/><category term="for"/><category term="labview"/><category term="loops"/><category term="myDAQ"/><category term="state machine"/><category term="Accessing Previous Loop Data"/><category term="Acquiring a Signal VI"/><category term="Arrays in LabVIEW"/><category term="Audio Output in LabVIEW"/><category term="Audio Sources in LabVIEW"/><category term="Auto-Indexing"/><category term="Case Structures"/><category term="Cluster Functions"/><category term="Configuration of DAQ Devices"/><category term="Control ECP Plants"/><category term="Create a SubVI in LabVIEW"/><category term="Datasockets in LabVIEW"/><category term="Digital Example VI"/><category term="Digital Waveform"/><category term="ECG Signal Analysis"/><category term="EMG"/><category term="Error Clusters"/><category term="Express Filter VI"/><category term="Eye Diagram"/><category term="FM Synthesis Instruments in LabVIEW"/><category term="FPGA Communications Projects"/><category term="File Writer VI"/><category term="Formula Node Exercise"/><category term="Frequency Modulation"/><category term="GPIB Communication and Configuration"/><category term="GUI"/><category term="Graph Programmatically"/><category term="Hybrid Programming"/><category term="Input and Output"/><category term="Instrumenting a Circui"/><category term="Interactive Programming"/><category term="Interactive Simulation"/><category term="LabVIEW 3D Control Simulatio"/><category term="Labview Implementation of 2D Array"/><category term="Labview Temperature Measurement"/><category term="Measure Temperature"/><category term="Measurement"/><category term="Microphone Array Simulation"/><category term="Multicore Programming"/><category term="Musical Signal Processing"/><category term="Notifiers in LabVIEW"/><category term="Object Oriented"/><category term="Programming"/><category term="Programming Structures"/><category term="Programming in LabVIEW MathScript"/><category term="Programming with VISA"/><category term="QAM using LabView Simulation"/><category term="Queues in LabVIEW"/><category term="RTD"/><category term="Read/Write"/><category term="Reduce Samples VI"/><category term="Schroeder Reverberator"/><category term="Serial Port Communication"/><category term="Simple Data Logger VI"/><category term="Simple Event Counting VI"/><category term="Sound Recorder"/><category term="Spatial Frequency Analysis"/><category term="Spreadsheet Example VI"/><category term="String Functions"/><category term="Strings"/><category term="Studio Components"/><category term="Subtractive Synthesis Concepts"/><category term="Symbols-to-FFT"/><category term="Temperature Application VI"/><category term="Temperature Control VI"/><category term="Temperature Logger VI"/><category term="Temperature Monitor VI"/><category term="Temperature Running Average VI"/><category term="Temperature System VI"/><category term="Transmission Control Protoco"/><category term="Using Instrument Driver VIs"/><category term="Vibrato Effect"/><category term="Voltage Monitor VI"/><category term="Voltage Output VI"/><category term="Waveform Example VI"/><category term="Waveform Transfers"/><category term="analyzing"/><category term="and LabVIEW"/><category term="block diagram"/><category term="case"/><category term="cluster"/><category term="clusters"/><category term="control panel"/><category term="cpu"/><category term="create"/><category term="data logger"/><category term="dataflow"/><category term="delay"/><category term="error"/><category term="express vi"/><category term="front panel"/><category term="graph"/><category term="handling"/><category term="humanoid"/><category term="image"/><category term="instrumentation"/><category term="labview advantages"/><category term="labview arrays"/><category term="labview definition"/><category term="labview introduction"/><category term="labview options"/><category term="labview products"/><category term="labview projects"/><category term="labview reasons"/><category term="labview robot"/><category term="labview structures"/><category term="labview subvi"/><category term="labview theory"/><category term="learn labview"/><category term="mathscript in labview"/><category term="multiplot"/><category term="ni"/><category term="olid-State Relay"/><category term="pid controller labview"/><category term="queues"/><category term="scxi"/><category term="shift register"/><category term="shortcuts to labview"/><category term="storage"/><category term="subvi"/><category term="temperature converter"/><category term="temperature logger"/><category term="thermistor"/><category term="threading"/><category term="time"/><category term="time stamps"/><category term="tools"/><category term="types"/><category term="uses"/><category term="virtual"/><category term="virtual musical instrument"/><category term="vxi"/><category term="walking robot"/><category term="waveforms"/><category term="wheatstone bridge"/><title type='text'>Labview</title><subtitle type='html'>labview resources and projects..</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>151</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-1298893245147134181</id><published>2010-09-25T08:01:00.001-07:00</published><updated>2010-09-25T08:01:04.240-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Labview Temperature Measurement"/><title type='text'>Labview Temperature Measurement and First-Order Dynamic Response</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;In this lab exercise, you will determine how various temperature measurement systems respond to different inputs. This analysis will include a thermometer, a thermocouple, and a thermistor.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;section&quot; id=&quot;id9841657&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Introduction:&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id9841665&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;In this lab exercise, you will determine how various temperature measurement systems respond to different inputs. This analysis will include a thermometer, a thermocouple, and a thermistor.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9841678&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Teaching Objectives:&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id9841685&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The purpose of this laboratory is for each student to understand and do the following:&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9841691&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1. Instrument calibration.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9841696&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2. Measurements with thermocouples and thermistors.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9841701&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;3. Determination of time constants and comparisons of the dynamic responses of three measuring systems.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9841707&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;4. Application of first-order dynamic behavior to dynamic temperature measurement problems.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9841717&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Preparatory Reading:&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id9841724&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Figliola and Beasley&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9841729&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Measurement System Behavior, First Order Systems: pp. 72–87&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9841738&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Thermistors: p. 295&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9841747&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Thermoelectric Temperature Measurement: pp. 300-313&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9841760&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Overview:&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id9841767&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;In this lab, we will use first-order models to approximate the response of a thermometer, a thermocouple, and a thermistor to temperature inputs. Each of these temperature sensors measure temperature in a different way.&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;id9841775&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;A thermometer senses a change in temperature as a change in the density of a fluid.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;A thermocouple consists of two wires of different metals joined at one end (the junction). When a voltage is applied across the free ends of the two wires, the differing properties of the wires create an induced voltage that it proportional to the temperature change at the junction.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;A thermistor is a thermally sensitive resistor. When the temperature of the thermistor changes, a proportional change in resistance occurs.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9841808&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Procedure:&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;section&quot; id=&quot;id9841815&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Part 1: Modify a VI for temperature measurements&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id9841822&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;In this lab, we will build on the skills that were developed in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m13771/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;Introduction to Benchtop Equipment and Data Acquisition&lt;/a&gt;. It is assumed that the student understands the concepts of a Front Panel, a Block Diagram, the Control Palette, and the Functions Palette. It is also assumed that the student can search the control and functions palette for necessary features.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9841838&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1. Connect a thermocouple to channel 0 of the SCXI-1112 module.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9841843&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2. Open LabVIEW 8.0.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9841848&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;3. Open the VI that you developed for&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m13771/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;Introduction to Benchtop Equipment and Data Acquisition&lt;/a&gt;.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9841853&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;4. Click File&amp;gt;&amp;gt;Save As…&amp;gt;&amp;gt;Substitute Copy for Original to save your VI with a new name.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9841864&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;5. On the Block Diagram, double click the DAQ Assistant to open the configuration dialogue box.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9842763&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1:&amp;nbsp;&lt;/strong&gt;DAQ Assistant Configuration Box&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 1 (Graphic1.png)&quot; height=&quot;622&quot; src=&quot;http://cnx.org/content/m13774/latest/Graphic1.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9842806&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;6. Configure the DAQ Assistant as shown above.&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;id9842816&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;list&quot; id=&quot;id9842820&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click Voltage and press Delete to delete the channel you used in the first lab.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;A dialog box will ask if you want to delete the selected channel. Click Yes.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Add a new measurement channel.&lt;br /&gt;
&lt;div class=&quot;list&quot; id=&quot;id9842851&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click Add Channels&amp;gt;&amp;gt;Voltage.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Select the channel that the thermocouple is connected to (SC1Mod2&amp;gt;&amp;gt;ai0).&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click OK.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;The input range should be 80mV max to -80mV min. (Thermocouples have a low voltage output.)&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;The Terminal Configuration should be Differential. (The ground terminal is not used.)&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Change Acquisition Mode to Continuous.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click OK.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;A dialog box will open asking if you would like a While Loop to be made around the DAQ Assistant. Click No. (You will place a While Loop in the next step that includes the subVIs that are already on the Block Diagram.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9842986&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;7. Place a While Loop around the entire Block Diagram as shown below. LabVIEW While Loops are similar to While Loops in any text-based programming language. The routine inside the loop will run repeatedly until a true value is passed to the loop condition, represented by a red button at the bottom right corner of the loop.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9843017&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2:&amp;nbsp;&lt;/strong&gt;Block diagram with while loop&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 2 (Graphic2.png)&quot; src=&quot;http://cnx.org/content/m13774/latest/Graphic2.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843069&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;8. A toggle button can be used to end the While Loop routine. Right click on the loop condition icon and click Create&amp;gt;&amp;gt;Control.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843086&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;9. Double click the Write to Measurement File ExpressVI to open the configuration box. Under If a file already exists, select Append to File. Click OK. (Because the Write to File function now occurs in a loop, the data must be appended to the end of the file, rather than overwriting the data from the previous loop.)&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843119&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;10. On the front panel, place a Thermometer.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843131&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;11. Right Click the Thermometer. Click Visible Items&amp;gt;&amp;gt;Digital Display.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843150&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;12. On the Block Diagram, inside the While Loop, place a Time Delay Express VI. When the Configuration Box opens, change the Time Delay (seconds) to 0.001. (Without a delay in the While Loop, the program will repeat as quickly as it can and consume processor power.)&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843185&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;13. Your Block Diagram should resemble Figure 3.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843198&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;14. Click File&amp;gt;&amp;gt;Save As…&amp;gt;&amp;gt;Copy&amp;gt;&amp;gt;Create Unopened Disk Copy. Save the VI with “Lab3” in the file name. (You will use the VI as it is now as a starting point in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m13778/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;Operational Amplifiers and Signal Conditioning&lt;/a&gt;.)&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843214&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;15. Save a second copy with “Lab4” in the file name. (You will also use the VI as it is now as a starting point in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m13779/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;Strain Gages and Force Measurement&lt;/a&gt;.)&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9843227&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3:&amp;nbsp;&lt;/strong&gt;Completed block diagram&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 3 (Graphic3.png)&quot; src=&quot;http://cnx.org/content/m13774/latest/Graphic3.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9843276&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Part 2: Calibration Curve&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id9843283&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;You will create a static calibration curve to correlate voltage measurements with temperature readings. We will use the thermometer as the standard. (Note: We use the thermometer as a standard for convenience. Do not assume that an alcohol-in-glass thermometer is a temperature measurement device with superior accuracy.)&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9843302&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h4 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;2.1 Calibrate the thermocouple&lt;/strong&gt;&lt;/h4&gt;&lt;div class=&quot;para&quot; id=&quot;id9843309&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1. Take temperature readings with the thermometer in ice water and boiling water. Be careful not to allow the devices to come into contact with the hot plate or the bottom of the beaker.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843318&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2. Record the temperatures measured.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843322&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;3. Use the thermocouple to measure both temperatures. Again, be careful not to allow the devices to come in contact with the hot plate or the bottom of the beaker.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843332&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;4. In Excel:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;id9843337&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;list&quot; id=&quot;id9843341&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Plot the temperatures measured with the known standard values on the y-axis and the ADC output (voltage) resulting from the thermocouple input on the x-axis.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Create a linear curve fit using the two data points.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843360&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The linear fit results in an equation that relates the ADC output obtained from the thermocouple to the known temperature from the thermometer:&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843370&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;T=k(Vadc) + b&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843384&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;where “T” is the temperature, “k” is the gain (°C/V), “Vadc” is the voltage read in to the computer, and “b” is the zero-voltage offset. The gain “k” is the inverse of the static sensitivity, which has units of V/°C.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843405&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;5. Repeat the calibration procedure for the thermistor.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9843412&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h4 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;2.2 Modify your VI for calibration&lt;/strong&gt;&lt;/h4&gt;&lt;div class=&quot;figure&quot; id=&quot;id9843422&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 4:&amp;nbsp;&lt;/strong&gt;Modified block diagram&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 4 (Graphic4.png)&quot; height=&quot;238&quot; src=&quot;http://cnx.org/content/m13774/latest/Graphic4.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843474&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;In this section, you will multiply the data by the conversion scalar “k” that you found experimentally. You will also add an offset “b”.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843496&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1. Delete the Tone Measurement ExpressVI. Delete the Frequency and Amplitude indicators.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843520&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2. Delete the wires that connect the DAQ Assistant to the thermometer, the Waveform Graph, and the Write to File ExpressVI. Press Ctrl+b to remove any broken wire remnants.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843555&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;3. Place a Multiply and an Add on the block diagram.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843571&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;4. Create a control and connect it to the y terminal of the Multiply icon. Rename the control “k”.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843589&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;5. Create a control and connect it to the y terminal of the Add icon. Rename the control “b”.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843606&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;6. Wire your block diagram as shown in Figure 4.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843619&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;7. On the front panel, enter the values you found experimentally for the “k” and “b” values.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843637&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;8. When you run the VI, your measurements should now be displayed as temperatures.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9843645&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Part 3: Time Constants&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id9843652&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The calibration curves you found represent static calibrations. In the following section, you will consider the dynamic behavior of the sensors. The dynamics of all the temperature sensors used in this lab can be modeled accurately as first-order systems. The natural response of a first-order system can be characterized by a single parameter — the time constant.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843692&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Time constants can be found by observing the response of the instrument to a step input in temperature. Note that the second medium governs the physics of the transient response. For each of the sensors, you will determine the time constant for transfers from ambient air to ice water and from hot air to ambient air.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843719&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;An ice water bath will be provided for your tests. A heat gun will be used to generate hot air. Caution: Keep all temperature sensors (particularly the thermometer and the thermistor) at least 9 inches away from the heat gun. Holding them closer to the heat gun will result in temperatures outside the operating range of the sensors.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843745&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Four methods will be used to calculate various time constants. Table 1 summarizes the tests to be performed. The testing methods are described below.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843760&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Table 1. Time constant calculation methods.&lt;/div&gt;&lt;div class=&quot;table&quot; id=&quot;id9843767&quot; style=&quot;margin-bottom: 1.5em; margin-left: 0px; margin-right: 0px; margin-top: 1.5em; text-align: center; width: 1022px;&quot;&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-bottom-color: rgb(102, 102, 102) !important; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-color: initial; border-left-color: rgb(102, 102, 102) !important; border-left-style: solid; border-left-width: 1px; border-right-color: rgb(102, 102, 102) !important; border-right-style: solid; border-right-width: 1px; border-top-color: rgb(102, 102, 102) !important; border-top-style: solid; border-top-width: 1px;&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;table-text&quot; style=&quot;line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;TABLE 1&lt;/span&gt;&lt;/caption&gt;&lt;tbody valign=&quot;top&quot;&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;thermometer&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;thermocouple&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;thermistor&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;ambient air to ice water&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;1, 2&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;3, 4&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;3, 5&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;hot air to ambient air&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;1&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;3&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;ice water to ambient air&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;3&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;-&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9843953&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h4 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Method 1- Time Elapsed at 63.2% Sensor Accuracy&lt;/strong&gt;&lt;/h4&gt;&lt;div class=&quot;para&quot; id=&quot;id9843961&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Thermometer: Perform this test for ambient air to ice water. Repeat for hot air to ambient air.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9843984&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1. Record the temperature of the initial medium, T0, and the temperature of the final medium, T_inf.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844011&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2. Calculate the intermediate reference temperature, Tr that is 63.2 percent of the way from T0 to T_inf.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9810725&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;3. With the instrument at steady state (reading T0) in the initial medium, move it quickly to the final medium.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844306&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;4. The time from when the step in temperature began to when the instrument reads Tr is the time constant, . This time can be measured using a stopwatch.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9844326&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h4 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Method 2 - Mathematic Definition of Tau&lt;/strong&gt;&lt;/h4&gt;&lt;div class=&quot;para&quot; id=&quot;id9844333&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Thermometer: Perform this test moving from ambient air to ice water.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844348&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1. Record the temperature of the initial medium, T0, and the temperature of the final medium, T_inf.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844373&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2. Choose an arbitrary reference temperature, Tr that is between 60 and 80 percent of the way from T0 to T_inf.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844409&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;3. With the instrument at steady state (reading T0) in the initial medium, move it quickly to the final medium.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844425&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;4. Record the time trthat it takes to reach the reference temperature Tr.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844454&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;5. The following expression can be used to calculate the time constant tau:&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844465&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9844468&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 5:&amp;nbsp;&lt;/strong&gt;equation (1)&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 5 (Graphic5.png)&quot; src=&quot;http://cnx.org/content/m13774/latest/Graphic5.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9844497&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h4 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Method 3 – Analyze Acquired Data&lt;/strong&gt;&lt;/h4&gt;&lt;div class=&quot;para&quot; id=&quot;id9844505&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Thermocouple: Perform this test for ambient air-to-ice water, hot air-to-ambient air, and ice water-to-ambient air.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844530&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Thermistor: Perform this test for ambient air-to-ice water, and hot air- to-ambient air.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844551&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1. Run the VI.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844555&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2. Insert the thermocouple into the initial medium.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844562&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;3. Click the Enable toggle control as you transfer the thermocouple to the final medium.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844573&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;4. When the sensor comes to equilibrium, stop the VI.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844578&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;5. Open your measurement file in Excel.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844583&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;6. Determine the time required for the sensor to complete 63.2 percent of the transient from the initial temperature to the final temperature.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844590&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;7. Change the file path to prevent overwriting data. (You can either change the name of the file after it is written, or you can change the name of the path that the next file will be written to.) You will use the saved data for subsequent calculations.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9844601&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h4 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Method 4- Error Fraction&lt;/strong&gt;&lt;/h4&gt;&lt;div class=&quot;para&quot; id=&quot;id9844608&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Thermocouple: Complete this step using the data from the ambient air-to-ice water transfer.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844623&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Thermistor: Repeat this step using the data from the ambient air-to-ice water transfer.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844639&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Equation 2 below gives an expression for the error fraction.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844655&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9844658&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 6:&amp;nbsp;&lt;/strong&gt;equation (2)&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 6 (Graphic6.png)&quot; src=&quot;http://cnx.org/content/m13774/latest/Graphic6.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844684&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1. Calculate the error fraction at each instant of time for the data you have gathered.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844695&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2. Take the natural log of the error fraction data.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844706&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;3. Plot the natural log of the error fraction versus time.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844717&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;4. Find the negative reciprocal of the slope of this curve. This is the time constant.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844729&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The error fraction versus time curve provides an easy way to judge the accuracy of a first-order model for the data gathered. If the error fraction plot is linear, then the first-order model is a good approximation of the dynamic behavior of the system. (See pages 78–79 of Figliola and Beasley for a more detailed discussion of the error fraction and its use to calculate the time constant.) Are the thermocouple and thermistor in water adequately modeled by the first-order system approximation?&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9844758&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h4 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Method 5- Least Squared Error&lt;/strong&gt;&lt;/h4&gt;&lt;div class=&quot;para&quot; id=&quot;id9844764&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Thermistor: Complete this step using the ambient air-to-ice water data.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844776&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Equation (3) below gives the theoretical expression for the temperature, T(t), as a function of time when the temperature of the environment is suddenly changed from T0 to T∞. The thermocouple is assumed to be at temperature T0 when the change occurs at t = 0.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844814&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9844818&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 7:&amp;nbsp;&lt;/strong&gt;equation (3)&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 7 (Graphic7.png)&quot; src=&quot;http://cnx.org/content/m13774/latest/Graphic7.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844847&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1. Using Excel, compute a value for tau so that the square of the error between the theory and your experimental result is minimized. This is called a least square error approach and is very common in engineering.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844863&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2. Plot both the test data and the results from Equation (3) on the same axes to compare how well this model fits the data.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9844871&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Part 4: Additional Tests&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id9844878&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Once you have performed all of the tests outlined above, consider the following tests:&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844884&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;•Transfer the thermocouple from ice water to room temperature air.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844893&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;How does the time constant compare with the one obtained from the air-to-ice-water transition? Is it different? Why or why not?&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844903&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;•When calculating the time constant for the thermocouple in transition from air to ice water, you measured the time to go 63.2 percent of the way from the initial temperature (around 21 C) to the final temperature (around 0 C). Using the same graph, recalculate the time constant using14 C as the starting temperature (i.e., what is the time required to go 63.2 percent of the way from 14 C to 0 C?). Is this time constant value significantly different from the initial value you computed? Why or why not?&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9844926&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Part 5: Thought Questions&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id9844933&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Document your response to these questions in your lab book.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844942&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1. How do the time constants of the thermometer, thermocouple, and thermistor compare? Why is the thermometer “slow” compared to the other devices?&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844952&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2. How do the time constants obtained for air and water compare? Are they significantly different? If so, explain why.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844962&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;3. Does the instrument need to be at steady state before transferring it to the final medium?&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9844968&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;4. How accurate (qualitatively) is the first-order model approximation for the different sensors and media?&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9844975&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Part 6: Frequency Response&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id9844982&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;From the measured time responses of the thermometer, the thermocouple, and the thermistor, it can be seen that the response time of these sensors is not instantaneous. From this we can infer that these measurement systems may have some difficulty following inputs that change quickly. Frequency response is a means of characterizing the dynamic response capabilities of a system.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9845000&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The frequency response of a system can be determined by calculating the response of a system to sinusoidal inputs at different frequencies. Two important characteristics are:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;id9845014&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;the magnitude ratio between the output and input waveforms&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;the phase difference between the output and input waveforms&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9845043&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;For a first-order system, we can create the frequency response plot using only our knowledge of the system time constant. The magnitude ratio can be calculated from the following expression.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9845057&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9845060&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 8:&amp;nbsp;&lt;/strong&gt;equation (4)&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 8 (Graphic8.png)&quot; src=&quot;http://cnx.org/content/m13774/latest/Graphic8.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9845088&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The phase difference is determined from expression 5.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9845101&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9845104&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 9:&amp;nbsp;&lt;/strong&gt;equation (5)&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 9 (Graphic9.png)&quot; src=&quot;http://cnx.org/content/m13774/latest/Graphic9.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9845131&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;In Excel, create a frequency response plot for the thermometer, thermocouple, and thermistor using the time constant from the ice water tests. Plot the magnitude ratio on a log-log scale and the phase difference on a semilog scale (log scale of frequency axis). Consider frequencies from 0.1 rad/s to 1000 rad/s. Your plots will look nice if you use ten points per decade of frequency (i.e., 0.1, 0.2, 0.3, … ,1, 2, 3, … , 10, 20, 30, …). Overlay the three magnitude responses on one plot and the three phase responses on another. How do the frequency response characteristics of the thermometer, thermocouple, and thermistor compare?&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9845176&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Part 7: Dynamic Temperature Measurement Problem&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id9845183&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Include the analysis for this problem in your lab book.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9845188&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Assume that the thermocouple you used is placed in a water stream at a point where the temperature varies sinusoidally between 60 C and 80 C at a frequency of 40 rad/s. Assuming that the thermocouple time constant is the same as the value you determined in the ice water case, what will be the range of sinusoidal variation in the temperature readings? Repeat the calculations for a temperature frequency of 2 rad/s. Now assume the thermocouple is in air instead of water. Determine the range of the variation using input frequencies of 10 rad/s and 1 rad/s.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9845214&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Clean Up:&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id9845220&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Please straighten up your lab work area. Turn off the data acquisition hardware and leave your work area clean. Your help in keeping the lab neat is appreciated.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9845236&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Report:&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id9845243&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;For this lab, you are to write up the Method section of a full formal report. Guidelines are given in the example report in the Undergraduate Guide. Avoid presenting results in the Methods section. Your writing assignment is relatively short. Take the time to do a good job. Since you will not be submitting Results or Discussion of Results in the report, you will need to document your results in your lab book. Also, be sure to answer the questions from the lab handout in your lab book.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;GIVE FEEDBACK:&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/1298893245147134181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-temperature-measurement-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/1298893245147134181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/1298893245147134181'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-temperature-measurement-and.html' title='Labview Temperature Measurement and First-Order Dynamic Response'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-3160614022711868220</id><published>2010-09-25T07:59:00.001-07:00</published><updated>2010-09-25T07:59:04.157-07:00</updated><title type='text'>labview Strain Gages and Force Measurement</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;In this lab, you will learn about strain gages and the Wheatstone bridge circuit. You will see how they can be used for strain and force measurement. You will modify an existing program to measure the dynamic characteristics of a second-order system.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;section&quot; id=&quot;id5428477&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Introduction&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id5428483&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;In this lab, you will learn about strain gages and the Wheatstone bridge circuit. You will see how they can be used for strain and force measurement. You will modify an existing program to measure the dynamic characteristics of a second-order system.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5428495&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Teaching Objectives&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;list&quot; id=&quot;id5428501&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Gain practical experience with resistance strain-measurement techniques.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Learn about the Wheatstone bridge and how it is used in strain measurement.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Use a beam instrumented with strain gages as a force measurement device.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Use strain gages to measure the natural frequency and damping in a beam.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Design a force transducer for measuring thrust from a model rocket motor.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5428538&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Preparatory Reading:&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id5433928&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Figliola and Beasley&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5433932&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Strain Measurement: pp. 425–446&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5433942&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Procedure&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;section&quot; id=&quot;id5433949&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Part 1: Strain Gages and the Wheatstone Bridge&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id5433956&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The metal foil strain gages used in this lab are resistors with a nominal (unstrained) resistance of 120 ohms. As they are put in tension, their resistance increases; as they are compressed, their resistance decreases. The Wheatstone bridge provides a way to convert these changes in resistance to changes in voltage, which are easy to work with. These voltages can be conditioned, transmitted, or stored digitally.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5433982&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1:&amp;nbsp;&lt;/strong&gt;Wheatstone Bridge Circuit&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 1 (Graphic1.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic1.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5434029&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Figure 1 shows a Wheatstone bridge configuration.&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;id5434041&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Four resistors are connected in an end-to-end fashion.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;The input or excitation voltage is connected to the bridge between top and bottom nodes of the circuit.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;The output is the difference between the voltage at the left node and the voltage at the right node.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;An excitation voltage is required to convert the change in resistance (in the legs of the bridge) to a change in voltage at the output of the bridge.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5434076&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;For the bridge shown, the output voltage is expressed as&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5434081&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5434085&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2:&amp;nbsp;&lt;/strong&gt;equation (1)&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 2 (Graphic2.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic2.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5434111&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;When building a Wheatstone bridge with strain gages, all four resistors have the same nominal value. Bridges can be built in the following configurations:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;id5434118&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Quarter Bridge-One strain gage and three fixed resistors&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Half Bridge- Two strain gages and two fixed resistors&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Full Bridge- Four strain gages&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5434142&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3:&amp;nbsp;&lt;/strong&gt;Quarter Bridge Configuration&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 3 (Graphic3.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic3.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5434189&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Quarter Bridges&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id5434196&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Figure 3 illustrates a quarter bridge configuration. The quarter bridge has one active leg, i.e., one leg with a changing resistance. From equation (1) above we can derive an expression for the output voltage as a function of the resistance change ∆R:&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5443223&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5443227&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 4:&amp;nbsp;&lt;/strong&gt;equation (2)&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 4 (Graphic4.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic4.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5443252&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Half and Full Bridges&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id5443259&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Figure 5 and Figure 6 show half-bridge and full-bridge configurations respectively.&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;id5443281&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Half bridge: two active legs, one in tension and one in compression. These legs are adjacent legs in the bridge.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Full bridge: four active legs, two in tension and two in compression. The gages in tension are on opposite legs of the bridge.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5443314&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Using equation 1 and Figure 1 as a guide, derive expressions for the output voltage of the half-bridge and full-bridge circuits.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5443321&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Thought Question&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5443329&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;A half bridge could be made with two gages in tension on opposite legs. When would this be useful? What would be the main problem with doing this?&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5443343&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 5:&amp;nbsp;&lt;/strong&gt;Half Bridge Configuration&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 5 (Graphic5.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic5.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5443397&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 6:&amp;nbsp;&lt;/strong&gt;Full Bridge Configuration&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 6 (Graphic6.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic6.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5443446&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Part 2: Calibration of the Strain-gaged Cantilever Beam&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id5443453&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Your TA will provide an aluminum beam instrumented with strain gages.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5443459&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1. Clamp the beam securely to the edge of the lab table with the gaged portion of the beam cantilevered beyond the edge of the bench.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5443466&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2. Using the junction box provided, connect a single strain gage in a quarter bridge configuration. (Refer to Figure 3 as a guide.)&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5443478&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;3. Connect the junction box output cable to Channel 2 of the SCXI-1520 strain gage module. The SCXI-1520 provides an excitation voltage to the bridge and amplifies the output voltage from the bridge to ranges that are easily observable or acceptable for data acquisition. The excitation voltage Vi is 5 V and the gain is 500. When connected to the signal conditioning board, the amplified bridge output can be read by the data acquisition software.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5428184&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;4. Open the “Lab4” VI that you created in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m13774/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;Temperature Measurement and First-Order Dynamic Response&lt;/a&gt;.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5428190&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;5. Hang weights from the end of the beam.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5428195&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;6. Record the voltage measured with LabVIEW in your lab book.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5428201&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;7. Repeat steps 5 and 6 for several different weights.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5428206&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;8. In Excel, plot the voltage (input) versus weight (output).&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5443772&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;9. Find the best fit linear relationship for the data. The resulting equation can be used to calibrate the voltage output of the strain gages.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5443778&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;10. Apply several loads not used for calibration to test the validity of the linear curve fit.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5443785&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Part 3: Comparison of Theoretical Strain to Measured Strain&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id5443792&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;In this step, we will compare a theoretically based estimate of strain for a given load to that which was measured earlier. First we will determine the strain corresponding to the voltage measurements of step 2.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5443804&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1. Measure the excitation voltage for bridge circuit, Vi.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5443823&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The circuit analyses from step one showed that the bridge output Vo is related to the excitation voltage by the following relationship&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5443839&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5443844&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 7:&amp;nbsp;&lt;/strong&gt;equation (2)&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 7 (Graphic7.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic7.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5443870&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;where K equals 1/4 for a quarter bridge, 1/2 for a half bridge, and 1 for a full bridge. The voltage measured in LabVIEW is related to the bridge output by&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5443885&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5439125&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 8:&amp;nbsp;&lt;/strong&gt;equation (3)&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 8 (Graphic8.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic8.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439152&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;where Kamp is the gain of the signal conditioning board. Because the bridge resistances are not balanced exactly and the weight of the beam itself produces some strain, you will observe a nonzero output voltage when there is no load applied.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439177&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2. Measure the output voltage with no load. Call this voltage Voffset.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439193&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;3. To determine the strain induced by the applied loads, measure the changes in the display voltages relative to this offset voltage (Vdisplay–Voffset).&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439222&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;For a strain gage, the gage factor is defined as&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439227&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5439232&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 9:&amp;nbsp;&lt;/strong&gt;equation (4)&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 9 (Graphic9.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic9.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439258&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;where epsilon is the strain experienced by the gage. The gages used in this lab have a gage factor of 2.12±0.8%.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439274&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;4. Derive an expression for the strain in the beam using equations (2) through (4). Your empirical strain estimate should be in the range of 0 to 2000 microstrains.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439281&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;A theoretical estimate of the strain can be obtained by drawing on topics from CEEn 203. The stress on the surface of a beam in bending is given by&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439292&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5439297&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 10:&amp;nbsp;&lt;/strong&gt;equation (5)&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 10 (Graphic10.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic10.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439323&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;where M is the applied moment at the location of interest, y is the distance from the neutral axis (in this case, the half height of the beam cross section), I is the area moment of inertia of the cross section with respect to the neutral axis. Recall that for a rectangular cross section,&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439350&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5439356&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 11:&amp;nbsp;&lt;/strong&gt;equation (6)&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 11 (Graphic11.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic11.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439383&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Recall also that stress and strain are related by Young’s modulus:&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439389&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5439394&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 12:&amp;nbsp;&lt;/strong&gt;equation (7)&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 12 (Graphic12.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic12.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439422&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;For aluminum, E = 10.4x10^6 psi.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439442&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;5. Using equations (5) through (7), estimate the strain where the gages are bonded to the beam. How does the theoretically obtained strain compare to the value determined from measurements? If they are different, what are some possible reasons?&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5439456&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Part 4: Experiments with Half and Full Bridges&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id5439463&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Repeat parts 2 and 3 for the half bridge and the full bridge configurations.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5439470&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Part 5: Measurement of an Unknown Load&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id5439476&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Based upon the calibration determined in step 2, use your beam to determine the weight of an arbitrary object. You may use the quarter bridge, the half bridge, or full bridge configuration for this test. Measure the actual weight using a precision scale. How does the weight determined with your beam compare to the object&#39;s true weight? How certain is your measurement? What are some possible sources of uncertainty?&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5439499&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Part 6: Sensitivity to Extraneous Loads and Temperature Variations&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id5439507&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Strain gages are often used as transducers to measure force in a structure or mechanical device. A perfect sensor is sensitive only to changes in the variable of interest and is completely insensitive to changes in extraneous parameters. (Such a sensor is impossible to create.) In practice, every effort should be made to minimize sensitivity to extraneous variables. In the case of the cantilever-beam scale, the objective is to measure the weight of objects or alternatively, to measure forces in the vertical plane. As such, a good design will be much less sensitive to loads in other directions (axial, lateral, torsional, etc.). Also a good design will not be sensitive to strains induced by other means, such as thermal expansion.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439536&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Your TA will supervise in the following two demonstrations.&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5439543&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h4 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;6.1 Lateral Sensitivity&lt;/strong&gt;&lt;/h4&gt;&lt;div class=&quot;para&quot; id=&quot;id5439549&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Use the instrumented beam of square cross section provided by your TA.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439555&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1. Clamp the beam in a cantilever fashion so that it will measure vertically applied loads.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439561&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2. Using your hand, gently apply lateral and axial loads to the beam. Do your best to not apply vertical bending loads to the beam.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439571&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;3. Compare the sensitivity of the quarter bridge to that of either the half bridge or full bridge to these extraneous loads. Which configuration seems to work the best overall? Explain why this is so. Which extraneous loads are &quot;rejected&quot; by which configurations? Explain why. (Note: The steps of this paragraph are more easily said than done. The point is that the quarter bridge is more sensitive to off-axis loads than either the half bridge or full bridge. If you have difficulty demonstrating this, don&#39;t stress out.)&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5439603&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h4 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;6.2 Temperature Sensitivity&lt;/strong&gt;&lt;/h4&gt;&lt;div class=&quot;para&quot; id=&quot;id5439609&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Using a quarter bridge configuration, apply a load to the beam and measure the voltage output.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439616&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Apply heat uniformly to the beam (140 F max) near the gages and observe any changes in the voltage output. Do not apply heat to the gages directly! Why does the voltage (which corresponds to the measured strain) change? Repeat the procedure using a full-bridge configuration. Compare the sensitivity of the quarter bridge and full bridge configurations to temperature variations. How would you expect the half bridge to behave?&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5439649&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Part 7: Dynamic Characteristics&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id5439655&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Up to this part of the lab, you have examined the static characteristics of the strain-gage bridge. Now you will modify the VI that you developed for&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m13774/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;Temperature Measurement and First-Order Dynamic Response&lt;/a&gt;&amp;nbsp;to measure the dynamic characteristics of a signal from the strain-gage bridge. You will excite the dynamics of the cantilever beam by plucking it. You will use your VI to display the response of the vibrating beam.&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5439674&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h4 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;7.1 Differential Model&lt;/strong&gt;&lt;/h4&gt;&lt;div class=&quot;para&quot; id=&quot;id5439680&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The first mode of vibration of the cantilever beam can be modeled using a simple mass-spring-damper model. This model results in a second-order differential equation that describes the dynamics of the system. You will observe that the response of the strain –gages to an initial deflection is a damped sinusoid. This is the expected response for a second-order system. Using acquired data; you will compute and display values for the damping ratio and the natural frequency of the first vibrational mode of the beam.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5439704&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h4 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;7.2 Damping Ratio and Damped Natural Frequency&lt;/strong&gt;&lt;/h4&gt;&lt;div class=&quot;para&quot; id=&quot;id5439712&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Figure 5 shows the response of a second-order system to an initial condition. This response plot will be used to define the damping ratio and the natural frequency for this system. From the amplitudes x1and xn, the damping ratio can be calculated using the following expression:&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5439815&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5439820&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 13:&amp;nbsp;&lt;/strong&gt;equation (8)&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 13 (Graphic13.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic13.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5471548&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The damped natural frequency can be determined by measuring the period of the damped oscillations. An accurate measurement of the period T is obtained by considering several periods:&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5471583&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5471588&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 14:&amp;nbsp;&lt;/strong&gt;equation (9)&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 14 (Graphic14.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic14.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5471612&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5471618&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 15:&amp;nbsp;&lt;/strong&gt;equation (10)&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 15 (Graphic15.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic15.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5471643&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Once and are known, the natural frequency of oscillation can be calculated by&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5471696&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5471701&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 16:&amp;nbsp;&lt;/strong&gt;equation (11)&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 16 (Graphic16.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic16.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5471732&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 17:&amp;nbsp;&lt;/strong&gt;Second-order system Response&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 17 (Graphic17.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic17.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5471777&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h4 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;7.3 Programming Exercise&lt;/strong&gt;&lt;/h4&gt;&lt;div class=&quot;para&quot; id=&quot;id5471783&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;You will modify your VI to automate the calculation of and for the cantilever beam.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5471833&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1. Your TA will direct you to a subVI named “Damping Ratio” that is has been started for you.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5471846&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2. To place the subVI on your block diagram, open the functions palette and select Select a VI…&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5471855&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;3. Connect the Data wire from the DAQ Assistant to the Measured Data input of the Damping Ratio subVI.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5471875&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;4. Open the block diagram by double-clicking the subVI icon. (The block diagram is shown in Figure 18.)&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5471890&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;5. You will need to modify the block diagram for the VI to work. Refer to equations 8-11 as you design a block diagram that will calculate the Damping Ratio of your signal.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5471905&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 18:&amp;nbsp;&lt;/strong&gt;Damping Ratio SubVI Block Diagram&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 18 (Graphic18.png)&quot; src=&quot;http://cnx.org/content/m13779/latest/Graphic18.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5471949&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;6. You will notice that the necessary inputs for the subVI are placed along the left of the block diagram. The outputs are placed along the right of the block diagram. The Peak Detector VI is used to locate the peaks (or valleys) of the signal. The locations of the peaks are given as indexed data points. For example, if the first peak occurs in between the sixth and seventh data points, the location will be 6.5. The time at which this peak occurs can be calculated using the sample rate.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5471969&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;7. For more information about the Peak Detector or other VIs, press Ctrl+H to activate the context help window.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5471975&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;(Hint: you may want to use the index array function to pull values such as x1, xn, t1 and tn out of the amplitude and location arrays.)&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5472002&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;This exercise is meant to give you a feel for the possibilities for data acquisition, processing, and display using computer software tools. Be sure to save a copy of your data for plotting. You will need it for your writing assignment.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5472016&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Part 8: Design of a Force Transducer&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id5472023&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;For your course project, you will design a force transducer for measuring the thrust of a model rocket motor. This exercise is intended to help you initiate the design process. You may assume that the maximum thrust that will be sensed by your transducer is 5 lb.&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5472037&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h4 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Cantilever-Beam Force Transducer&lt;/strong&gt;&lt;/h4&gt;&lt;div class=&quot;para&quot; id=&quot;id5472043&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Assume that you will use a cantilever-beam configuration similar to what was used in this lab. A full strain-gage bridge will be used. The width of two gages side-by-side is 1/2 inch. A good design will result in 2000 microstrains under the maximum load and will have a natural frequency above 100 Hz. Meeting both of these objectives might not be possible with a cantilever-beam design. You are to determine the thickness of the cross section where the gages are to be mounted and the distance from where the motor is mounted to the center of the gages (i.e., the length of the cantilever).&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5472070&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h4 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Spreadsheet Analysis&lt;/strong&gt;&lt;/h4&gt;&lt;div class=&quot;para&quot; id=&quot;id5472076&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Develop a spreadsheet to perform your calculations. A spreadsheet will simplify the evaluation of different designs. This analysis will be a good starting point for the analysis of your project. Note: Your project will involve different loads and different dimensions than the transducer used in this lab. The calculations, however, are the same.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id5472098&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Lab Report&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id5472104&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;For this lab you will write the Results and Discussion of Results sections of a full report. As you perform the lab, think about what data should be saved or recorded for presentation and why these data are important. For some of your data, tabulation is sufficient (e.g., calculated strain vs. measured strain). Other data should be recorded using LabVIEW (e.g., dynamic response of strain when the beam is plucked). Make sure that you include your thoughts about the results you obtained and why they are important. Discuss their agreement with your expectations.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/3160614022711868220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-strain-gages-and-force.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/3160614022711868220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/3160614022711868220'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-strain-gages-and-force.html' title='labview Strain Gages and Force Measurement'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-630968859381537979</id><published>2010-09-25T07:58:00.001-07:00</published><updated>2010-09-25T07:58:08.376-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ECG Signal Analysis"/><title type='text'>labview Algorithms for ECG Signal Analysis</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;In order to accurately detect the heart rate in the ECG signal, filter banks analysis in Matlab is used on the filtered ECG signal. This algorithm can also be used to detect abnormalities in the ECG signal. LabVIEW is then used to notify the user of the results. This includes displaying the heart rate and alerting the user if an abnormality is detected.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;section&quot; id=&quot;id7725810&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;ECG Signal Analysis: Abnormality Detection&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id10458372&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The flowchart below breaks down the tasks needed to accomplish signal analysis in greater detail. Both LabVIEW and Matlab were used to accomplish these tasks.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id10976988&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1&lt;/strong&gt;&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Signal Analysis Flow Chart&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Signal Analysis Flow Chart (graphics1.png)&quot; height=&quot;255&quot; src=&quot;http://cnx.org/content/m18957/latest/graphics1.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;446&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id10759751&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Matlab Implementation of Filter Banks Analysis&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id10321269&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Many scenarios deal with signals which contain specific energy distributions in the frequency domain. For example, with regard to the ECG, a significant proportion of the energy from the QRS complex extends to a frequency of 40 Hz, and even more if the Q, R, and S waves have very sharp morphologies. The P and T waves, in general, have a significant proportion of their energy only up to 10 Hz. Thus, a strategic approach to detecting heartbeats is to analyze different sub-bands of the ECG, rather than just the output of one filter which maximizes SNR of the QRS.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id10750881&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;In this filter bank analysis technique we use 5 sub-bands, each one has bandwidth 5Hz. The ECG signal is processed by those 5 sub-band filters and downsampled. The downsampled signal is&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9539615&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 2 (graphics2.png)&quot; height=&quot;113&quot; src=&quot;http://cnx.org/content/m18957/latest/graphics2.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;246&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id10937822&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;A variety of features which are indicative of the QRS complex can be designed by combining sub-bands of interest from l = 0, 1, … , M-1. For example a sum-of-absolute values feature P1 can be computed using sub-bands 1, 2, and 3.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9535717&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 3 (graphics3.png)&quot; height=&quot;48&quot; src=&quot;http://cnx.org/content/m18957/latest/graphics3.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;101&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id8516369&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;P1 has a value which corresponds to the energy in the frequency band [5.6, 22.5] Hz. Similarly, P2 and P3 can be computed using sub-bands {1, 2, 3, 4}, and {2, 3, 4}, respectively, and these values are proportional to the energy in their respective sub-bands. Heuristic beat detection logic can be used to incorporate some of the above features which are indicative of the QRS complex.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id8624415&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Figure 4 gives an overview of the sequential levels in the beat detection algorithm. The goal of the detection algorithm is to maximize the number of true positives (TP’s), while keeping the number of false negatives (FN’s) and false positives (FP’s) to a minimum. Since it is not possible to arrive at this goal using one simple detector, multiple detectors with complementary FN’s and FP’s performances are simultaneously operated and the results of each fused together to arrive at an overall decision. The advantage of this strategy is that multiple features which are indicative of the QRS complex can be used to detect beats.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9249593&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 4&lt;/strong&gt;&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Beat Detection Algorithm Schematic&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Beat Detection Algorithm Schematic (graphics4.png)&quot; height=&quot;336&quot; src=&quot;http://cnx.org/content/m18957/latest/graphics4.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;599&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9302338&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;A one-channel beat detection block is described in Figure 5.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id10244833&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 5&lt;/strong&gt;&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Schematic of One-Channel Beat Detection Block&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Schematic of One-Channel Beat Detection Block (graphics5.png)&quot; height=&quot;200&quot; src=&quot;http://cnx.org/content/m18957/latest/graphics5.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;337&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id8579056&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The detection strength Ds of an incoming feature (e.g., P1, P2, P3) is determined by comparing with the signal and noise levels (SL and NL, respectively):&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id10975018&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 6&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 6 (graphics6.png)&quot; height=&quot;50&quot; src=&quot;http://cnx.org/content/m18957/latest/graphics6.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;102&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id10248860&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;If a feature’s value is less than NL then Ds is limited at 0, and if it is above SL then DS is limited to one. When a feature has a greater than a specified threshold (preset between zero and one) it is classified as a signal peak and the signal history is updated with the feature’s value. If the feature has a smaller than the threshold it is classified as a noise peak and the noise history is updated with the feature’s value.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id10432160&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The detail operations of each level can be found in the paper by V. Afonso et al (&lt;cite class=&quot;cite&quot; style=&quot;font-style: normal;&quot;&gt;&lt;span class=&quot;cite-title&quot;&gt;&lt;i&gt;ECG beat detection using filter banks, IEEE Trans. Biomed. Eng. 46: 1999&lt;/i&gt;&lt;/span&gt;&lt;/cite&gt;). Also, download and run&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m18957/latest/ECGmain.m&quot; style=&quot;color: #336699;&quot;&gt;ECGmain.m&lt;/a&gt;&amp;nbsp;to test out filter banks. Supplementary mfiles:&amp;nbsp;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m18957/latest/nqrsdetect.m&quot; style=&quot;color: #336699;&quot;&gt;nqrsdetect.m&lt;/a&gt;,&amp;nbsp;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m18957/latest/ECGSigProcFB.m&quot; style=&quot;color: #336699;&quot;&gt;ECGSigProc.m&lt;/a&gt;,&amp;nbsp;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m18957/latest/t.mat&quot; style=&quot;color: #336699;&quot;&gt;t.mat&lt;/a&gt;,&amp;nbsp;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m18957/latest/x.mat&quot; style=&quot;color: #336699;&quot;&gt;x.mat&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id10501835&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;LabVIEW Programming for Signal Processing and Interfacing&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id4367671&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;LabVIEW is used to not only process and acquire the signal, but to also develop an user friendly interface that automatically alerts the user to any abnormalities or arrhythmias detected. This particular ECG is developed to detect left ventricular hypertrophy and old myocardial infarction. It will also automatically display the heart rate and whether or not the patient’s heart rate is within a healthy range.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id4359488&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 7:&amp;nbsp;&lt;/strong&gt;This view of the the GUI shows a normal, healthy ECG signal. The indicator lights (6) will change color depending on the diagnosis. Additionally, the green trace turns red if any abnormality or arrhythmia is detected.&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;The Graphical User Interface&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;The Graphical User Interface (graphics7.png)&quot; height=&quot;290&quot; src=&quot;http://cnx.org/content/m18957/latest/graphics7.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;650&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id4713525&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The user interface consists of several useful features. First, there is a text input for the patient’s name to avoid confusion in the clinic. Second, the ECG chart is automatically updated with the name and live signal data. Third, the user can control the data acquisition periods. The heart rate and any abnormalities are displayed in the patient report. The warning lights to the left of the patient report correspond to the current condition of the patient’s ECG. If everything is normal, the green light is on and the signal is green. If an arrhythmia is detected, the yellow light turns on and a warning message will appear in the patient report that indicates the type. Similarly, the orange light turns on if an abnormality is detected and a warning message appears in the report. For either of these, the ECG trace turns red in the chart window. A red light indicates that no recognizable signal is being detected. This can mean that the patient has flat-lined, that the circuit board is not powered or that the leads are not connected properly. As a result, the warning message will ask the user to check the lead and power connections. Finally, the form can be reset between patients. You can download our VI&amp;nbsp;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m18957/latest/ECG_LIVE.vi&quot; style=&quot;color: #336699;&quot;&gt;here&lt;/a&gt;&amp;nbsp;to test it out.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/630968859381537979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-algorithms-for-ecg-signal.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/630968859381537979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/630968859381537979'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-algorithms-for-ecg-signal.html' title='labview Algorithms for ECG Signal Analysis'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-7029791009353069797</id><published>2010-09-25T07:56:00.001-07:00</published><updated>2010-09-25T07:56:46.576-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Multicore Programming"/><title type='text'>labview Multicore Programming</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;The creation of this content was supported in some part by NSF grant 0538934.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;para&quot; id=&quot;id1171322748458&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;If you have written parallel programs in G and have a multicore computer, CONGRATULATIONS!!! You have been successfully developing interactive parallel programs that execute in multicore PC processors.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1171336737011&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1:&amp;nbsp;&lt;/strong&gt;Interactive Multicore G Program&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1171336737011_media&quot;&gt;&lt;img alt=&quot;This screencap contain a diagram with two parallel graphs of sin waves and below these two graph is a CPU usage and CPU Usage History.&quot; height=&quot;281&quot; id=&quot;id1171336737011__onlineimage&quot; src=&quot;http://cnx.org/content/m34094/latest/Picture%20118.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;620&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1171315496996&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The following sections discuss some multicore programming techniques to improve the performance of G programs.&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id1171326194742&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Data Parallelism&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id1171336314356&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Matrix multiplication is a compute intensive operation that can leverage data parallelism.&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m34094/latest/#id1171305082611&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 2&lt;/span&gt;&lt;/a&gt;&amp;nbsp;shows a G program with 8 sequential frames to demonstrate the performance improvement via data parallelism.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1171305082611&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2:&amp;nbsp;&lt;/strong&gt;Data Parallelism&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1171305082611_media&quot;&gt;&lt;img alt=&quot;A complex diagram of a data parallelism.&quot; height=&quot;208&quot; id=&quot;id1171305082611__onlineimage&quot; src=&quot;http://cnx.org/content/m34094/latest/Picture%205.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;552&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1171326064235&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The&amp;nbsp;&lt;b class=&quot;emphasis&quot;&gt;Create Matrix&lt;/b&gt;&amp;nbsp;function generates a square matrix based of size indicated by&amp;nbsp;&lt;b class=&quot;emphasis&quot;&gt;Size&lt;/b&gt;&amp;nbsp;containing random numbers between 0 and 1. The&amp;nbsp;&lt;b class=&quot;emphasis&quot;&gt;Create Matrix&lt;/b&gt;&amp;nbsp;function is shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m34094/latest/#id1171331615131&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 3&lt;/span&gt;&lt;/a&gt;.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1171331615131&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3:&amp;nbsp;&lt;/strong&gt;Creating a Square Matrix&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1171331615131_media&quot;&gt;&lt;img alt=&quot;A diagram consisting of three box icons. From left to right you have a blue box labeled &#39;size&#39;. The next element is two rectangles one large one underneath a smaller one. In the rectangles on the left of both are blue squares containing a &#39;N&#39;and an &#39;i&#39;. Blue lines point from the first icon to these blue squares. An orange line points from these rectangles to the third icon labeled &#39;matrix&#39;.&quot; height=&quot;86&quot; id=&quot;id1171331615131__onlineimage&quot; src=&quot;http://cnx.org/content/m34094/latest/Picture%2052.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;231&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1171311824780&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The&amp;nbsp;&lt;b class=&quot;emphasis&quot;&gt;Split Matrix&lt;/b&gt;&amp;nbsp;function determines the number of rows in the matrix and shifts right the resulting number of rows by one (integer divide by 2). This value is used to split the input matrix into the top half and bottom half matrices. The&amp;nbsp;&lt;b class=&quot;emphasis&quot;&gt;Split Matrix&lt;/b&gt;&amp;nbsp;function is shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m34094/latest/#id1171306052680&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 4&lt;/span&gt;&lt;/a&gt;.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1171306052680&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 4:&amp;nbsp;&lt;/strong&gt;Split Matrix into Top &amp;amp; Bottom&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1171306052680_media&quot;&gt;&lt;img alt=&quot;A diagram of a split matrix into top and bottom. The diagram consist of an icon labeled matrix. Two orange lines split off from the icon and go around a center icon to connect to two rectangles which then leads to two parallel icons labeled top and bottom.&quot; height=&quot;114&quot; id=&quot;id1171306052680__onlineimage&quot; src=&quot;http://cnx.org/content/m34094/latest/Picture%2060.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;267&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;table&quot; id=&quot;id1171323079316&quot; style=&quot;margin-bottom: 1.5em; margin-left: 0px; margin-right: 0px; margin-top: 1.5em; text-align: center; width: 1058px;&quot;&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-bottom-color: rgb(102, 102, 102) !important; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-color: initial; border-left-color: rgb(102, 102, 102) !important; border-left-style: solid; border-left-width: 1px; border-right-color: rgb(102, 102, 102) !important; border-right-style: solid; border-right-width: 1px; border-top-color: rgb(102, 102, 102) !important; border-top-style: solid; border-top-width: 1px;&quot; summary=&quot;table of comparing frames to the operation that occurs in each frame&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;table-text&quot; style=&quot;line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;TABLE 1&lt;/span&gt;&lt;/caption&gt;&lt;thead valign=&quot;bottom&quot;&gt;
&lt;tr&gt;&lt;th style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Sequence Frame&lt;/th&gt;&lt;th style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Operation Description&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody valign=&quot;top&quot;&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;First Frame&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Generates two square matrices initialized with random numbers&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Second Frame&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Records start time for single core matrix multiply&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Third Frame&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Performs single core matrix multiply&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Fourth Frame&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Records stop time of single core matrix multiply&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Fifth Frame&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Splits the matrix into top and bottom matrices&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Sixth Frame&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Records start time for multicore matrix multiply&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Seventh Frame&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Performs multicore matrix multiply&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Eighth Frame&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Records stop time of multicore matrix multiply&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1171316424217&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The rest of the calculations determine the execution time in milliseconds of the single core and multicore matrix multiply operations and the performance improvement of using data parallelism in a multicore computer.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1171313713284&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The program was executed in a dual core 1.83 GHz laptop. The results are shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m34094/latest/#id1171326379994&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 5&lt;/span&gt;&lt;/a&gt;. By leveraging data parallelism, the same operation has nearly a&amp;nbsp;&lt;b class=&quot;emphasis&quot;&gt;2x&lt;/b&gt;&amp;nbsp;performance improvement. Similar performance benefits can be obtained with higher multicore processors&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1171326379994&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 5:&amp;nbsp;&lt;/strong&gt;Data Parallelism Performance Improvement&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1171326379994_media&quot;&gt;&lt;img alt=&quot;A diagram of Data Parallelism Performance Improvement. The diagram consists of four fields from left to right they are labeled: Matrix size with a value of 1000. Next a field &#39;AxB&#39; with a value of 1161. Below this field is another field called &#39;parallel AxB&#39; with a value of 598. The final field is labeled &#39;Performance Improvement&#39; with a value of 1.94147.&quot; height=&quot;115&quot; id=&quot;id1171326379994__onlineimage&quot; src=&quot;http://cnx.org/content/m34094/latest/Picture%20149.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;257&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id1171326206911&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Task Pipelining&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id1171301081278&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;A variety of applications require tasks to be programmed sequentially and continually iterate on these tasks. Most notably are telecommunications applications require simultaneous transmit and receive. In the following example, a simple telecommunications example illustrates how these sequential tasks can be pipelined to leverage multicore environments.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1171323350926&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Consider the following simple modulation - demodulation example where a noisy signal is modulated transmitted and demodulated. A typical diagram is shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m34094/latest/#id1171313333910&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 6&lt;/span&gt;&lt;/a&gt;.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1171313333910&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 6:&amp;nbsp;&lt;/strong&gt;Sequential Tasks&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1171313333910_media&quot;&gt;&lt;img alt=&quot;A diagram of sequential tasks. It consists of four icons in a row. The last icon is is surrounded in a orange box. Underneath this row is a stop button surrounded in great with a red button next to it. On the left corner there is an blue square containing an &#39;i&#39;.&quot; height=&quot;100&quot; id=&quot;id1171313333910__onlineimage&quot; src=&quot;http://cnx.org/content/m34094/latest/Picture%20151.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;200&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1171305287924&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Adding a&amp;nbsp;&lt;b class=&quot;emphasis&quot;&gt;shift register&lt;/b&gt;&amp;nbsp;to the loop allows tasks to be pipelined and be executed in parallel in separate cores should they be available. Task pipelining is shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m34094/latest/#id1171307361787&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 7&lt;/span&gt;&lt;/a&gt;.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1171307361787&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 7:&amp;nbsp;&lt;/strong&gt;Pipelined Tasks&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1171307361787_media&quot;&gt;&lt;img alt=&quot;A diagram of &#39;Pipelined Task&#39;. There are two paths of icons. The upper row of icons has two squares with a orange line connected them and then another orange line connects to the right side of the box. The bottom row begins with a orange line connected to the left side of the box and then extends to a gray box icon which is then connected via another orange line to graph icon that is in an orange box.&quot; height=&quot;107&quot; id=&quot;id1171307361787__onlineimage&quot; src=&quot;http://cnx.org/content/m34094/latest/Picture%20152.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;183&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1171299278398&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The program below times the sequential task and the pipelined tasks to establish its performance improvement when executed in multicore computers.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1171302539507&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 8:&amp;nbsp;&lt;/strong&gt;Task Pipelining Program Example&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1171302539507_media&quot;&gt;&lt;img alt=&quot;A diagram of a &#39;Task Pipelining Program Example&#39;. The diagram is formed on a sort of film frame. There are also two rows. The upper from left to right is a box icon connected via an orange line to a box  with an &#39;N&#39; with a &#39;1000&#39;in the upper left corner and an &#39;i&#39; in the lower left. In the middle of this box are two horizontally oriented box icons. An orange line continues to the right to another box with the same setup as the previous, except the box icons are oriented vertically. The orange line continues through the upper box and ends to the right. The second row is below the other and consists of three clock icons linked by blue lines and then on the far right side there are arrows all pointing to three icons labeled from top to bottom &#39;pipelined&#39;, &#39;improvement&#39;, and &#39;sequential&#39;.&quot; height=&quot;177&quot; id=&quot;id1171302539507__onlineimage&quot; src=&quot;http://cnx.org/content/m34094/latest/Picture%20150.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;557&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1171335129860&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m34094/latest/#id1171338458439&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 9&lt;/span&gt;&lt;/a&gt;&amp;nbsp;shows the results of running the above G program in a dual core 1.8 GHz laptop. Pipelining shows nearly&amp;nbsp;&lt;b class=&quot;emphasis&quot;&gt;2x&lt;/b&gt;&amp;nbsp;performance improvement.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1171338458439&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 9:&amp;nbsp;&lt;/strong&gt;Pipelining Performance Improvement&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1171338458439_media&quot;&gt;&lt;img alt=&quot;A diagram of Performance Improvement due to Pipelining. There are three fields in this diagram. From left to right the fields are &#39;Sequential&#39; with a value of 5953. Under that field is the another field labeled &#39;Pipelined&#39; with a value of 3156. To the right of these two fields is the third and final field labeled &#39;improvement&#39;with a value of 1.88625.&quot; height=&quot;101&quot; id=&quot;id1171338458439__onlineimage&quot; src=&quot;http://cnx.org/content/m34094/latest/Picture%20153.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;159&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id1171307489034&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Pipelining Using Feedback Nodes&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id1171300511452&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Feedback Nodes&lt;/b&gt;&amp;nbsp;provide a storage mechanism between loop iterations. They are programmatically identical to the&amp;nbsp;&lt;b class=&quot;emphasis&quot;&gt;Shift Registers&lt;/b&gt;.&amp;nbsp;&lt;b class=&quot;emphasis&quot;&gt;Feedback Nodes&lt;/b&gt;&amp;nbsp;consist of an&amp;nbsp;&lt;b class=&quot;emphasis&quot;&gt;Initializer Terminal&lt;/b&gt;&amp;nbsp;and the&amp;nbsp;&lt;b class=&quot;emphasis&quot;&gt;Feedback Node&lt;/b&gt;&amp;nbsp;itself (see&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m34094/latest/#id1171318125905&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 10&lt;/span&gt;&lt;/a&gt;).&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1171318125905&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 10:&amp;nbsp;&lt;/strong&gt;Feedback Node&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1171318125905_media&quot;&gt;&lt;img alt=&quot;A diagram of a feedback node. The diagram is arranged vertical with items top to bottom the phrase &#39;Feedback Node&#39; with a orange line connecting it to an icon of an arrow above and icon of a black dot. An orange line connects that to the phrase &#39;Initializer Terminal&#39;.&quot; height=&quot;81&quot; id=&quot;id1171318125905__onlineimage&quot; src=&quot;http://cnx.org/content/m34094/latest/Picture%20154.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;88&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1171304309785&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;To add a&amp;nbsp;&lt;b class=&quot;emphasis&quot;&gt;Feedback Node&lt;/b&gt;, right click on the Block Diagram window and select&amp;nbsp;&lt;b class=&quot;emphasis&quot;&gt;Feedback Node&lt;/b&gt;&amp;nbsp;from the&amp;nbsp;&lt;b class=&quot;emphasis&quot;&gt;Functions &amp;gt;&amp;gt; Programming &amp;gt;&amp;gt; Structures&lt;/b&gt;&amp;nbsp;pop-up menu. The direction of the&lt;b class=&quot;emphasis&quot;&gt;Feedback Node&lt;/b&gt;&amp;nbsp;can be changed by right clicking on the node and selecting&amp;nbsp;&lt;b class=&quot;emphasis&quot;&gt;Change Direction&lt;/b&gt;.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1171333212750&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1171301165390&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 11:&amp;nbsp;&lt;/strong&gt;Feedback Node Direction&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1171301165390_media&quot;&gt;&lt;img alt=&quot;A diagram of menu listing over an arrow icon.&quot; height=&quot;106&quot; id=&quot;id1171301165390__onlineimage&quot; src=&quot;http://cnx.org/content/m34094/latest/Picture%20155.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;194&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1171314283239&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The diagram shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m34094/latest/#id6542806&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 12&lt;/span&gt;&lt;/a&gt;&amp;nbsp;is programmatically identical to the diagram in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m34094/latest/#id1171307361787&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 7&lt;/span&gt;&lt;/a&gt;.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id6542806&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 12:&amp;nbsp;&lt;/strong&gt;Pipelining with Feedback Node&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id6542806_media&quot;&gt;&lt;img alt=&quot;A diagram of &#39;Pipelining with Feedback Node&#39;. The diagram is oriented horizontally, and from left to right the diagram consist of a box icon connected via an orange line to another box icon connected via a orange arrow to an arrow above a dot icon. The icon is also connected to the right via an orange line to a box icon which is connected to a graph icon. In the bottom left of the diagram is a blue square with an &#39;i&#39; in is and on the bottom right is a &#39;stop&#39; button icon.&quot; height=&quot;103&quot; id=&quot;id6542806__onlineimage&quot; src=&quot;http://cnx.org/content/m34094/latest/Picture%20156.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;244&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1171308804665&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Similarly, the diagram in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m34094/latest/#id1171319421790&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 13&lt;/span&gt;&lt;/a&gt;&amp;nbsp;is programmatically identical to that in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m34094/latest/#id1171302539507&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 8&lt;/span&gt;&lt;/a&gt;.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1171319421790&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 13:&amp;nbsp;&lt;/strong&gt;Pipelining Tasks with Feedback Nodes&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1171319421790_media&quot;&gt;&lt;img alt=&quot;A diagram of a &#39;Task Pipelining Program Example&#39;. The diagram is formed on a sort of film frame. There are also two rows. The upper from left to right is a box icon connected via an orange line to a box  with an &#39;N&#39; with a &#39;1000&#39;in the upper left corner and an &#39;i&#39; in the lower left. In the middle of this box are two horizontally oriented box icons. An orange line continues to the right to another box with the same setup as the previous, except between the two icons there is an orange arrow over a dot icon. The orange line continues through the boxes and icon and ends to the right. The second row is below the other and consists of three clock icons linked by blue lines and then on the far right side there are arrows all pointing to three icons labeled from top to bottom &#39;pipelined&#39;, &#39;improvement&#39;, and &#39;sequential&#39;.&quot; height=&quot;177&quot; id=&quot;id1171319421790__onlineimage&quot; src=&quot;http://cnx.org/content/m34094/latest/Picture%20157.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;604&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;GIVE FEEDBACK:&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/7029791009353069797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-multicore-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/7029791009353069797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/7029791009353069797'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-multicore-programming.html' title='labview Multicore Programming'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-6099641733979179823</id><published>2010-09-25T07:55:00.001-07:00</published><updated>2010-09-25T07:55:28.383-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sound Recorder"/><title type='text'>labview Sound Recorder</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;Various types of filters can be used to improve the quality of an audio signal. In the Sound Recorder Lab, experimenters use a Low Cost National Instruments USB Data Acquisition device to acquire sound data from a microphone element. LabVIEW software is then used to implement a band-pass filter that can act to clarify the audio signal. The Sound Recorder Lab is designed as a labratory or at-home experiment.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;section&quot; id=&quot;id21247291&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Sound Recorder Using National Instruments Low Cost Data Acquisition&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;section&quot; id=&quot;id24542450&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Introduction&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id24602428&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Any signal, including a sound wave, can be thought of as the sum of different frequency sine waves (where each frequency wave has a specific amplitude and phase angle). In addition to the frequencies we expect to see in a signal, some undesirable frequencies may also be present.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id22738450&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Filters allow us to select which frequencies we care about, and discard certain frequencies that are undesirable (such as noise). Various types of filters exist including low-pass, high-pass, band-pass, etc. There are also many different ways of constructing each filter type with each filter implementation having its own specific characteristics. More information on filters will be provided in the theory section.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id10630170&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;In this exercise, the experimenters will use a microphone element to convert a sound wave into an electrical signal. This signal will then be digitized using a Low Cost USB DAQ device. Finally, a LabVIEW application will be constructed to filter undesired frequencies from the signal and play the clarified signal back.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id24645920&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Pre-Lab Assignment&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id24561465&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1) In your own words, describe what an ideal band-pass filter transfer function would look like. You may research this by searching for “ideal band pass filter” in google, or using a textbook.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id21209021&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2) When filtering an audio signal, what frequencies must be preserved? Do some research to determine the frequency range produced by the human voice, and the audible range of the human ear.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id20258697&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;3) Elaborate on some possible sources of undesirable frequencies in a signal. Where does signal noise come from?&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id17695884&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;4) Become familiar with the National Instruments USB 6008 and 6009 data acquisition devices. These datasheets are available at&amp;nbsp;&lt;a class=&quot;link&quot; href=&quot;http://www.ni.com/&quot; style=&quot;color: #336699;&quot;&gt;www.ni.com&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id8170671&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Theory&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;section&quot; id=&quot;id24677261&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h4 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Electret Microphone Elements&lt;/strong&gt;&lt;/h4&gt;&lt;div class=&quot;para&quot; id=&quot;id23705617&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;One way to convert sound pressure waves into an electrical signal is using an electret microphone element. A picture of such an element is shown below:&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id24653422&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1:&amp;nbsp;&lt;/strong&gt;Electret Microphone Element&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 1 (Graphic1.png)&quot; src=&quot;http://cnx.org/content/m14023/latest/Graphic1.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id24614506&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Inside the electret microphone element, a dielectric material is made to hold a permanent charge. When the element vibrates, the internal capacitance changes and an electrical signal is produced. A variety of additional components complete the microphone element circuitry by adding a small amplifier to the output.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id21038784&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h4 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Band Pass Filters&lt;/strong&gt;&lt;/h4&gt;&lt;div class=&quot;para&quot; id=&quot;id23858089&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The Fourier Transform tells us that it is possible to think of any signal as being composed of various frequency sine waves (with each frequency having an associated amplitude and phase angle)&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id24644813&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Imagine that you have just used a microphone to convert a sound wave into an electrical signal. If the sound wave consisted only of a human voice, then only the frequencies that human vocal chords can produce should be present. Therefore, the overall signal should roughly be composed of frequencies between 80 Hz and 1.2 kHz.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id20304362&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Unfortunately, when playing back your audio signal, you may find that it does not sound very good! Perhaps the lights in your room added some 60 Hz electrical noise to the signal that shouldn’t have been there. Maybe the wind was blowing on your microphone, causing the signal acquired to be fuzzy-sounding. There are an enormous number of factors that could affect your sound signal.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id22131990&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Using a filter can help clarify the signal so that it sounds clear once again. Since you know that any frequencies outside of the 80 Hz – 1.2 kHz range are obviously noise, you can attempt to attenuate these frequencies as much as possible. Specifically, a band-pass filter can be used to accomplish this objective.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id24614554&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;An ideal band-pass filter will completely attenuate any signals outside of a desired range (known as the passband). In the real world, it is impossible to construct an ideal filter, but with a large enough circuit or complex digital filtering it is possible to obtain a fairly sharp cutoff.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id24653942&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Remember, all filtering is essentially “frequency selection”. By filtering a signal, we are attempting to “choose” which frequency components can pass through and which we want to discard.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id24653947&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Hardware and Software Required&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id24614585&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1. 10 Ohm resistor&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id11763617&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2. 4.7 uF capacitor&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id24653185&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;3. Electret microphone element&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id19382250&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;4. National Instruments Low Cost USB DAQ&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id19382254&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;5. LabVIEW 8.2 software (LabVIEW 8.0 will work as well)&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id24645737&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Laboratory Exercise&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id24653368&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;During this exercise, the experimenter will acquire a sound signal from an electret microphone element. This sound signal will then be run through an optional band-pass filter and played back using speakers.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id11000158&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;When completed, the completed sound recorder front panel will resemble the following:&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id20258659&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2:&amp;nbsp;&lt;/strong&gt;Completed Sound Recorder Front Panel in LabVIEW&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 2 (Graphic2.png)&quot; height=&quot;329&quot; src=&quot;http://cnx.org/content/m14023/latest/Graphic2.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id19105009&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1) Connect the following circuit to the Low Cost USB DAQ as shown. The microphone element can be purchased cheaply at Radio Shack, etc. Note that the +5V power supply can be obtained directly from the National Instruments USB 6008 or 6009 devices.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id17915087&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3:&amp;nbsp;&lt;/strong&gt;Electret Microphone Circuit&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 3 (Graphic3.png)&quot; src=&quot;http://cnx.org/content/m14023/latest/Graphic3.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id24622028&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2) Using an event structure in LabVIEW, replicate the following block diagram for the “playback” event. Note that the “Bandpass Filter” Boolean control allows the user to play back the filtered or original signal.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id24653448&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 4:&amp;nbsp;&lt;/strong&gt;Sound Recorder Block Diagram Showing Playback Event&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 4 (Graphic4.png)&quot; height=&quot;360&quot; src=&quot;http://cnx.org/content/m14023/latest/Graphic4.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id21106189&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;3) Using the DAQ Assistant Express VI, complete the block diagram for the “record” event as indicated below:&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id24653970&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 5:&amp;nbsp;&lt;/strong&gt;Sound Recorder Block Diagram Showing Record Event&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 5 (Graphic5.png)&quot; height=&quot;358&quot; src=&quot;http://cnx.org/content/m14023/latest/Graphic5.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id24645827&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;4) Experiment with the sound recorder VI by recording a simple voice message. Attempt to play back both the original and filtered signals. Modify the filter cut-off frequencies and see how narrow you can make the passband before the played back signal is difficult to decipher.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id24644829&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Post-Lab Questions&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id24749182&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;1) What sample rate did you use when recording your sound signal? Explain why you chose this rate and what issues could occur with too low or high of a sample rate.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id24749185&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;2) Could you have used any other filter types to clarify the sound signal? Would a low-pass, high-pass, or other filter have accomplished the same objective?&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id24653161&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;3) How can you tell if high frequency noise is present in your sound signal without playing it back? Before filtering the signal, how could you have determined what frequencies the signal contained?&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/6099641733979179823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-sound-recorder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/6099641733979179823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/6099641733979179823'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-sound-recorder.html' title='labview Sound Recorder'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-7820278427463181935</id><published>2010-09-25T07:53:00.001-07:00</published><updated>2010-09-25T07:53:28.602-07:00</updated><title type='text'>labview simulated microphone array</title><content type='html'>&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;section&quot; id=&quot;s20&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Labview VIs Used in Simulation&lt;/strong&gt;&lt;/h2&gt;&lt;h3 class=&quot;para-header&quot; style=&quot;font-size: 1em; margin-bottom: -0.5em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Top Level Diagram and Overall Organization&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;s21&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;The figure below is a top level diagram of a six microphone array simulation VI. This VI is named &quot;Multiple Frequency Simulation&quot; Starting at the left with the signal generation, the code flows to the right. This top VI is made out of smaller VIs that each perform a specific function. Detailed descriptions of each of these can be found in the following paragraphs.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;fig211&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;text-align: center;&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1:&amp;nbsp;&lt;/strong&gt;Top Level Diagram&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Top Level Diagram (Multiple Frequency Simulation)&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Top Level Diagram (Multiple Frequency Simulation) (top_level_VI.JPG)&quot; height=&quot;276&quot; src=&quot;http://cnx.org/content/m12565/latest/top_level_VI.JPG&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s22&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Simulated Signal Generation VI&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;figure&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;text-align: center;&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2:&amp;nbsp;&lt;/strong&gt;Simulate Signal Icon&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Simulate Signal Icon&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Simulate Signal Icon (untitled.JPG)&quot; src=&quot;http://cnx.org/content/m12565/latest/untitled.JPG&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;h2 class=&quot;para-header&quot; style=&quot;font-size: 1em; margin-bottom: -0.5em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Signal Generation VI&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;s222&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;The above icon corresponds to the Signal Generation VI. At the far left are four signal generation VIs. Each of these VIs produces six different signals that simulate the delayed signals that each of the microphones would hear in real life. These six signals are then bunched together in a cluster (pink wire) to keep the amount of wires down. The three inputs to this VI are the frequency of the sinusoid desired, the direction of the signal, and the distnace between microphones (9.9 cm in this example). The user sets these paramaters on the front panel and is free to change them at any time.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s223&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;Our VI uses the formula discussed in previous modules that relates the time delay of signals to the distance between microphones. Using the desired angle that the signal is coming from, the speed of sound (C), the distance between microphones, and a conversion between degrees and radians, the VI first computes the time delay between microphones. Becuase we are interested in the delay between the first microphone and all others, the amount of delay is multiplied by zero for the first mic, one for the second mic, two for the third, and so on. These delays are then used as phase inputs to the six identical Simulate Signal VIs. Adding phase to a periodic signal like the sinusoids being used here has the same effect as delaying the signal in time. Finally the six signals are merged together into a cluster so that they will be easier to deal with as a group in other VIs.&lt;/div&gt;&lt;div class=&quot;figure&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;text-align: center;&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3:&amp;nbsp;&lt;/strong&gt;Simulate Signal Block Diagram&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Simulate Signal Block Diagram&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Simulate Signal Block Diagram (simulate_signal.JPG)&quot; src=&quot;http://cnx.org/content/m12565/latest/simulate_signal.JPG&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;sasdfasdf1234&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;In this simulation we simulate four different frequencies and directions. Once we have the data of these four separate signals, we sum the signals on each of the channels to get the final output on each of the microphones. Doing so leaves us solely with what we would hear on the six microphones if this were set up in real life. If more signals are required for future testing or other applications, onc can simply copy and paste the signal generation VI and then sum it with the other signals.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s1233&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;Once this signal is comple, we move to the right in our VI. From here we branch into two separate areas. Following the pink line up takes us to where we calculate the angle that a given frequency is coming from,and to the right is where we perform the calculations to listen to signals from a given direction.&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;tsfc21&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Frequency and Spatial FFT Computation VIs&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;figure&quot; id=&quot;fig45&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;text-align: center;&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 4:&amp;nbsp;&lt;/strong&gt;1rst FFT Icon&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;1rst FFT Icon (Time - Frequency)&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;1rst FFT Icon (Time - Frequency) (first_FFT_icon.JPG)&quot; src=&quot;http://cnx.org/content/m12565/latest/first_FFT_icon.JPG&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;h3 class=&quot;para-header&quot; style=&quot;font-size: 1em; margin-bottom: -0.5em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;1rst FFT VI&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;sdf234&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;In order to listen to a certain direction we first need to transform our signals from the microphone in to the frequency domain. To do this we made the &quot;1rst FFT&quot; Vi (see icon above). This sub-VI is fairly simple so there is no need to show the block diagram. It takes the FFT of each of the six channels channels, transfroming the data from the time domain to the freqeuncy domain For simulation, we looked at 1 second samples at 4000hz. This VI then takes the FFTs of the six 4000 element long signals from the simulated microphones.&lt;/div&gt;&lt;div class=&quot;figure&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;text-align: center;&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 5:&amp;nbsp;&lt;/strong&gt;Six Point FFT Icon(Frequency - Spatial)&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Six Point FFT Icon (Frequency - Spatial)&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Six Point FFT Icon (Frequency  - Spatial) (sixptffticon.JPG)&quot; src=&quot;http://cnx.org/content/m12565/latest/sixptffticon.JPG&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;h3 class=&quot;para-header&quot; style=&quot;font-size: 1em; margin-bottom: -0.5em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Six Point FFT VI&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;s234&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;Moving to the right after the first FFT, we find the &quot;6 pt FFT&quot; VI. This VI is used to transform our frequency domain data into the spatial domain. This VI needs to run for every frequency of interest, so in the top level diagram this VI is found inside of a for loop. The user can control what range of frequencies are of interest on the front panel of the main VI, and the loop will run for those frequencies.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s235&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;Inside this VI, the complex frequency coefficient for the given frequency is extracted from the array for each microphone channel. These six values are then concantonated into a lengh six array. Next, the array is zeropadded to a user specified length (we used 256 in our simulation) so more resolution can be observed in the resulting spatial transform. Finally, the FFT is performed on these values transforming them into the spatial domain. With the data in the spatial domain we are easily able to figure out the magnitude of any frequency from any direction in our 180 degrees of interest. How to do this can be found in the magnitude VI.&lt;/div&gt;&lt;div class=&quot;figure&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;text-align: center;&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 6:&amp;nbsp;&lt;/strong&gt;Six Point FFT block Diagram (Frequency - Spatial)&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Six Point FFT block Diagram (Frequency - Spatial)&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Six Point FFT block Diagram (Frequency - Spatial) (sixptfft2.GIF)&quot; src=&quot;http://cnx.org/content/m12565/latest/sixptfft2.GIF&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;guh435&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Coefficient, Angle, and Magnitude Calculation VIs&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;figure&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;text-align: center;&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 7:&amp;nbsp;&lt;/strong&gt;Coefficient Calculator&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Coefficient Calculator&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Coefficient Calculator (coefficient_calculator_icon.JPG)&quot; height=&quot;195&quot; src=&quot;http://cnx.org/content/m12565/latest/coefficient_calculator_icon.JPG&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;200&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;h3 class=&quot;para-header&quot; style=&quot;font-size: 1em; margin-bottom: -0.5em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Coefficient Calculator&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;guh2343&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;Now that the signals have been transformed to their spatial representations, the correct coefficients to construct the signal of interest must be computed. To do this we created the Coefficient Calculator VI.. This VI takes in the angle of interest, a frequency, the number of microphones, a constant factor (determined by the setup of the microphones and the amount of zero padding...in this example it is -93), and our original sampling frequency to compute the correct coefficient to look at for the given angle. Once this coefficient is found, we extract the value at that coefficient and append it to our ouptut array as the value at that given frequency. Below is the block diagram for this VI. It consists of a basic formula node and some logic on the front and back to make sure that the calculations are correct when working with angles from negative directions.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;guh234&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;Because this formula is dependent on the frequnecy of interest, we are required to run this VI for every frequency we are intereseted in. In order to do this, we put this VI inside a for loop that is controlled by our frequency range. Any coefficient for frequencies outside of this range are simply given a value of zero. The array modules ouside of this for loop are used to do just that. They append arrays with value zero on the front and back of the output of the for loop to return our vector to its original size. From here, we run this vector through a few multiplies to amplify the differnce between the coefficients with high and low magnitudes, and finally we inverse FFT it to get our output array. This array represents a signal in the time domain and is graphed on the front panel along with a graph of its frequency components. We also included a small VI that will play the output waveform on computer speakers. This VI uses a matlab script and requires the user to have matlab 6.5 or earlier.&lt;/div&gt;&lt;div class=&quot;figure&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 8:&amp;nbsp;&lt;/strong&gt;Magnitude Graph of Coefficients After Spatial FFT&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Magnitude Graph of Coefficients After Spatial FFT&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Magnitude Graph of Coefficients After Spatial FFT (coefficient_calculator.JPG)&quot; src=&quot;http://cnx.org/content/m12565/latest/coefficient_calculator.JPG&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 9:&amp;nbsp;&lt;/strong&gt;Magnitude Calculation VI&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Magniutde Calculation VI&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Magniutde Calculation VI (magnitudeicon.JPG)&quot; src=&quot;http://cnx.org/content/m12565/latest/magnitudeicon.JPG&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;h3 class=&quot;para-header&quot; style=&quot;font-size: 1em; margin-bottom: -0.5em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Magnitude Calculation&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;coeff12&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;If we go back to the branch in the pink wire immediatly after the signal generation VIs and move upwards instead of to the right, we come across the code that is used to calculate the angle at which the largest magnitude signal of a given frequency is approaching the array. Another &quot;6 pt fft&quot; VI is used, but this one is slightly modified. It also includes the initial FFTs of all 6 channels. We grouped these two VIs together because ony one spacial FFT is being computed (that at the frequeny of interest).&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;parparp3224&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;The resulting vector of the previous six point FFT is immediately used as the input to the Magnitude Calculation VI. The vecor of spatial coefficients from the &quot;six pt FFT&quot; vis are complex, so this VI is used to calculate the magnitudes of the coefficients so the maximum coefficient can be found. The output of this VI is also used to create a visual representation of what direction the specified frequency is coming from. Below is a graph of the magnitude of the coefficients of the spatial FFT. As discussed before, we see the peak correspoinding to the incoming direction and the smaller ripples to each side.&lt;/div&gt;&lt;div class=&quot;figure&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;text-align: center;&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 10:&amp;nbsp;&lt;/strong&gt;Magniutde of Coefficients after Spatial FFT&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Magnitude Graph of Coefficients After Spatial FFT&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Magnitude Graph of Coefficients After Spatial FFT (graphafterspatialfft.JPG)&quot; src=&quot;http://cnx.org/content/m12565/latest/graphafterspatialfft.JPG&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;example&quot; id=&quot;ex23423&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 1.2em; margin-left: 3em; margin-right: 3em; margin-top: 1.2em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;&lt;h3 class=&quot;example-header&quot; style=&quot;font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;EXAMPLE 1:&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Magnitude Graph Example&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;e23432234&quot; style=&quot;display: block; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.5em;&quot;&gt;As we can see in the previous figure, the magnitude of the spatial FFT is greatest around coefficient 82. There are also smaller ripples that die off around each end. This graph tells us that the the direction that the given frequency is coming from corresponds to the angle represneted by coefficient 82. To figure out what angle this was, we would use our Coefficient to Angle VI.&lt;/div&gt;&lt;/div&gt;&lt;h3 class=&quot;para-header&quot; style=&quot;font-size: 1em; margin-bottom: -0.5em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Calculation of Angle&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;o2342&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;Finally, we isolate the index of the maximum angle and use it to compute the angle of incidence. Using the same formula used in the Coefficient Angle Calculator, the Coefficient to Angle VI deduces the angle of incidence. This VI uses the same formula found in the Coefficient Angle Calculator, but is arranged differently so that we can find the angle based on the coefficient instead of the coefficient based on the angle. Once the VI computes this value, the result is output on the front panel.&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;l12312312&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Links to Labview Code&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;list&quot; id=&quot;fsdfsdf234&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m12565/latest/Multiple_Frequency_Simulation.vi&quot; style=&quot;color: #336699;&quot;&gt;Multiple FrequencySimulation (Top Level VI)&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m12565/latest/Coefficient_Calculator.vi&quot; style=&quot;color: #336699;&quot;&gt;Coefficient Calculator&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m12565/latest/Incident_Angle_Calculator.vi&quot; style=&quot;color: #336699;&quot;&gt;Incident Angle Calculator&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m12565/latest/play_array_anything.vi&quot; style=&quot;color: #336699;&quot;&gt;Play Array&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m12565/latest/Six_Point_FFT_with_first_fft.vi&quot; style=&quot;color: #336699;&quot;&gt;Six Point FFT (with first fft)&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m12565/latest/Six_Point_FFT_without_first_fft.vi&quot; style=&quot;color: #336699;&quot;&gt;Six Point FFT (without first fft)&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m12565/latest/Magnitude_Calculation.vi&quot; style=&quot;color: #336699;&quot;&gt;Magnitude Calculation&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m12565/latest/First_FFT.vi&quot; style=&quot;color: #336699;&quot;&gt;First FFT&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m12565/latest/Simulated_Input.vi&quot; style=&quot;color: #336699;&quot;&gt;Simulate Signal&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;ccr2342344234234234&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Code Remarks&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;s234223&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;Overall, the code involved in this method of array signal processing can be broken up into smaller parts that are easy to understand. By combining these smaller parts we are able to create an upper level VI that performs a complicated task that would be difficult to get working using other methods. The major problem with this VI is that it requires a large number of calculations. To increase performance (without upgrading computers) one could decrease the frequency range of interest, or they could lower the amount of zeropadding. They could aslo look at a smaller time period.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/7820278427463181935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-simulated-microphone-array.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/7820278427463181935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/7820278427463181935'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-simulated-microphone-array.html' title='labview simulated microphone array'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-7196413383188695198</id><published>2010-09-25T07:50:00.001-07:00</published><updated>2010-09-25T07:50:24.242-07:00</updated><title type='text'>labview Speaker-Air-Microphone (SAM) Channel Characterization</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;A speaker and microphone connected to a computer serve as an excellent communications channel because the transmitted information is audible. Listening to the channel while making parameter adjustments and viewing plots builds additional insight into the specific modulation scheme under study. This project describes how to characterize a &quot;speaker-air-microphone&quot; (SAM) channel for use in subsequent projects that use bandpass modulation techniques.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;table&quot; id=&quot;labview_banner&quot; style=&quot;margin-bottom: 1.5em; margin-left: 0px; margin-right: 0px; margin-top: 1.5em; text-align: center; width: 1058px;&quot;&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-bottom-color: rgb(102, 102, 102) !important; border-bottom-style: solid; border-bottom-width: 0px !important; border-collapse: collapse; border-color: initial; border-left-color: rgb(102, 102, 102) !important; border-left-style: solid; border-left-width: 0px !important; border-right-color: rgb(102, 102, 102) !important; border-right-style: solid; border-right-width: 0px !important; border-top-color: rgb(102, 102, 102) !important; border-top-style: solid; border-top-width: 0px !important;&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;table-text&quot; style=&quot;line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;TABLE 1&lt;/span&gt;&lt;/caption&gt;&lt;colgroup&gt;&lt;col width=&quot;1*&quot;&gt;&lt;/col&gt;&lt;col style=&quot;width: 6in;&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign=&quot;top&quot;&gt;
&lt;tr&gt;&lt;td rowspan=&quot;4&quot; style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;LabVIEWtop.png&quot; src=&quot;http://cnx.org/content/m18666/latest/LabVIEWtop.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;This module refers to LabVIEW, a software development environment that features a graphical programming language. Please see the&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m15428/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;LabVIEW QuickStart Guide&lt;/a&gt;&amp;nbsp;module for tutorials and documentation that will help you:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;• Apply LabVIEW to Communications / Signal Processing&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;• Get started with LabVIEW&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;• Obtain a fully-functional evaluation edition of LabVIEW&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h2 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;Visit&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m17319/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;LabVIEW Setup&lt;/a&gt;&amp;nbsp;to learn how to adjust your own LabVIEW environment to match the settings used by the LabVIEW screencast video(s) in this module. Click the &quot;Fullscreen&quot; button at the lower right corner of the video player if the video does not fit properly within your browser window.&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec1&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Summary&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par2&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;A speaker and microphone connected to a computer serve as an excellent communications channel because the transmitted information is audible. Listening to the channel while making parameter adjustments and viewing plots builds additional insight into the specific modulation scheme under study.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par3&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The passband limits and bandwidth of the&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;SAM channel&lt;/dfn&gt;&amp;nbsp;(Speaker-to-Air-to-Microphone) must be characterized to effectively choose modulation parameters such as carrier frequency, bit rate, and signal pulse shape. This project describes how to characterize a SAM channel for use in subsequent projects that use bandpass modulation techniques.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec4&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Objectives&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;list&quot; id=&quot;list5&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Measure the passband limits and bandwidth of a speaker-air-microphone (SAM) channel&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Learn how to use LabVIEW Express subVIs for audio and power spectrum measurement&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec6&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Deliverables&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;list&quot; id=&quot;list7&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Summary write-up of your results&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Hardcopy of all LabVIEW code that you develop (block diagrams and front panels)&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Any plots or diagrams requested&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;You can easily export LabVIEW front-panel waveform plots directly to your report. Right-click on the waveform indicator and choose &quot;Export Simplified Image.&quot;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec8&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Setup&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;list&quot; id=&quot;list9&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;LabVIEW 8.5 or later version&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Computer soundcard&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Speaker&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Microphone&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec10&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Textbook Linkages&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par11&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Refer to the following textbooks for additional background on the project activities of this module; see the &quot;References&quot; section below for publication details:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list12&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Carlson, Crilly, and Rutledge -- Ch 9&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Couch -- Ch 6&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Haykin -- Ch 1&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Haykin and Moher -- Ch 8&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Lathi -- Ch 3&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Proakis and Salehi (FCS) -- Ch 5&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Proakis and Salehi (CSE) -- Ch 4&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Stern and Mahmoud -- Ch 2&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec13&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Prerequisite Modules&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par14&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;If you are relatively new to LabVIEW, consider taking the course&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/col10440/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;LabVIEW Techniques for Audio Signal Processing&lt;/a&gt;&amp;nbsp;which provides the foundation you need to complete this project activity, including: block diagram editing techniques, essential programming structures, subVIs, arrays, and audio.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec15&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Introduction&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par16&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18666/latest/#fig-SAM-channel-diagram&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 1&lt;/span&gt;&lt;/a&gt;&amp;nbsp;illustrates the speaker-to-air-to-microphone (SAM) channel.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;fig-SAM-channel-diagram&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1:&amp;nbsp;&lt;/strong&gt;Speaker-air-microphone channel&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 1 (samch_characterize-SAM-channel-diagram.png)&quot; src=&quot;http://cnx.org/content/m18666/latest/samch_characterize-SAM-channel-diagram.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par18&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The magnitude frequency response of the SAM channel can be easily measured by applying white noise to the speaker, recording the result, and calculating the power spectrum of the of the recorded signal. White noise contains equal contribution from all frequencies; therefore, any deviation from a flat power spectrum at the channel output must be the response of the channel.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par19&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The computer sound card forms part of the channel, as well. Sound card microphone inputs are often AC-coupled and do not pass DC. Microphone inputs are sometimes intentionally lowpass filtered to reduce high-frequency hiss, and all soundcard inputs include lowpass filters to serve as anti-aliasing filters.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par20&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Most modern sound cards are&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;full duplex&lt;/dfn&gt;, meaning that they can simultaneously generate and record sound -- a necessary feature for this project. Older&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;half duplex&lt;/dfn&gt;&amp;nbsp;sound cards can still be used but require two computers, one to transmit the sound and another to receive the sound.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec21&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Procedure&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;section&quot; id=&quot;sec22&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;White noise source&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;par23&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Create a white noise sound source to serve as the SAM channel excitation:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list24&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Use the &quot;Express | Output | Play Waveform&quot; Express VI to generate audio for the speaker.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Use the &quot;Express | Signal Analysis | Simulate Signal&quot; Express VI to generate uniform white noise in the range -1 to +1.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Set the Express VI parameters to generate a signal with 44.1 kHz sampling frequency and duration of 10 seconds.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par25&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Refer to the video of&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18666/latest/#video-white-noise-source&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 2&lt;/span&gt;&lt;/a&gt;&amp;nbsp;for LabVIEW coding techniques for the white noise source.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;video-white-noise-source&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2:&amp;nbsp;&lt;/strong&gt;[video] LabVIEW coding techniques for white noise source&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;a href=&quot;http://cnx.org/content/m18666/latest/samch_characterize-white-noise-source.htm&quot; style=&quot;color: #336699;&quot;&gt;&lt;img alt=&quot;Figure 2 (samch_characterize-white-noise-source.htm)&quot; src=&quot;http://cnx.org/content/m18666/latest/samch_characterize-white-noise-source.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec27&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Recording device&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;par28&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Create a device to record the microphone signal:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list29&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Use the &quot;Express | Input | Acquire Sound&quot; Express VI configured for the same sampling frequency as the white noise source (44.1 kHz) and a 0.1 second duration.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Monitor the recorded signal as a time-domain plot.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Use the &quot;Express | Signal Manipulation | Extract Portion of Signal&quot; Express VI to discard a user-specified number of samples at the beginning of the waveform to account for transient startup.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par30&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Refer to the video of&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18666/latest/#video-recording-device&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 3&lt;/span&gt;&lt;/a&gt;&amp;nbsp;for LabVIEW coding techniques for the recording device.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;video-recording-device&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3:&amp;nbsp;&lt;/strong&gt;[video] LabVIEW coding techniques for recording device&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;a href=&quot;http://cnx.org/content/m18666/latest/samch_characterize-recording-device.htm&quot; style=&quot;color: #336699;&quot;&gt;&lt;img alt=&quot;Figure 3 (samch_characterize-recording-device.htm)&quot; src=&quot;http://cnx.org/content/m18666/latest/samch_characterize-recording-device.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec32&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Power spectrum display&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;par33&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Create a graphical indicator to display the power spectrum of the recorded microphone signal:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list34&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Use the &quot;Express | Signal Analysis | Spectral Measurements&quot; Express VI configured for power spectrum measurement.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Create a &quot;Waveform Graph&quot; indicator to display the power spectrum. Calibrate the Y-axis in decibels and the X-axis in hertz. Use logarithmic mapping for the frequency axis.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Enclose the power spectrum measurement and recording-related subVIs in a for-loop structure (N=80). This arrangement takes 80 short recordings, calculates the power spectrum for each, and averages them together to improve the estimated frequency response of the channel. The value of N is chosen to allow the recording/measurement process to complete before the white noise source stops.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h4 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;The white noise source and recording/measurement sections of the overall VI must be kept separate from each other to allow them to operate in parallel.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par35&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Refer to the video of&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18666/latest/#video-power-spectrum&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 4&lt;/span&gt;&lt;/a&gt;&amp;nbsp;for LabVIEW coding techniques for the power spectrum display.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;video-power-spectrum&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 4:&amp;nbsp;&lt;/strong&gt;[video] LabVIEW coding techniques for power spectrum display&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;a href=&quot;http://cnx.org/content/m18666/latest/samch_characterize-power-spectrum.htm&quot; style=&quot;color: #336699;&quot;&gt;&lt;img alt=&quot;Figure 4 (samch_characterize-power-spectrum.htm)&quot; src=&quot;http://cnx.org/content/m18666/latest/samch_characterize-power-spectrum.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec37&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;SAM channel physical setup&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;par38&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Set up the hardware for the SAM channel. Place the microphone within a few inches of the speaker. Adjust the soundcard setup and volume controls to generate and record sound to satisfy two goals:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list39&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Signal applied to sound card lies within the range ±1 with no clipping (saturation)&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Signal recorded from sound card fills as much as possible the range ±1 without clipping&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par40&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The video of&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18666/latest/#video-winXP-audio-setup&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 5&lt;/span&gt;&lt;/a&gt;&amp;nbsp;for LabVIEW coding techniques for the power spectrum display.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;video-winXP-audio-setup&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 5:&amp;nbsp;&lt;/strong&gt;[video] Adjust the audio settings in Windows XP&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;a href=&quot;http://cnx.org/content/m18666/latest/samch_characterize-winXP-audio-setup.htm&quot; style=&quot;color: #336699;&quot;&gt;&lt;img alt=&quot;Figure 5 (samch_characterize-winXP-audio-setup.htm)&quot; src=&quot;http://cnx.org/content/m18666/latest/samch_characterize-winXP-audio-setup.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec42&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;SAM channel measurements&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;par43&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Apply the white noise source to the SAM channel and record its response for 5 to 10 seconds. Also record the&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;noise floor&lt;/dfn&gt;&amp;nbsp;of the channel; use the identical speaker/microphone arrangement but do not generate any sound (set the &quot;Noise Amplitude&quot; parameter of the noise source to zero).&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par44&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Subtract the noise floor measurement from the white noise measurement. The result should be approximately zero dB outside the passband region of the SAM channel.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par45&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Make hardcopy of your two measurements on the SAM channel as well as the measurement with the noise floor subtracted (right-click on the &quot;Waveform Graph&quot; indicator and choose &quot;Export Simplified Image&quot;). Annotate the plots with hand-written labels to identify the lower passband limit, the upper passband limit, and the overall bandwidth of the channel.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par46&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;State your numerical criterion for choosing the passband limits.&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;Half-power frequency&lt;/dfn&gt;, the frequency at which the response drops by 3 dB, is a standard method.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec47&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Optional: To Go Further&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par48&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Your instructor may ask you to complete one or more of the following activities:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list49&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;If supported by your sound card, change the soundcard recording device to &quot;Stereo Mix&quot; and repeat the two measurements above. This soundcard loopback test helps you distinguish which parts of the frequency response to attribute to the soundcard itself as opposed to the speaker/microphone combination.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Repeat the SAM channel measurement for other combinations of speakers and microphones&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Enhance the overall VI to record the white noise source on a first run of the VI and the noise floor on the next run of the VI. Subtract the noise floor from the white noise recording and display the result.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par50&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The video of&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18666/latest/#video-subtract-noisefloor&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 6&lt;/span&gt;&lt;/a&gt;&amp;nbsp;shows how to retain a measurement from one run of the VI to the next.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;video-subtract-noisefloor&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 6:&amp;nbsp;&lt;/strong&gt;[video] Retain a measurement from one run of a VI to the next&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;a href=&quot;http://cnx.org/content/m18666/latest/samch_characterize-subtract-noisefloor.htm&quot; style=&quot;color: #336699;&quot;&gt;&lt;img alt=&quot;Figure 6 (samch_characterize-subtract-noisefloor.htm)&quot; src=&quot;http://cnx.org/content/m18666/latest/samch_characterize-subtract-noisefloor.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec52&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;References&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;list&quot; id=&quot;list53&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Carlson, A. Bruce, Paul B. Crilly, and Janet C. Rutledge, &quot;Communication Systems,&quot; 4th ed., McGraw-Hill, 2002. ISBN-13: 978-0-07-011127-1&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Couch, Leon W. II, &quot;Digital and Analog Communication Systems,&quot; 7th ed., Pearson Prentice Hall, 2007. ISBN-10: 0-13-142492-0&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Haykin, Simon. &quot;Communication Systems,&quot; 4th ed., Wiley, 2001. ISBN-10: 0-471-17869-1&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Haykin, Simon, and Michael Moher, &quot;Introduction to Analog and Digital Communication Systems,&quot; 2nd ed., Wiley, 2007. ISBN-13: 978-0-471-43222-7&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Lathi, Bhagwandas P., &quot;Modern Digital and Analog Communication Systems,&quot; 3rd ed., Oxford University Press, 1998. ISBN-10: 0-19-511009-9&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Proakis, John G., and Masoud Salehi, &quot;Fundamentals of Communication Systems,&quot; Pearson Prentice Hall, 2005. ISBN-10: 0-13-147135-X&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Proakis, John G., and Masoud Salehi, &quot;Communication Systems Engineering,&quot; 2nd ed., Pearson Prentice Hall, 2002. ISBN-10: 0-13-061793-8&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Stern, Harold P.E., and Samy A. Mahmoud, &quot;Communication Systems,&quot; Pearson Prentice Hall, 2004. ISBN-10: 0-13-040268-0&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/7196413383188695198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-speaker-air-microphone-sam.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/7196413383188695198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/7196413383188695198'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-speaker-air-microphone-sam.html' title='labview Speaker-Air-Microphone (SAM) Channel Characterization'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-8150135440585885791</id><published>2010-09-25T07:49:00.001-07:00</published><updated>2010-09-25T07:49:34.494-07:00</updated><title type='text'>labview Caller ID Decoder</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;The telephone company&#39;s &quot;Caller ID&quot; service provides the calling party&#39;s directory information as well as the time and date of the call as an FSK (frequency shift keying) signal between the first and second rings of a telephone call. In this project, develop a complete Caller ID decoder that analyzes an audio recording of the FSK signal to extract the directory and date information for display.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;table&quot; id=&quot;labview_banner&quot; style=&quot;margin-bottom: 1.5em; margin-left: 0px; margin-right: 0px; margin-top: 1.5em; text-align: center; width: 1058px;&quot;&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-bottom-color: rgb(102, 102, 102) !important; border-bottom-style: solid; border-bottom-width: 0px !important; border-collapse: collapse; border-color: initial; border-left-color: rgb(102, 102, 102) !important; border-left-style: solid; border-left-width: 0px !important; border-right-color: rgb(102, 102, 102) !important; border-right-style: solid; border-right-width: 0px !important; border-top-color: rgb(102, 102, 102) !important; border-top-style: solid; border-top-width: 0px !important;&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;table-text&quot; style=&quot;line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;TABLE 1&lt;/span&gt;&lt;/caption&gt;&lt;colgroup&gt;&lt;col width=&quot;1*&quot;&gt;&lt;/col&gt;&lt;col style=&quot;width: 6in;&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign=&quot;top&quot;&gt;
&lt;tr&gt;&lt;td rowspan=&quot;4&quot; style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;LabVIEWtop.png&quot; src=&quot;http://cnx.org/content/m18708/latest/LabVIEWtop.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;This module refers to LabVIEW, a software development environment that features a graphical programming language. Please see the&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m15428/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;LabVIEW QuickStart Guide&lt;/a&gt;&amp;nbsp;module for tutorials and documentation that will help you:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;• Apply LabVIEW to Audio Signal Processing&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;• Get started with LabVIEW&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;• Obtain a fully-functional evaluation edition of LabVIEW&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h2 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;Visit&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m17319/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;LabVIEW Setup&lt;/a&gt;&amp;nbsp;to learn how to adjust your own LabVIEW environment to match the settings used by the LabVIEW screencast video(s) in this module. Click the &quot;Fullscreen&quot; button at the lower right corner of the video player if the video does not fit properly within your browser window.&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec1&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Summary&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par2&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The telephone company&#39;s &quot;Caller ID&quot; service provides the calling party&#39;s directory information as well as the time and date of the call as an FSK (frequency shift keying) signal between the first and second rings of a telephone call. In this project, develop a complete Caller ID decoder that analyzes an audio recording of the FSK signal to extract the directory and date information for display.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec3&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Objectives&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;list&quot; id=&quot;list4&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Describe the Caller ID standard at the signal level&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Express a set of Caller ID information as a series of message bytes&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Decode by hand a Caller ID data block bitstream&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Implement a complete Caller ID decoder application in LabVIEW&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec5&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Deliverables&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;list&quot; id=&quot;list6&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Summary write-up of your results&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Hardcopy of all LabVIEW code that you develop (block diagrams and front panels)&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Any plots or diagrams requested&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;You can easily export LabVIEW front-panel waveform plots directly to your report. Right-click on the waveform indicator and choose &quot;Export Simplified Image.&quot;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec7&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Setup&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;list&quot; id=&quot;list8&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;LabVIEW 8.5 or later version&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Modulation Toolkit 4.0 or later version&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Computer soundcard&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Speaker&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec9&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Textbook Linkages&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par10&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Refer to the following textbooks for additional background on the project activities of this module; see the &quot;References&quot; section below for publication details:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list11&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Carlson, Crilly, and Rutledge -- Ch 14&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Couch -- Ch 5&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Haykin and Moher -- Ch 7&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Lathi -- Ch 13&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Proakis and Salehi (FCS) -- Ch 10&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Stern and Mahmoud -- Ch 5&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Wheeler -- Ch 14 (an excellent reference, provides much detail about Caller ID)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec12&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Prerequisite Modules&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par13&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;If you are relatively new to LabVIEW, consider taking the course&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/col10440/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;LabVIEW Techniques for Audio Signal Processing&lt;/a&gt;&amp;nbsp;which provides the foundation you need to complete this project activity, including: block diagram editing techniques, essential programming structures, subVIs, arrays, and audio.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec14&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Introduction&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par15&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;You are no doubt familiar with&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;Caller ID&lt;/dfn&gt;, the telephone company service that provides the name and phone number of your incoming caller. The Caller ID service transmits the calling party&#39;s&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;directory information&lt;/dfn&gt;&amp;nbsp;(name and telephone number) as well as the date and time of the call between the first and second ring as a&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;binary FSK&lt;/dfn&gt;&amp;nbsp;(&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;frequency shift keying&lt;/dfn&gt;) signal. Click&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m18708/latest/CallerID_audio_example.mp3&quot; style=&quot;color: #336699;&quot;&gt;CallerID_audio_example.mp3&lt;/a&gt;&amp;nbsp;to listen to a typical Caller ID FSK signal embedded between the first and second ringer pulses.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par16&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;After successfully completing this project, your LabVIEW application will be able to read audio recordings such as&amp;nbsp;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m18708/latest/CallerID_audio_example.mp3&quot; style=&quot;color: #336699;&quot;&gt;CallerID_audio_example.mp3&lt;/a&gt;&amp;nbsp;and then extract the Caller ID message for display.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par17&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18708/latest/#figure-systemdiagram&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 1&lt;/span&gt;&lt;/a&gt;&amp;nbsp;illustrates the Caller ID decoder system to be constructed in this project.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;figure-systemdiagram&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1:&amp;nbsp;&lt;/strong&gt;Caller ID decoder system to be constructed in this project&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 1 (bpm_cid-systemdiagram.png)&quot; height=&quot;516&quot; src=&quot;http://cnx.org/content/m18708/latest/bpm_cid-systemdiagram.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par19&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The process begins with a call placed by the calling party. The telephone company&#39;s&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;subscriber line interface card&lt;/dfn&gt;&amp;nbsp;(&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;SLIC&lt;/dfn&gt;) in the telephone company&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;central office&lt;/dfn&gt;&amp;nbsp;(&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;CO&lt;/dfn&gt;) signals the&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;customer premises equipment&lt;/dfn&gt;&amp;nbsp;(&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;CPE&lt;/dfn&gt;) -- telephone, modem, CallerID unit, etc. -- with a&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;ringing pulse&lt;/dfn&gt;&amp;nbsp;(90 VRMS, 20 Hz, 2 seconds on, 4 seconds off). The CO repeats the ringing pulse as long as the CPE is&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;on hook&lt;/dfn&gt;, that is, the phone has not been answered. Answering the phone call places the CPE in the&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;off hook&lt;/dfn&gt;&amp;nbsp;state, and the CO connects the calling party to the CPE. The terms &quot;on hook&quot; and &quot;off hook&quot; refer to the position of the ear piece or handset in early telephone equipment. The SLIC detects the CPE hook state by the amount of DC current in the customer loop: zero current means on-hook, and non-zero current (about 10 to 20mA) indicates off-hook. The Caller ID FSK signal is transmitted between the first and second ringing pulses provided the CPE is on-hook. For this reason, the interface circuit indicated in Figure 1 must be AC-coupled to the SLIC to prevent drawing DC current.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec20&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;FSK Signal&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par21&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Caller ID uses the Bell 202 modem standard:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list22&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Binary FSK (two-level frequency shift keying)&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Symbol rate: 1,200 symbols/second&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Bit rate: 1 bit per symbol&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Logic 0 (&quot;space&quot;): 2,200 Hz&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Logic 1 (&quot;mark&quot;): 1,300 Hz&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec23&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Caller ID Message Format&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par24&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The complete Caller ID message is less than eight tenths of a second in duration. Listen to&amp;nbsp;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m18708/latest/reduced_tempo_FSK.wav&quot; style=&quot;color: #336699;&quot;&gt;reduced_tempo_FSK.wav&lt;/a&gt;, a reduced tempo version of just the FSK signal; the signal is stretched out in time by a factor of 4, but the original frequencies are preserved.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par25&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Hopefully you could discern three distinct regions of the signal:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list26&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Alternating 1&#39;s and 0&#39;s for 250 ms -- this&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;channel seizure&lt;/dfn&gt;&amp;nbsp;region &quot;wakes up&quot; the demodulator and gives the symbol synchronization subsystem enough time to generate pulses synchronized to the FSK signal&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Constant 1&#39;s for 150 ms -- this&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;steady mark&lt;/dfn&gt;&amp;nbsp;region separates the channel seizure region from the datablock; the relatively long interval of constant &quot;mark&quot; level ensures that the first &quot;space&quot; symbol of the data block can be easily detected&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Message bits for approximately 350 ms (the total time varies depending on the caller information) -- this&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;data block&lt;/dfn&gt;&amp;nbsp;region contains the Caller ID information&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par27&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The message consists of a sequence of 10-bit&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;frames&lt;/dfn&gt;. A&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;start bit&lt;/dfn&gt;&amp;nbsp;of value 0 begins the frame, 8 bits of information follow, and the frame concludes with a&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;stop bit&lt;/dfn&gt;&amp;nbsp;of value 1. The 8 information bits begin with the&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;LSB&lt;/dfn&gt;&amp;nbsp;(least significant bit) and end with the&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;MSB&lt;/dfn&gt;&amp;nbsp;(most significant bit). The information bits form one byte.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par28&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The data block message bytes are organized as follows:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list29&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Message type, 1 byte -- 0x80 (i.e., hexadecimal 80) for Multiple Data Message Format (MDMF), or 0x04 for Single Data Message Format (SDMF). Number-only Caller ID service uses SDMF, and number-plus-name service uses MDMF. Number-plus-name service is much more common today, and is used in this project.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Length of complete message, 1 byte -- This length value&amp;nbsp;&lt;em class=&quot;emphasis&quot; style=&quot;font-style: normal; font-weight: bold;&quot;&gt;excludes&lt;/em&gt;&amp;nbsp;the single-byte checksum at the end of the data block&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Data type, 1 byte -- 0x01 = date and time, 0x02 = phone number, 0x04 = number not present, 0x07 = name, and 0x08 = name not present&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Length of data, 1 byte&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Data bytes, variable number according to length&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Repeat Items 3, 4, and 5 as needed to complete the Caller ID message&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Checksum, 1 byte -- Add this to the modulo-256 sum of all the previous bytes in the message, including the message type and message length; a zero result indicates no errors detected&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec30&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;FSK Demodulator&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par31&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The phase-lock loop (PLL) can easily discern the change in frequencies of an FSK signal. The LabVIEW Modulation Toolkit provides a PLL component that serves as an FSK demodulator for this project. Refer to the theory-of-operation screencast video in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18638/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;cid_Demodulator.vi&lt;/a&gt;&amp;nbsp;learn how to use this PLL.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec32&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Timing Recovery&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par33&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The Caller ID message symbol rate is 1,200 symbols per second. The baseband output of the FSK demodulator must be compared to a threshold and sampled at the symbol rate to recover the serial bit stream. The timing recovery system ensures that the thresholded demodulator output is sampled near the midpoint of the symbol. In this project a &quot;local oscillator&quot; produces a squarewave at a nominal frequency of 1,200 Hz. The local oscillator phase is synchronized to the thresholded FSK demodulator output. That is, the local oscillator phase is reset each time a transition is detected on the FSK demodulator output.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec34&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Procedure&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;section&quot; id=&quot;sec35&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Download required project files&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;par36&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Download the required project files contained in&amp;nbsp;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m18708/latest/CID_Decoder_Project_Files.zip&quot; style=&quot;color: #336699;&quot;&gt;CID_Decoder_Project_Files.zip&lt;/a&gt;; unpack the files to the same folder in which you plan to build your LabVIEW subVIs and top-level application VIs.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par37&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The .zip archive contains the following files:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list38&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;cid_ParseMessage.vi&lt;/code&gt;&amp;nbsp;-- Accepts a text string containing the Caller ID data block bytes, and parses the string to extract the Caller ID data fields, i.e., date, time, number, and name; also returns information about the data block itself, namely, message type (SDMF or MDMF), message length, checksum value, and result of checksum calculation. All of the values are returned in a single cluster.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;cid_Display.ctl&lt;/code&gt;&amp;nbsp;-- Custom front-panel control to display Caller ID data block information contained in the cluster generated by&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;cid_ParseMessage.vi&lt;/code&gt;. Follow these steps to place the control on the front panel: Display the front panel, right-click and choose &quot;Select a Control...&quot;, and then choose&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;cid_Display.ctl&lt;/code&gt;.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;CallerID-N.wav&lt;/code&gt;&amp;nbsp;-- Two audio recordings of Caller ID signal embedded between the first and second ringer pulses. The recordings include three ringer pulses, are approximately 17 seconds in duration, and are sampled at 44.1 kHz.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;CallerID-N_19.2kHz.wav&lt;/code&gt;&amp;nbsp;-- The same audio recordings downsampled to 19.2 kHz to produce 16 samples per symbol, the default value for many of the LabVIEW Modulation Toolkit subVIs. Either audio file can be used for this project, although the downsampled versions shorten run times of the Caller ID decoder application.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;cid_Recorder.vi&lt;/code&gt;&amp;nbsp;-- LabVIEW VI to monitor the soundcard input for ringer activity; when detected, record for a fixed time interval and save to a .wav file. Useful to collect several Caller ID signals automatically. Requires a suitable interface circuit between the telephone wall jack and the computer sound card.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec39&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Study the Caller ID signal audio recordings&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;par40&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Open the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;CallerID-1.wav&lt;/code&gt;&amp;nbsp;audio recording in&amp;nbsp;&lt;a class=&quot;link&quot; href=&quot;http://audacity.sourceforge.net/&quot; style=&quot;color: #336699;&quot;&gt;Audacity&lt;/a&gt;&amp;nbsp;or an equivalent sound editor to view and listen to the signal. Use the zoom features to study the fine detail of the FSK signal, especially at the transitions between frequencies.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par41&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Repeat for the other .wav audio files included in the download distribution.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par42&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Are you able to discern any obvious differences among the various audio recordings?&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec43&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;SubVI construction&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;par44&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Possible approaches to analyze the signal generated by the telephone central office include: (1) process each sample as it arrives and generate the decoded message &quot;on the fly,&quot; or (2) record the entire signal and then make repeated passes over the recording as needed to extract the message. Real-time implementation requires the former approach, while the latter &quot;off-line&quot; approach is easier to implement as a sequence of subVI calls, and is therefore the method of choice for this project.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par45&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Build the subVIs listed below. You may already have some of these available from previous projects.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par46&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Demonstrate that each of these subVIs works properly before continuing to the next part. The order in which you build the subVIs does not matter, however, the order presented roughly corresponds to the general processing flow that begins with the audio recording and ends with a collection of bytes.&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list47&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18532/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;util_GetAudio.vi&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18638/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;cid_Demodulator.vi&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18593/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;regen_Sampler.vi&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18606/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;util_EdgeDetector.vi&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18612/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;regen_BitClock.vi&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18432/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;cid_DetectStartBit.vi&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18629/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;util_BitstreamToText.vi&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec48&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Isolate and demodulate the FSK signal&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;par49&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Build a top-level VI that isolates and demodulates the FSK portion of the complete Caller ID audio signal.&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18532/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;util_GetAudio&lt;/a&gt;&amp;nbsp;to load the .wav audio file, and then pass this signal to&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18638/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;cid_Demodulator.vi&lt;/a&gt;. Connect front-panel controls to the four parameter inputs of&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18638/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;cid_Demodulator.vi&lt;/a&gt;. Create a mixed-signal waveform chart to display the four signals associated with&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18638/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;cid_Demodulator.vi&lt;/a&gt;, namely:&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;FSK signal&lt;/code&gt;&amp;nbsp;(the original audio signal applied to the demodulator input),&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;baseband signal&lt;/code&gt;&amp;nbsp;(the demodulated output),&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;phase error magnitude&lt;/code&gt;, and&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;PLL locked&lt;/code&gt;.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par50&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18708/latest/#video-mixedsignalgraph&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 2&lt;/span&gt;&lt;/a&gt;&amp;nbsp;screencast video describes how to set up a LabVIEW &quot;Mixed Signal Graph&quot; to plot the waveform data type and Boolean 1-D array on a common timescale, much like an oscilloscope display with multiple analog and digital signals.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;video-mixedsignalgraph&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2:&amp;nbsp;&lt;/strong&gt;[video] Set up a &quot;Mixed Signal Graph&quot; to display both &quot;analog&quot; and &quot;digital&quot; signals on a common timescale&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;a href=&quot;http://cnx.org/content/m18708/latest/bpm_cid-mixedsignalgraph.htm&quot; style=&quot;color: #336699;&quot;&gt;&lt;img alt=&quot;Figure 2 (bpm_cid-mixedsignalgraph.htm)&quot; src=&quot;http://cnx.org/content/m18708/latest/bpm_cid-mixedsignalgraph.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par52&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Set the demodulator VCO carrier frequency to the average value of the mark and space frequencies of the FSK signal.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par53&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Experiment with the remaining demodulator parameters&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;VCO gain&lt;/code&gt;&amp;nbsp;(start with values in the range 0.05 to 0.20),&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;phase error LPF cutoff frequency&lt;/code&gt;, and&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;comparator threshold for PLL lock&lt;/code&gt;&amp;nbsp;to satisfy the following goals:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list54&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Baseband signal in FSK region &quot;looks good&quot;, i.e., reasonably quick rise time without high-frequency ringing or other non-ideal artifacts&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;PLL locked&lt;/code&gt;&amp;nbsp;is active (&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;T&lt;/code&gt;) only during the FSK signal and is inactive during silence and ringer pulses.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par55&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Report your four demodulator parameter values and plot the mixed signal graph that demonstrates the ability of your system to identify the time region over which the FSK signal is active.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec56&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Sample the baseband signal&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;par57&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Use&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18593/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;regen_Sampler.vi&lt;/a&gt;&amp;nbsp;to extract the FSK signal region from the baseband signal produced by&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18638/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;cid_Demodulator.vi&lt;/a&gt;. Note that&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18593/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;regen_Sampler.vi&lt;/a&gt;&amp;nbsp;is used like a &quot;gating&quot; circuit here: the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;PLL locked&lt;/code&gt;&amp;nbsp;signal is active over the entire time that the FSK signal is detected, therefore&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18593/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;regen_Sampler.vi&lt;/a&gt;&amp;nbsp;picks out every value from the original audio recording over which&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;PLL locked&lt;/code&gt;&amp;nbsp;is active.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par58&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Add the bit sync system to your VI using a zero-crossing comparator,&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18606/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;util_EdgeDetector.vi&lt;/a&gt;&amp;nbsp;(two instances),&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18612/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;regen_BitClock.vi&lt;/a&gt;&amp;nbsp;set to 1,200 Hz, and another instance of&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18593/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;regen_Sampler.vi&lt;/a&gt;. Use the zero-crossing comparator to convert the FSK signal to a Boolean 1-D array. This signal is&amp;nbsp;&lt;em class=&quot;emphasis&quot; style=&quot;font-style: normal; font-weight: bold;&quot;&gt;not&lt;/em&gt;&amp;nbsp;a bitstream yet, but rather serves to identify the beginning of bit intervals. Use one edge detector to produce indicator pulses for each zero crossing of the baseband signal (both rising edges and falling edges). These indicator pulses serve as the synchronization for the bit clock oscillator, which produces a square wave synchronized to the baseband signal. The square wave transitions low-to-high at the beginning of the symbol interval and transitions high-to-low at the midpoint of the signal interval. Use an edge detector to produce indicator pulses at the midpoint of the symbol interval which control when the sampler should take samples from the isolated FSK signal.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par59&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Create another mixed signal waveform graph to display the isolated FSK signal, the thresholded version of this signal, the indicator pulses that synchronize the bit clock, the bit clock output, and &quot;actual sampling instants&quot; produced by the sampler.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par60&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Study your results to ensure that the demodulated baseband signal is sampled properly.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par61&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18708/latest/#video-tabbed&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 3&lt;/span&gt;&lt;/a&gt;&amp;nbsp;screencast video shows how you can conserve front-panel real estate by placing two waveform graphs inside a tabbed control.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;video-tabbed&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3:&amp;nbsp;&lt;/strong&gt;[video] Conserve front-panel real estate with a tabbed control&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;a href=&quot;http://cnx.org/content/m18708/latest/bpm_cid-tabbed.htm&quot; style=&quot;color: #336699;&quot;&gt;&lt;img alt=&quot;Figure 3 (bpm_cid-tabbed.htm)&quot; src=&quot;http://cnx.org/content/m18708/latest/bpm_cid-tabbed.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec63&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Decode the message bitstream&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;par64&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Use a zero-crossing comparator (specifically of the &quot;less than zero&quot; type) to convert the sampled baseband signal to a bitstream. Process this bitstream with&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18432/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;cid_DetectStartBit.vi&lt;/a&gt;&amp;nbsp;to extract only the data block portion of the bitstream.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par65&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Use&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18629/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;util_BitstreamToText.vi&lt;/a&gt;&amp;nbsp;to convert the bitstream to a sequence of 8-bit values (&quot;string&quot; data type), and then use&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;cid_ParseMessage&lt;/code&gt;&amp;nbsp;to convert the text string into an information cluster to be displayed with the custom front-panel control&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;CID Display&lt;/code&gt;.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par66&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Include front panel indicators for the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;framing error&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;text out&lt;/code&gt;&amp;nbsp;outputs from&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18629/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;util_BitstreamToText.vi&lt;/a&gt;. The string indicator can be easily switched from ASCII display to hexadecimal display, as needed: right-click on the front panel indicator and choose either &quot;Normal Display&quot; or &quot;Hex Display.&quot;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par67&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The framing error indicator should be dark for the entire data block region; some &quot;left over&quot; bits are likely after the data block ends due to the delay until the FSK demodulator&#39;s&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;PLL locked&lt;/code&gt;&amp;nbsp;output returns to&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;F&lt;/code&gt;, and the resulting framing errors may be safely ignored.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec68&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Evaluate the completed system&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;par69&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Choose one of the Caller ID signal recordings, and run your VI to decode the FSK signal. When all goes well, the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;CID Display&lt;/code&gt;&amp;nbsp;indicator will show &quot;OK&quot; for both the parsing process and the checksum calculation.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par70&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Confirm that the data block values are correctly extracted by manually decoding the hex values in the text string front panel indicator. More specifically, copy the hex values to a piece of paper, and work through the interpretation of each byte. For example, the first byte of the data block is 0x80, which indicates the Caller ID message is of the MDMF (Multiple Data Message Format) type. The next byte is an 8-bit unsigned integer that indicates message length; convert the hexadecimal value to decimal and report this value. Continue in this way to demonstrate that you understand the significance of each byte in the data block.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par71&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Try your Caller ID decoder on other signal recordings. Report the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;CID Display&lt;/code&gt;&amp;nbsp;indicator values for each audio signal recording.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec72&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;References&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;list&quot; id=&quot;list73&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Carlson, A. Bruce, Paul B. Crilly, and Janet C. Rutledge, &quot;Communication Systems,&quot; 4th ed., McGraw-Hill, 2002. ISBN-13: 978-0-07-011127-1&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Couch, Leon W. II, &quot;Digital and Analog Communication Systems,&quot; 7th ed., Pearson Prentice Hall, 2007. ISBN-10: 0-13-142492-0&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Haykin, Simon, and Michael Moher, &quot;Introduction to Analog and Digital Communication Systems,&quot; 2nd ed., Wiley, 2007. ISBN-13: 978-0-471-43222-7&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Lathi, Bhagwandas P., &quot;Modern Digital and Analog Communication Systems,&quot; 3rd ed., Oxford University Press, 1998. ISBN-10: 0-19-511009-9&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Proakis, John G., and Masoud Salehi, &quot;Fundamentals of Communication Systems,&quot; Pearson Prentice Hall, 2005. ISBN-10: 0-13-147135-X&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Stern, Harold P.E., and Samy A. Mahmoud, &quot;Communication Systems,&quot; Pearson Prentice Hall, 2004. ISBN-10: 0-13-040268-0&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Wheeler, Tom, &quot;Electronic Communications for Technicians,&quot; 2nd ed., Pearson Prentice Hall, 2006. ISBN-10: 0-13-113049-8&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/8150135440585885791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-caller-id-decoder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/8150135440585885791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/8150135440585885791'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-caller-id-decoder.html' title='labview Caller ID Decoder'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-9030341849822688514</id><published>2010-09-25T07:48:00.001-07:00</published><updated>2010-09-25T07:48:26.998-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LabVIEW 3D Control Simulatio"/><title type='text'>LabVIEW 3D Control Simulation using SolidWorks 3D Models</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;Importing a SolidWorks VRML into LabVIEW gives engineers and students the ability to integrate the power of SolidWorks 3D computer aided design with LabVIEW simulation. It is extremely useful for test and simulation applications that require complex visualization of a 3D model. To combine 3D visualization with simulation, you can use a combination of LabVIEW, the Simulation Module and the 3D Picture Control Toolkit.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;section&quot; id=&quot;sect1&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;3D Control Simulation in LabVIEW&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;element-683&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The LabVIEW development environment is an ideal platform for prototyping, designing, and deploying control alogithms. As part of the prototyping step, 3D simulation can be used to assist in visualizing both the behavior of the plant and the effects of the control algorithm on the control plant. In this demonstration, the LabVIEW Simulation Module and LabVIEW 3D Picture Control Toolkit are used to simulate the behavior and control of a&amp;nbsp;&lt;a class=&quot;link&quot; href=&quot;http://www.quanser.com/&quot; style=&quot;color: #336699;&quot;&gt;Quanser Linear Inverted Pendulum&lt;/a&gt;.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;element-230&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Download the source code for the&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12977/latest/LIP_Demo.zip&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;Linear Inverted Pendulum 3D Simulation&lt;/a&gt;&amp;nbsp;here. This VI was created in LabVIEW 8.2 using the&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://zone.ni.com/devzone/cda/tut/p/id/4411&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;3D Picture Control Toolit add-on which is not a supported feature.&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;eip-984&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;em class=&quot;emphasis&quot; style=&quot;font-style: normal; font-weight: bold;&quot;&gt;NEW: An updated version of this 3D demo, using the new supported 3D Picture Control, now ships with the Control Design and Simulation Module and can be found using the Example Finder within LabVIEW.&lt;/em&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;element-493&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1:&amp;nbsp;&lt;/strong&gt;Matrix A,B,C, and D define the controller for the simulation. The Acceration of Gravity and Pendulum Length in centimeters can be cutomized by editing the plant model. The Array of inital states allow the angle, angular velocity, and linear velocity variables to be defined before the simulation is executed. The gains K1, K2, and K3 respresent the gain for the controller.&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;LabVIEW LIP Simulation Front Panel&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id14481959&quot;&gt;&lt;img alt=&quot;LabVIEW LIP Simulation Front Panel (LinearInvPendulum.gif)&quot; src=&quot;http://cnx.org/content/m12977/latest/LinearInvPendulum.gif&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;element-728&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2:&amp;nbsp;&lt;/strong&gt;This simulation utilizes the LabVIEW Simulation Module with the RK1 continuous time solver. The controller is containined inside the &#39;Insert Control Code Here&#39; box allowing students to design their own unique controller while the plant model and 3D simulaiton model are preserved.&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;LabVIEW LIP Simulation Block Diagram&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id14481997&quot;&gt;&lt;img alt=&quot;LabVIEW LIP Simulation Block Diagram (LIP-bd.jpg)&quot; height=&quot;339&quot; src=&quot;http://cnx.org/content/m12977/latest/LIP-bd.jpg&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;element-454&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;When downloading this VI, you must have a minimum of LabVIEW 8.0.1 with the LabVIEW Simulation Module installed, as well as the free 3D Picture Control Toolkit. This 3D simualtion is one of many developed for educational purposes. Other demonstrations include the 3D helicopter, auto suspension, and 3D rotational inverted pendulum.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sect2&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Creating Your Own 3D Simulations&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;element-29238&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;To create LabVIEW simulations using SolidWorks VRML97 export file format, you will need to create a program that contains three VI’s. The top level VI contains the simulation loop and the state-space matrices information; the first subVI draws and updates the picture in accordance with the simulation parameters; the third and lowest level VI imports and parses the VRML97 file to create objects names and parent/child relationships for each object in your system.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;element-609&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;For the lowest level VI, you can load WRL files into LabVIEW using the 3D picture control toolkit VI called Read WRL file.vi, which reads a WRL file and creates the data necessary to render the scene into a picture control. It is located in the Objects Functions Palette. You can add objects to the system using the Insert Into Array.vi. The first step needed in the VRML parser subVI is an indexed for loop with an unbundle.vi followed directly by a bundle.vi and you need to manually name each component of the system for reference. After this is completed, use the Find Object.vi to create object refnums for each object and connect those to a case structure with an identical unbundled/bundle feature to assign parent/child relationships (this allows for the pendulum to move when the base moves and not the other way around).&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;element-97&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;After you have successfully parsed the VRML97 file, the drawObject subVI can take your object array. Once again use the Find Object.vi to create references for each object you would like move with the movement VI’s such as Translate Object To.vi and Rotate Object To.vi. The drawObject.vi creates the camera and its controller as well as the light source. It also performs the scene rendering and scene drawing.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;element-65&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The top level VI is responsible for the simulation parameters and equations that describe the system. The simulation dynamics can be altered on the fly using the CD Create State-Space Model.vi located in the Control Design Toolkit. This VI allows the user to enter variable formulae into the state-space matrices and then alter the system very quickly by changing the variable values. Combined with the 3D picture control toolkit, you can witness the visual effects of the variable values on the system immediately.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;element-976&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;This roughly outlined method describes the basic functions needed to perform a LabVIEW simulation with 3D visualization provided by SolidWorks VRML97 export. The VRML parsing is only necessary because at the time of this writing, SolidWorks software does not provide object names and parent/child relationships with VRML97 export.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/9030341849822688514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-3d-control-simulation-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/9030341849822688514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/9030341849822688514'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/labview-3d-control-simulation-using.html' title='LabVIEW 3D Control Simulation using SolidWorks 3D Models'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-4775516197061560916</id><published>2010-09-25T07:47:00.001-07:00</published><updated>2010-09-25T07:47:12.017-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Temperature Running Average VI"/><title type='text'>Temperature Running Average VI</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;span&quot;&gt;Use shift registers to perform a running average.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;span&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;span&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div id=&quot;cnx_main&quot; style=&quot;line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;exercise&quot; id=&quot;e1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;h2 class=&quot;exercise-header&quot; style=&quot;font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;EXERCISE 1&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;problem&quot; style=&quot;margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.5em;&quot;&gt;&lt;div class=&quot;para&quot; id=&quot;para1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Complete the following steps to modify the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Temperature Monitor&lt;/code&gt;&amp;nbsp;VI to average the last three temperature measurements and display the average on a&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;waveform chart&lt;/code&gt;.&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;section1&quot; style=&quot;margin-bottom: 2.5em; margin-left: 3em; margin-right: 0px; margin-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1em; font-weight: normal; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;1.A)&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Front Panel&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;list&quot; id=&quot;list1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Open the&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12234/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;Temperature Monitor&lt;/a&gt;&amp;nbsp;VI.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;File&amp;gt;&amp;gt;Save As&lt;/code&gt;&amp;nbsp;and rename the VI&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Temperature Running Average.vi&lt;/code&gt;&amp;nbsp;in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;C:\Exercises\LabVIEW Basics I&lt;/code&gt;&amp;nbsp;directory.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;section2&quot; style=&quot;margin-bottom: 2.5em; margin-left: 3em; margin-right: 0px; margin-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1em; font-weight: normal; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;1.B)&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Block Diagram&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;list&quot; id=&quot;list2&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Display the block diagram.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Right-click the right or left border of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;While Loop&lt;/code&gt;&amp;nbsp;and select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Add Shift Register&lt;/code&gt;&amp;nbsp;from the shortcut menu to create a&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Right-click the left terminal of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;&amp;nbsp;and select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Add Element&lt;/code&gt;&amp;nbsp;from the shortcut menu to add an element to the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Modify the block diagram as in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12235/latest/#f1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 1&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;div class=&quot;figure&quot; id=&quot;f1&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 1 (temprunavgbd.png)&quot; src=&quot;http://cnx.org/content/m12235/latest/temprunavgbd.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list3&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;tempicon.png&quot; src=&quot;http://cnx.org/content/m12235/latest/tempicon.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Press the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;&amp;lt;Ctrl&amp;gt;&lt;/code&gt;&amp;nbsp;key while you click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Thermometer&lt;/code&gt;&amp;nbsp;VI and drag it outside the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;While Loop&lt;/code&gt;&amp;nbsp;to create a copy of the subVI. The&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Thermometer&lt;/code&gt;&amp;nbsp;VI returns one temperature measurement from the temperature sensor and initializes the left&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift registers&lt;/code&gt;&amp;nbsp;before the loop starts.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;compariticon.png&quot; src=&quot;http://cnx.org/content/m12235/latest/compariticon.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Compound Arithmetic&lt;/code&gt;&amp;nbsp;function, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;Arithmetic &amp;amp; Comparison&amp;gt;&amp;gt;Express Numeric&lt;/code&gt;&amp;nbsp;palette, on the block diagram. This function returns the sum of the current temperature and the two previous temperature readings. Use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Positioning&lt;/code&gt;&amp;nbsp;tool to resize the function to have three left terminals.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;divicon.png&quot; src=&quot;http://cnx.org/content/m12235/latest/divicon.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Divide&lt;/code&gt;&amp;nbsp;function, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;Arithmetic &amp;amp; Comparison&amp;gt;&amp;gt;Express Numeric&lt;/code&gt;&amp;nbsp;palette, on the block diagram. This function returns the average of the last three temperature readings.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;divconst.png&quot; src=&quot;http://cnx.org/content/m12235/latest/divconst.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Right-click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;y&lt;/code&gt;&amp;nbsp;terminal of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Divide&lt;/code&gt;&amp;nbsp;function, select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Create&amp;gt;&amp;gt;Constant&lt;/code&gt;, type&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id5710041&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1171936111830&quot;&gt;&lt;span class=&quot;mn&quot;&gt;3&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;, and press the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;&amp;lt;Enter&amp;gt;&lt;/code&gt;&amp;nbsp;key.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;section3&quot; style=&quot;margin-bottom: 2.5em; margin-left: 3em; margin-right: 0px; margin-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1em; font-weight: normal; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;1.C)&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Run the VI&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;list&quot; id=&quot;list4&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Run the VI. During each iteration of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;While Loop&lt;/code&gt;, the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Thermometer&lt;/code&gt;&amp;nbsp;VI takes one temperature measurement. The VI adds this value to the last two measurements stored in the left terminals of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;. The VI divides the result by three to find the average of the three measurements, the current measurement plus the previous two. The VI displays the average on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;waveform chart&lt;/code&gt;. Notice that the VI initializes the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;&amp;nbsp;with a temperature measurement.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;section4&quot; style=&quot;margin-bottom: 2.5em; margin-left: 3em; margin-right: 0px; margin-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1em; font-weight: normal; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;1.D)&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Block Diagram&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;list&quot; id=&quot;list5&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Modify the block diagram as shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12235/latest/#f2&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 2&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;div class=&quot;figure&quot; id=&quot;f2&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 2 (temprunavgmultbd.png)&quot; src=&quot;http://cnx.org/content/m12235/latest/temprunavgmultbd.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list6&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;bundleicon.png&quot; src=&quot;http://cnx.org/content/m12235/latest/bundleicon.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Bundle&lt;/code&gt;&amp;nbsp;function, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;All Functions&amp;gt;&amp;gt;Cluster&lt;/code&gt;&amp;nbsp;palette, on the block diagram. This function bundles the average and current temperature for plotting on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;waveform chart&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Save the VI. You will use this VI later in the course.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;section5&quot; style=&quot;margin-bottom: 2.5em; margin-left: 3em; margin-right: 0px; margin-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1em; font-weight: normal; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;1.E)&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Run the VI&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;list&quot; id=&quot;list7&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Run the VI. The VI displays two plots on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;waveform chart&lt;/code&gt;. The plots are overlaid. That is, they share the same vertical scale.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;If time permits, complete the optional steps. Otherwise, close the VI.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;section6&quot; style=&quot;margin-bottom: 2.5em; margin-left: 3em; margin-right: 0px; margin-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1em; font-weight: normal; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;1.F)&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Optional&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;para2&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Customize the waveform chart as shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12235/latest/#f3&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 3&lt;/span&gt;&lt;/a&gt;. You can display a plot legend, a scale legend, a graph palette, a digital display, and a scrollbar. By default, a&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;waveform chart&lt;/code&gt;displays the plot legend.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;f3&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 3 (temprunavgfp.png)&quot; src=&quot;http://cnx.org/content/m12235/latest/temprunavgfp.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list8&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Customize the y-axis.&lt;br /&gt;
&lt;div class=&quot;list&quot; id=&quot;list9&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;labeling.png&quot; src=&quot;http://cnx.org/content/m12235/latest/labeling.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Labeling&lt;/code&gt;&amp;nbsp;tool to double-click&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id1171936555486&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1171926935290&quot;&gt;&lt;span class=&quot;mn&quot;&gt;70.0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;in the y-axis, type&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id1171928264204&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1171928181576&quot;&gt;&lt;span class=&quot;mn&quot;&gt;75.0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;, and press the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;&amp;lt;Enter&amp;gt;&lt;/code&gt;&amp;nbsp;key.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;b:&amp;nbsp;&lt;/strong&gt;Use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Labeling&lt;/code&gt;&amp;nbsp;tool to double-click the second number from the bottom on the y-axis, type&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id1171932957246&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1171936432248&quot;&gt;&lt;span class=&quot;mn&quot;&gt;80.0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;, and press the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;&amp;lt;Enter&amp;gt;&lt;/code&gt;&amp;nbsp;key. This number determines the numerical spacing of the y-axis divisions. For example, if the number above&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id1171934258819&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1171939350217&quot;&gt;&lt;span class=&quot;mn&quot;&gt;75.0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;is&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id1171931589604&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1171931905249&quot;&gt;&lt;span class=&quot;mn&quot;&gt;77.5&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;, it indicates a y-axis division of&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id1171934426868&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1171932434301&quot;&gt;&lt;span class=&quot;mn&quot;&gt;2.5&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;, changing the&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id1171935700157&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1171928177211&quot;&gt;&lt;span class=&quot;mn&quot;&gt;77.5&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;to&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id1171925463982&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1171931966564&quot;&gt;&lt;span class=&quot;mn&quot;&gt;80.0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;reformats the y-axis to multiples of&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id1171925613008&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1171931908760&quot;&gt;&lt;span class=&quot;mn&quot;&gt;5.0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;(&lt;span class=&quot;mrow&quot; id=&quot;id1171928800736&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1171930149519&quot;&gt;&lt;span class=&quot;mn&quot;&gt;75.0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;,&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id1171933214602&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1171928681379&quot;&gt;&lt;span class=&quot;mn&quot;&gt;80.0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;,&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id6255882&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1171928177260&quot;&gt;&lt;span class=&quot;mn&quot;&gt;85.0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;, and so on).&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h4 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;The&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;waveform chart&lt;/code&gt;&amp;nbsp;size has a direct effect on the display of axis scales. Increase the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;waveform chart&lt;/code&gt;&amp;nbsp;size if you encounter problems while customizing the axis.&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Right-click the waveform chart and select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Visible Items&amp;gt;&amp;gt;Scale Legend&lt;/code&gt;&amp;nbsp;from the shortcut menu to display the scale legend, as shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12235/latest/#f4&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 4&lt;/span&gt;&lt;/a&gt;. You can place the scale legend anywhere on the front panel.&lt;br /&gt;
&lt;div class=&quot;figure&quot; id=&quot;f4&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 4:&amp;nbsp;&lt;/strong&gt;1. X-axis, 2. Y-axis, 3. Scale Labels, 4. Scale Lock Button, 5. Autoscale Button, 6. Scale Format Button&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 4 (scale.png)&quot; src=&quot;http://cnx.org/content/m12235/latest/scale.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Use the scale legend to customize each axis.&lt;br /&gt;
&lt;div class=&quot;list&quot; id=&quot;list10&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Make sure the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Lock Autoscale&lt;/code&gt;&amp;nbsp;button appears locked and the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Autoscale&lt;/code&gt;&amp;nbsp;LED is green so the y-axis adjusts the minimum and maximum values to fit the data in the chart.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Scale Format&lt;/code&gt;&amp;nbsp;button to change the format, precision, mapping mode, scale visibility, and grid options for each axis.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Use the plot legend to customize the plots.&lt;br /&gt;
&lt;div class=&quot;list&quot; id=&quot;list11&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Positioning&lt;/code&gt;&amp;nbsp;tool to resize the plot legend to include two plots.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Labeling&lt;/code&gt;&amp;nbsp;tool to change&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Temp&lt;/code&gt;&amp;nbsp;to&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Running Avg&lt;/code&gt;&amp;nbsp;and to change&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Plot 1&lt;/code&gt;&amp;nbsp;to&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Current Temp&lt;/code&gt;. If the text does not fit, use the Positioning tool to resize the plot legend.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Right-click the plot in the plot legend to set the line and point styles and the color of the plot background or traces.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Right-click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;waveform chart&lt;/code&gt;&amp;nbsp;and select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Visible Items&amp;gt;&amp;gt;Graph Palette&lt;/code&gt;&amp;nbsp;from the shortcut menu to display the graph palette, as shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12235/latest/#f5&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 5&lt;/span&gt;&lt;/a&gt;. You can place the graph palette anywhere on the front panel.&lt;br /&gt;
&lt;div class=&quot;figure&quot; id=&quot;f5&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 5:&amp;nbsp;&lt;/strong&gt;1. Cursor Movement Tool, 2. Zoom Button, 3. Panning Tool, 4. Zoom Pull-down Menu&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 5 (graphpal.png)&quot; src=&quot;http://cnx.org/content/m12235/latest/graphpal.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;Use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Zoom&lt;/code&gt;&amp;nbsp;button on the graph palette to zoom in or out of sections of the chart or the whole chart. Use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Panning&lt;/code&gt;&amp;nbsp;tool to pick up the plot and move it around on the display. Use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Cursor Movement&lt;/code&gt;&amp;nbsp;tool to move the cursor on the graph.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Run the VI. While the VI runs, use the buttons in the scale legend and graph palette to modify the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;waveform chart&lt;/code&gt;.&lt;br /&gt;
&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h4 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;If you modify the axis labels, the display might become larger than the maximum size that the VI can correctly present.&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Operating&lt;/code&gt;&amp;nbsp;tool to click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Power&lt;/code&gt;&amp;nbsp;switch and stop the VI.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Save and close the VI.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;GIVE FEEDBACK:&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/4775516197061560916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/temperature-running-average-vi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/4775516197061560916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/4775516197061560916'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/temperature-running-average-vi.html' title='Temperature Running Average VI'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-7337700762408117059</id><published>2010-09-25T07:45:00.001-07:00</published><updated>2010-09-25T07:45:51.615-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Measurement"/><category scheme="http://www.blogger.com/atom/ns#" term="Studio Components"/><title type='text'>Measurement Studio Components</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;This section introduces the three main components of Measurement Studio—ActiveX controls, C++ class libraries, and .NET class libraries.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;portletContainer&quot; id=&quot;cnx_author_links&quot; style=&quot;background-color: white; border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; float: right; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 2.5em; padding-bottom: 0.5em; padding-left: 1.5em; position: relative; width: 15em; z-index: 1;&quot;&gt;&lt;br /&gt;
&lt;dl class=&quot;portlet&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;dt class=&quot;portletHeader&quot; style=&quot;color: #333333; font-family: arial, helvetica, sans-serif; font-size: 1.1em; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0px; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0px; position: relative; text-transform: none; z-index: 1;&quot;&gt;&lt;span&gt;&lt;h2 style=&quot;float: none; font-size: 1em; margin-bottom: 0px; margin-left: 0.5em; margin-right: 0.5em; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Links&lt;/h2&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd class=&quot;portletItem odd&quot; id=&quot;cnx_author_links_togglers&quot; style=&quot;clear: none; font-size: 1em; margin-bottom: 1em; margin-left: 2em; margin-right: 1em; margin-top: -1.25em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: relative; z-index: 1;&quot;&gt;&lt;div class=&quot;cnx_toggler&quot; id=&quot;cnx_author_links_collapse&quot; style=&quot;display: block; text-align: right;&quot;&gt;[&lt;a href=&quot;http://cnx.org/content/m14742/latest/#&quot; style=&quot;color: #336699;&quot;&gt;hide&lt;span class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; color: #336699; cursor: pointer; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; text-decoration: underline; top: -500px !important; width: 1px !important;&quot;&gt;links&lt;/span&gt;&lt;/a&gt;]&lt;/div&gt;&lt;/dd&gt;&lt;dd class=&quot;portletItem even&quot; id=&quot;cnx_author_links_contents&quot; style=&quot;clear: left; font-size: 1em; margin-bottom: 1.5em; margin-left: 2em; margin-right: 1em; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Supplemental links&lt;/h3&gt;&lt;ul class=&quot;links&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: url(http://cnx.org/cnx-styles/newlook/bullet.gif); list-style-type: square; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: 0px -3px; background-repeat: no-repeat no-repeat; display: block; list-style-image: none; list-style-position: initial; list-style-type: none; margin-bottom: 0.3em; margin-left: 14px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a href=&quot;http://www.ni.com/support/vsdotnetsupp.htm%20&quot; style=&quot;color: #336699;&quot; title=&quot;Related link&quot;&gt;&lt;img alt=&quot;Related link&quot; src=&quot;http://cnx.org/cnx-styles/newlook/strength2.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-left: -14px; padding-right: 4px;&quot; /&gt;National Instruments&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: 0px -3px; background-repeat: no-repeat no-repeat; display: block; list-style-image: none; list-style-position: initial; list-style-type: none; margin-bottom: 0.3em; margin-left: 14px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a href=&quot;http://www.ni.com/mstudio&quot; style=&quot;color: #336699;&quot; title=&quot;Related link&quot;&gt;&lt;img alt=&quot;Related link&quot; src=&quot;http://cnx.org/cnx-styles/newlook/strength2.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-left: -14px; padding-right: 4px;&quot; /&gt;Measurement Studio Webpage&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;para&quot; id=&quot;id44203711&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Measurement Studio consists of three main types of components—ActiveX controls, C++ class libraries, and .NET class libraries.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id44203719&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The ActiveX controls provide language-native APIs for Visual Basic 6 as well as provide UI components for Measurement Studio C++ applications. Additionally, APIs exist for NI driver software, such as Traditional DAQ, NI-VISA, GPIB, IMAQ, IVI class drivers, and Motion.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id44203731&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The C++ class libraries provide language-native APIs for Visual C++ MFC applications. The C++ class libraries provide an object-oriented C++ interface and a consistent set of data types, data type transformations, and integration into the MFC framework for driver software including NI-DAQmx, NI-VISA, GPIB, IVI class drivers, IVI specific drivers, NI modular instrument drivers, such as NI-Scope, NI-DMM, and FieldPoint. The C++ class libraries provide the same sort of interface to the Measurement Studio ActiveX controls, automatically converting VARIANT and SAFEARRAY types to C++ MFC types and automatically handling ActiveX threading issues.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id43712153&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The .NET class libraries provide language-native APIs for .NET languages. Measurement Studio specifically supports C# and Visual Basic .NET through code generation, example programs, and customer support, but the .NET class libraries are built to be Common Language Specification (CLS)-compliant, so they should work with any CLS-compliant .NET language.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id44216554&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The DAQ ActiveX control is complimentary and is installed with the Traditional DAQ driver. All the other ActiveX controls require Measurement Studio.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id44216561&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Measurement Studio provides the following ActiveX controls:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;id44216566&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;User Interface controls, such as CWGraph, CWButton,CWKnob&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;NI VISA&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;NI 488.2 (CWInstr)&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Analysis (CWDSP, CWArray, CWStat, CWMatrix, CWComplex)&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;DataSocket&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;IVI&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Traditional DAQ (Complimentary with Traditional DAQ Driver)&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;3D Graph&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id-140066162921&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Measurement Studio C++ Class Libraries&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id43530255&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Measurement Studio provides the following C++MFC libraries:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;id43530261&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;3D Graph&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Analysis&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;DataSocket&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;NI-DAQmx&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;NI-488.2&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;NI-VISA&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;IVI&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;LabVIEW RT&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Microsoft Excel Interface&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Microsoft Word Interface&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;NI-Reports&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;User Interface (Graph, Button, Knob)&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Utility (File, Sound, System, Timer)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id-126291044685&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Measurement Studio .NET Libraries&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id44179602&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The Measurement Studio class libraries are designed specifically for engineers and scientists who build virtual instrumentation systems with Visual Basic .NET or Visual C# in Visual Studio. With integrated libraries for acquiring, analyzing, and displaying data, Measurement Studio includes everything you need for building advanced measurement and automation applications.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id44179612&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Measurement Studio provides the following .NET libraries:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;id44179618&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Analysis .NET class library&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Common .NET class library&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;DataSocket .NET class library&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Network Variable .NET class library&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;User Interface .NET class library&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Windows Forms .NET class library&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;ASP.NET Web Forms class library&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id-352676427221&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;User Interface Controls – Windows Forms&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id44152540&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Visual Studio provides a wide variety of general-purpose controls, including calendar controls, text boxes, buttons, and data grids. With Measurement Studio, you can use the standard Visual Studio controls, in addition to test and control specific controls such as, graphs, gauges, and tanks to create complete applications running on your Windows desktop.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id44151244&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Out of the box, Measurement Studio contains managed .NET controls, such as graphs, dials, gauges, LEDs, sliders, tanks, numeric edits (double data type), and knobs. All of these controls can be configured to create robust and professional user interfaces that integrate seamlessly with your .NET application. Attributes, such as color, font size, and graph type can be instantly reconfigured, and you can even rotate, zoom, and pan your graphs at runtime.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id44151258&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;All Measurement Studio controls are designed to be extensible, thus you can use them as a base class and apply your own customization to create entirely new controls.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id44151269&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 1 (graphics1.jpg)&quot; height=&quot;333&quot; src=&quot;http://cnx.org/content/m14742/latest/graphics1.jpg&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;626&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id-00721113873076&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;User Interface Controls—Web Forms&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id44209337&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;In addition to providing Windows Forms user interface controls, Measurement Studio also provides user interface controls for web forms. These controls include graphs, gauges, knobs, switches, tanks, slides, and so on.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id44209345&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Drag and drop the appropriate controls onto the Visual Studio designer. Run your application, it automatically launches a Web browser and displays your controls. You can even interact with these Web controls.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id44209354&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;These controls are based upon Microsoft ASP.NET, providing you a powerful platform to create Web pages. Web clients do not require any runtime engine to display and interact with ASP.NET web pages. As a result, any browser, Operating system, or Web device can view your Measurement Studio ASP.NET.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id44209367&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 2 (graphics2.jpg)&quot; height=&quot;321&quot; src=&quot;http://cnx.org/content/m14742/latest/graphics2.jpg&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;559&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id-852542129021&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Additional User Interface Controls&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id44207884&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Some of the newest Measurement Studio controls include the Digital Waveform Graph, Complex Graph, Property Editor, Instrument Control Strip Control, and several array user interface controls.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id44207892&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Digital Waveform Graph—With the digital waveform graph, you can plot digital waveform data.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id44207911&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 3 (graphics3.jpg)&quot; height=&quot;340&quot; src=&quot;http://cnx.org/content/m14742/latest/graphics3.jpg&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;391&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id44156370&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Complex Graph—With the complex graph, you can plot and chart complex double data consisting of both real and imaginary components.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id44156390&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 4&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 4 (graphics4.jpg)&quot; height=&quot;357&quot; src=&quot;http://cnx.org/content/m14742/latest/graphics4.jpg&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id44156414&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Instrument Control Strip Control—This control is a container for ToolStripPropertyEditor and other items derived from ToolStripItem. The control displays a set of Property Editor controls.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id43985087&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 5&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 5 (graphics5.jpg)&quot; height=&quot;361&quot; src=&quot;http://cnx.org/content/m14742/latest/graphics5.jpg&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;401&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id43985111&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Property Editor—With the property editor control, you create applications that enable your end users to configure properties for Windows Forms controls at run time. You can edit properties of any .NET type at run time, including collections, and you can edit expandable properties that represent nested properties of another object, such as major divisions of an axis.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id43985128&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 6&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 6 (graphics6.jpg)&quot; height=&quot;618&quot; src=&quot;http://cnx.org/content/m14742/latest/graphics6.jpg&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;317&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/7337700762408117059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/measurement-studio-components.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/7337700762408117059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/7337700762408117059'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/measurement-studio-components.html' title='Measurement Studio Components'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-8824289877948122167</id><published>2010-09-25T07:44:00.001-07:00</published><updated>2010-09-25T07:44:50.058-07:00</updated><title type='text'>Interactive Ball and Beam Experiment</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: justify;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;The ball and beam experiment represents a simple second order system. This system is easily simulated using four states, but is more difficult to implement in real-life because not all necessary variables are easily observed. This simulation assumes all four states are easily observed and the system is linear throught the operating region. The plant model and the controller of the system are simulated in LabVIEW using the LabVIEW Simulation Module.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;para&quot; id=&quot;delete_me&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; font-weight: bold; line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; font-weight: bold; line-height: normal;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; font-weight: normal; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; font-weight: bold; line-height: normal;&quot;&gt;Content actions&lt;/span&gt;The ball and beam experiment is built with two moving parts, the ball and a beam, typically having a track so to limit the balls movement to one dimension along the beam. A motor is used to change the angle of the beam from the center. Both the angel of the beam and the position of the ball must be measured. The state space model utilizes all four states for control of the model. Those include the x position of the ball, the velocity of the ball, the angle of the bar and the angular velocity of the bar. The controller makes use of these values to derive an error signal used for feedback.&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;para&quot; id=&quot;eip-627&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Download the source code for the&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m14028/latest/Ball-Beam.llb&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;Ball and Beam 3D Simulation&lt;/a&gt;&amp;nbsp;here. This VI was created in LabVIEW 8.2 using the&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://zone.ni.com/devzone/cda/tut/p/id/4411&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;3D Picture Control Toolit add-on which is not a supported feature.&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;eip-933&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;em class=&quot;emphasis&quot; style=&quot;font-style: normal; font-weight: bold;&quot;&gt;NEW: If you find value in this 3D demo, please take some time to build on my work by updating it to support the new supported 3D Picture Control tool now shipping within LabVIEW. Then post it to Connexions!&lt;/em&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;element-649&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1:&amp;nbsp;&lt;/strong&gt;LabVIEW Interactive Ball and Beam Experiment&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Interactive Ball and Beam Experiment&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id15916251&quot;&gt;&lt;img alt=&quot;Interactive Ball and Beam Experiment (Ball-Beam-stable.gif)&quot; src=&quot;http://cnx.org/content/m14028/latest/Ball-Beam-stable.gif&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;element-134&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The Ball and Beam source code can be downloaded here:&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m14028/latest/Ball-Beam.llb&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;Ball and Beam Simulation VI&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;element-859&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2:&amp;nbsp;&lt;/strong&gt;This LabVIEW VI utilizes the LabVIEW Simulation module to simulate the controller effects on the Ball and Beam plant model.&lt;/caption&gt;&lt;thead&gt;
&lt;tr&gt;&lt;th class=&quot;figure-name&quot; style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: center;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Ball and Beam VI Block Diagram&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id15916298&quot;&gt;&lt;img alt=&quot;Ball and Beam VI Block Diagram (ball-beam-bd.JPG)&quot; height=&quot;367&quot; src=&quot;http://cnx.org/content/m14028/latest/ball-beam-bd.JPG&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;element-262&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;This VI was created with LabVIEW 8.20 and the LabVIEW Simulation Module 8.20.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;element-351&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Reference:&amp;nbsp;&lt;a class=&quot;link&quot; href=&quot;http://www.engin.umich.edu/group/ctm/examples/ball/bbSS.html&quot; style=&quot;color: #336699;&quot;&gt;Solution to the Ball and Beam Problem Using the State-space Design Method&lt;/a&gt;&amp;nbsp;by William C. Messner, Carnegie Mellon University and Dawn Tilbury, University of Michigan&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/8824289877948122167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/interactive-ball-and-beam-experiment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/8824289877948122167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/8824289877948122167'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/interactive-ball-and-beam-experiment.html' title='Interactive Ball and Beam Experiment'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-7385772840537371868</id><published>2010-09-25T07:43:00.001-07:00</published><updated>2010-09-25T07:43:40.893-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Serial Port Communication"/><title type='text'>Serial Port Communication</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;span&quot;&gt;In this lesson, you will learn about serial communication.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;span&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;span&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div id=&quot;cnx_main&quot; style=&quot;line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;para&quot; id=&quot;p1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12293/latest/#f1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;Serial communication&lt;/a&gt;&amp;nbsp;is a popular means of transmitting data between a computer and a peripheral device such as a programmable instrument or even another computer. Serial communication uses a transmitter to send data, one bit at a time, over a single communication line to a receiver. You can use this method when data transfer rates are low or you must transfer data over long distances. Serial communication is popular because most computers have one or more serial ports, so no extra hardware is needed other than a cable to connect the instrument to the computer or two computers together.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;f1&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1:&amp;nbsp;&lt;/strong&gt;1: RS-232 Instrument,2: RS-232 Cable, 3: Serial Port&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 1 (sercomm.png)&quot; src=&quot;http://cnx.org/content/m12293/latest/sercomm.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;p2&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Serial communication requires that you specify the following four parameters:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;p2l1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;The baud rate of the transmission&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;The number of data bits encoding a character&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;The sense of the optional parity bit&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;The number of stop bits&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;p3&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Each transmitted character is packaged in a character frame that consists of a single start bit followed by the data bits, the optional parity bit, and the stop bit or bits.&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12293/latest/#f2&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 2&lt;/span&gt;&lt;/a&gt;&amp;nbsp;shows a typical character frame encoding the letter&amp;nbsp;&lt;em class=&quot;emphasis&quot; style=&quot;font-style: normal; font-weight: bold;&quot;&gt;m&lt;/em&gt;.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;f2&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 2 (charframe.png)&quot; src=&quot;http://cnx.org/content/m12293/latest/charframe.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;p4&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Baud rate is a measure of how fast data are moving between instruments that use serial communication. RS-232 uses only two voltage states, called&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;MARK&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;SPACE&lt;/code&gt;. In such a two-state coding scheme, the baud rate is identical to the maximum number of bits of information, including control bits, that are transmitted per second.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;p5&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;MARK&lt;/code&gt;&amp;nbsp;is a negative voltage, and&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;SPACE&lt;/code&gt;&amp;nbsp;is positive.&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12293/latest/#f2&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 2&lt;/span&gt;&lt;/a&gt;&amp;nbsp;shows how the idealized signal looks on an oscilloscope. The following is the truth table for RS-232:&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id1168768580200&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1168766851782&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1168769477672&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1168769477670&quot;&gt;&lt;span class=&quot;mi&quot;&gt;Signal&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;id1168766851778&quot; style=&quot;padding-left: 0.3em; padding-right: 0.3em;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;mrow&quot; id=&quot;id6820271&quot;&gt;&lt;span class=&quot;mn&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;id6820274&quot; style=&quot;padding-left: 0.3em; padding-right: 0.3em;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mi1&quot; style=&quot;font-style: italic;&quot;&gt;V&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;id6820277&quot; style=&quot;padding-left: 0.3em; padding-right: 0.3em;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;mn&quot;&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id6820235&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id6820240&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id6820243&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id6820244&quot;&gt;&lt;span class=&quot;mi&quot;&gt;Signal&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;id6820247&quot; style=&quot;padding-left: 0.3em; padding-right: 0.3em;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;mrow&quot; id=&quot;id6820249&quot;&gt;&lt;span class=&quot;mn&quot;&gt;-3&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;id6820252&quot; style=&quot;padding-left: 0.3em; padding-right: 0.3em;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mi1&quot; style=&quot;font-style: italic;&quot;&gt;V&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;id6820255&quot; style=&quot;padding-left: 0.3em; padding-right: 0.3em;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;mn&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;p6&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The output signal level usually swings between +12 V and -12 V. The dead area between +3 V and -3 V is designed to absorb line noise.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;p7&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;A start bit signals the beginning of each character frame. It is a transition from negative (&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;MARK&lt;/code&gt;) to positive (&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;SPACE&lt;/code&gt;) voltage. Its duration in seconds is the reciprocal of the baud rate. If the instrument is transmitting at 9,600 baud, the duration of the start bit and each subsequent bit is about 0.104 ms. The entire character frame of eleven bits would be transmitted in about 1.146 ms.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;p8&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Data bits are transmitted upside down and backwards. That is, inverted logic is used, and the order of transmission is from least significant bit (LSB) to most significant bit (MSB). To interpret the data bits in a character frame, you must read from right to left and read 1 for negative voltage and 0 for positive voltage. This yields 1101101 (binary) or 6D (hex). An ASCII conversion table shows that this is the letter m.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;p9&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;An optional parity bit follows the data bits in the character frame. The parity bit, if present, also follows inverted logic, 1 for negative voltage and 0 for positive voltage. This bit is included as a simple means of error handling. You specify ahead of time whether the parity of the transmission is to be even or odd. If the parity is chosen to be odd, the transmitter then sets the parity bit in such a way as to make an odd number of ones among the data bits and the parity bit. This transmission uses odd parity. There are five ones among the data bits, already an odd number, so the parity bit is set to 0.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;p10&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The last part of a character frame consists of 1, 1.5, or 2 stop bits. These bits are always represented by a negative voltage. If no further characters are transmitted, the line stays in the negative (&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;MARK&lt;/code&gt;) condition. The transmission of the next character frame, if any, is heralded by a start bit of positive (&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;SPACE&lt;/code&gt;) voltage.&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s1&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;How Fast Can I Transmit?&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;s1p1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Knowing the structure of a character frame and the meaning of baud rate as it applies to serial communication, you can calculate the maximum transmission rate, in characters per second, for a given communication setting. This rate is just the baud rate divided by the bits per frame. In the previous example, there are a total of eleven bits per character frame. If the transmission rate is set at 9,600 baud, you get&lt;span class=&quot;mrow&quot; id=&quot;id1168766603205&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1168766603210&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1168766603214&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1168766603217&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;table class=&quot;mfrac&quot; style=&quot;display: inline-table; font-size: 9px; text-align: center; vertical-align: middle;&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;mfraca&quot; id=&quot;aid1168766603218&quot; style=&quot;vertical-align: bottom;&quot;&gt;&lt;td class=&quot;mfracaa&quot; style=&quot;border-bottom-color: black; border-bottom-style: solid; border-bottom-width: 0.2ex; border-collapse: collapse; border-left-color: black; border-left-style: solid; border-left-width: 0em; border-right-color: black; border-right-style: solid; border-right-width: 0em; border-top-color: black; border-top-style: solid; border-top-width: 0em; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1168766603219&quot;&gt;&lt;span class=&quot;mn&quot;&gt;9,600&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;mfracb&quot; id=&quot;bid1168766603218&quot; style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;border-collapse: collapse; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1168766603223&quot;&gt;&lt;span class=&quot;mn&quot;&gt;11&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&amp;nbsp;&lt;span class=&quot;mo&quot; id=&quot;id1168766603226&quot; style=&quot;padding-left: 0.3em; padding-right: 0.3em;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;mn&quot;&gt;872&lt;/span&gt;&amp;nbsp;characters per second. Notice that this is the maximum character transmission rate. The hardware on one end or the other of the serial link might not be able to reach these rates, for various reasons.&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s2&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Hardware Overview&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;s2p1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;There are many different recommended standards of serial port communication, including the following most common types.&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s2s1&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;RS-232&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;s2s1p1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;RS-232&lt;/dfn&gt;&amp;nbsp;is a standard developed by the&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;Electronic Industries Association&lt;/dfn&gt;&amp;nbsp;(&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;EIA&lt;/dfn&gt;) and other interested parties, specifying the serial interface between&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;Data Terminal Equipment&lt;/dfn&gt;(&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;DTE&lt;/dfn&gt;) and&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;Data Communications Equipment&lt;/dfn&gt;&amp;nbsp;(&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;DCE&lt;/dfn&gt;). The RS-232 standard includes electrical signal characteristics (voltage levels), interface mechanical characteristics (connectors), functional description of interchange circuits (the function of each electrical signal), and some recipes for common kinds of terminal-to-modem connections. The most frequently encountered revision of this standard is called RS-232C. Parts of this standard have been adopted (with various degrees of fidelity) for use in serial communications between computers and printers, modems, and other equipment. The serial ports on standard IBM-compatible personal computers follow RS-232.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s2s2&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;RS-449, RS-422, RS-423&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;s2s2p1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The RS-449, RS-422, and RS-423 are additional EIA serial communication standards related to RS-232. RS-449 was issued in 1975 and was supposed to supersede RS-232, but few manufacturers have embraced the newer standard. RS-449 contains two subspecifications called RS-422 and RS-423. While RS-232 modulates a signal with respect to a common ground, or single-ended transmission, RS-422 modulates two signals against each other, or differential transmission. The RS-232C receiver senses whether the received signal is sufficiently negative with respect to ground to be a logical 1, whereas the RS-422 receiver senses which line is more negative than the other. This makes RS-422 more immune to noise and interference and more versatile over longer distances. The Macintosh serial ports follow RS-422, which can be converted to RS-423 by proper wiring of an external cable. RS-423 can then communicate with most RS-232 devices over distances of 15 m or so.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s2s3&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;RS-232 Cabling&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;s2s3p1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Devices that use serial cables for their communication are split into two categories. These are DCE and DTE. DCE are devices such as a modem, TA adapter, plotter, and so on, while DTE is a computer or terminal. RS-232 serial ports come in two sizes, the D-Type 25-pin connector and the D-Type 9-pin connector. Both of these connectors are male on the back of the PC. Thus, you require a&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12293/latest/#s2s3f1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;female connector&lt;/a&gt;&amp;nbsp;on the device.&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12293/latest/#s2s3t1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Table 1&lt;/span&gt;&lt;/a&gt;&amp;nbsp;shows the pin connections for the 9-pin and 25-pin D-Type connectors.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;s2s3f1&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 3 (dtypepin.png)&quot; src=&quot;http://cnx.org/content/m12293/latest/dtypepin.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;table&quot; id=&quot;s2s3t1&quot; style=&quot;margin-bottom: 1.5em; margin-left: 0px; margin-right: 0px; margin-top: 1.5em; text-align: center; width: 1022px;&quot;&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-bottom-color: rgb(102, 102, 102) !important; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-color: initial; border-left-color: rgb(102, 102, 102) !important; border-left-style: solid; border-left-width: 1px; border-right-color: rgb(102, 102, 102) !important; border-right-style: solid; border-right-width: 1px; border-top-color: rgb(102, 102, 102) !important; border-top-style: solid; border-top-width: 1px;&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;table-text&quot; style=&quot;line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;TABLE 1&lt;/span&gt;&lt;/caption&gt;&lt;thead valign=&quot;top&quot;&gt;
&lt;tr&gt;&lt;th style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Function&lt;/th&gt;&lt;th style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Signal&lt;/th&gt;&lt;th style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;PIN&lt;/th&gt;&lt;th style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;DTE&lt;/th&gt;&lt;th style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;DCE&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody valign=&quot;top&quot;&gt;
&lt;tr&gt;&lt;td rowspan=&quot;2&quot; style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Data&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;TxD&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;3&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Output&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Input&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;RxD&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Input&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Output&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td rowspan=&quot;5&quot; style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Handshake&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;RTS&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;7&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Output&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Input&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;CTS&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;8&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Input&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Output&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;DSR&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;6&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Input&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Output&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;DCD&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;1&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Input&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Output&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;STR&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;4&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Output&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Input&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Common&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Com&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;5&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;--&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;--&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Other&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;RI&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;9&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Output&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Input&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s2s3p2&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The DB-9 connector is occasionally found on smaller RS-232 lab equipment. It is compact, yet has enough pins for the core set of serial pins (with one pin extra).&lt;/div&gt;&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h4 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;The DB-9 pin numbers for transmit and receive (3 and 2) are opposite of those on the DB-25 connector (2 and 3). Be careful of this difference when you are determining if a device is DTE or DCE.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s2s3p3&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12293/latest/#s2s3f2&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;DB-25 connector&lt;/a&gt;&amp;nbsp;is the standard RS-232 connector, with enough pins to cover all the signals specified in the standard.&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12293/latest/#s2s3t2&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Table 2&lt;/span&gt;&lt;/a&gt;&amp;nbsp;shows only the core set of pins that are used for most RS-232 interfaces.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;s2s3f2&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 4&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 4 (db25pin.png)&quot; src=&quot;http://cnx.org/content/m12293/latest/db25pin.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;table&quot; id=&quot;s2s3t2&quot; style=&quot;margin-bottom: 1.5em; margin-left: 0px; margin-right: 0px; margin-top: 1.5em; text-align: center; width: 1022px;&quot;&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-bottom-color: rgb(102, 102, 102) !important; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-color: initial; border-left-color: rgb(102, 102, 102) !important; border-left-style: solid; border-left-width: 1px; border-right-color: rgb(102, 102, 102) !important; border-right-style: solid; border-right-width: 1px; border-top-color: rgb(102, 102, 102) !important; border-top-style: solid; border-top-width: 1px;&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;table-text&quot; style=&quot;line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;TABLE 2&lt;/span&gt;&lt;/caption&gt;&lt;thead valign=&quot;top&quot;&gt;
&lt;tr&gt;&lt;th style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Function&lt;/th&gt;&lt;th style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Signal&lt;/th&gt;&lt;th style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;PIN&lt;/th&gt;&lt;th style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;DTE&lt;/th&gt;&lt;th style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;DCE&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;&lt;tbody valign=&quot;top&quot;&gt;
&lt;tr&gt;&lt;td rowspan=&quot;2&quot; style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Data&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;TxD&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Output&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Input&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;RxD&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;3&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Input&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Output&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td rowspan=&quot;5&quot; style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Handshake&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;RTS&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;4&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Output&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Input&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;CTS&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;5&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Input&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Output&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;DSR&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;6&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Input&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Output&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;DCD&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;8&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Input&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Output&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;STR&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;20&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Output&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Input&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;Common&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;Com&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;7&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial; border-right-style: solid; border-right-width: 1px; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;--&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: center !important;&quot;&gt;--&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s3&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Software Overview&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;s3p1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Use the VIs and functions located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;All Functions&amp;gt;&amp;gt;Instrument I/O&amp;gt;&amp;gt;Serial&lt;/code&gt;&amp;nbsp;palette for serial port communication.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s3p2&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;You used some of the VISA functions on this palette for GPIB communication. The&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;VISA Write&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;VISA Read&lt;/code&gt;&amp;nbsp;functions work with any type of instrument communication and are the same whether you are doing GPIB or serial communication. However, because serial communication requires you to configure extra parameters, you must start the serial port communication with the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;VISA Configure Serial Port&lt;/code&gt;&amp;nbsp;VI.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s3p3&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;VISA Configure Serial Port&lt;/code&gt;&amp;nbsp;VI initializes the port identified by&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;VISA resource name&lt;/code&gt;&amp;nbsp;to the specified settings.&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;timeout&lt;/code&gt;&amp;nbsp;sets the timeout value for the serial communication.&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;baud rate&lt;/code&gt;,&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;data bits&lt;/code&gt;,&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;parity&lt;/code&gt;, and&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;flow control&lt;/code&gt;&amp;nbsp;specify those specific serial port parameters. The&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;error in&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;error out&lt;/code&gt;&amp;nbsp;clusters maintain the error conditions for this VI.&lt;/div&gt;&lt;div class=&quot;example&quot; id=&quot;s3ex1&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 1.2em; margin-left: 3em; margin-right: 3em; margin-top: 1.2em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;&lt;h3 class=&quot;example-header&quot; style=&quot;font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;EXAMPLE 1&lt;/span&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;s3ex1p1&quot; style=&quot;display: block; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.5em;&quot;&gt;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12293/latest/#s3ex1f1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 5&lt;/span&gt;&lt;/a&gt;&amp;nbsp;shows how to send the identification query command&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;*IDN?&lt;/code&gt;&amp;nbsp;to the instrument connected to the COM2 serial port. The&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;VISA Configure Serial Port&lt;/code&gt;&amp;nbsp;VI opens communication with COM2 and sets it to 9,600 baud, eight data bits, odd parity, one stop bit, and XON/XOFF software handshaking. Then the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;VISA Write&lt;/code&gt;&amp;nbsp;function sends the command. The&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;VISA Read&lt;/code&gt;&amp;nbsp;function reads back up to 200 bytes into the read buffer, and the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simple Error Handler&lt;/code&gt;&amp;nbsp;VI checks the error condition.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;s3ex1f1&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 5&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 5 (serialVISAcnfg.png)&quot; src=&quot;http://cnx.org/content/m12293/latest/serialVISAcnfg.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;The VIs and functions located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;All Functions&amp;gt;&amp;gt;Instrument I/O&amp;gt;&amp;gt;Serial&lt;/code&gt;&amp;nbsp;palette are also used for parallel port communication. You specify the VISA resource name as being one of the LPT ports. For example, you can use MAX to determine that LPT1 has a VISA resource name of&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;ASRL10::INSTR&lt;/code&gt;.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/7385772840537371868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/serial-port-communication.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/7385772840537371868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/7385772840537371868'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/serial-port-communication.html' title='Serial Port Communication'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-3033705746845047659</id><published>2010-09-25T07:42:00.001-07:00</published><updated>2010-09-25T07:42:38.211-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Simple Data Logger VI"/><title type='text'>Simple Data Logger VI</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;In this exercise, the objective is to learn to use a LabVIEW Measurement File. Complete the following steps to modify the Measurement Averaging VI to log the acquired data to a LabVIEW Measurement File. Create another VI that reads the data file.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;exercise&quot; id=&quot;e1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;h2 class=&quot;exercise-header&quot; style=&quot;font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;EXERCISE 1&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;problem&quot; style=&quot;margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.5em;&quot;&gt;&lt;div class=&quot;section&quot; id=&quot;s1&quot; style=&quot;margin-bottom: 2.5em; margin-left: 3em; margin-right: 0px; margin-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1em; font-weight: normal; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;1.A)&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Simple Data Logger Block Diagram&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;list&quot; id=&quot;s1l1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Open the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Measurement Averaging VI&lt;/code&gt;&amp;nbsp;located in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;C:\Exercises\LabVIEW Basics I&lt;/code&gt;&amp;nbsp;directory.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Modify the block diagram to log the acquired data as shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12273/latest/#s1l1f1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 1&lt;/span&gt;&lt;/a&gt;.&lt;div class=&quot;figure&quot; id=&quot;s1l1f1&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 1 (simpledataloggerbd.png)&quot; src=&quot;http://cnx.org/content/m12273/latest/simpledataloggerbd.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;writelvm.png&quot; src=&quot;http://cnx.org/content/m12273/latest/writelvm.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Write LabVIEW Measurement File&lt;/code&gt;&amp;nbsp;Express VI, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;Output&lt;/code&gt;&amp;nbsp;palette, on the block diagram. This Express VI stores the data acquired from the DAQ device. In the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Configure Write LabVIEW Measurement File&lt;/code&gt;&amp;nbsp;dialog box that appears, set the following options:&lt;div class=&quot;list&quot; id=&quot;s1l1l1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Set the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Action&lt;/code&gt;&amp;nbsp;to&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Ask user to choose file&lt;/code&gt;&amp;nbsp;for the filename.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Set the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Segment Headers&lt;/code&gt;&amp;nbsp;to&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;One header only&lt;/code&gt;&amp;nbsp;to provide a header for all of the data. The header contains information about the sampling rate and the time when the sample was taken.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Set&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;X Value Columns&lt;/code&gt;&amp;nbsp;to&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;One column per channel&lt;/code&gt;&amp;nbsp;to provide a table of data that can be read by any spreadsheet editor or an ASCII text file editor.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Set the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Delimiter&lt;/code&gt;&amp;nbsp;to&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Tab&lt;/code&gt;&amp;nbsp;to make it easy for a spreadsheet editor to determine where a column of data starts in the file.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;OK&lt;/code&gt;&amp;nbsp;button to close the dialog box.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;mergeerrorsicon.png&quot; src=&quot;http://cnx.org/content/m12273/latest/mergeerrorsicon.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Merge Errors&lt;/code&gt;&amp;nbsp;VI, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;All Functions&amp;gt;&amp;gt;Time &amp;amp; Dialog&lt;/code&gt;&amp;nbsp;palette, on the block diagram. It is important to catch errors with both DAQ and file I/O, and because the code has a parallel structure it is necessary to merge the errors from all of the parallel operations to determine if the code is functioning properly.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;File&amp;gt;&amp;gt;Save As&lt;/code&gt;&amp;nbsp;to save the VI as&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simple Data Logger.vi&lt;/code&gt;&amp;nbsp;in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;C:\Exercises\LabVIEW Basics I&lt;/code&gt;&amp;nbsp;directory.&lt;/li&gt;
&lt;li class=&quot;item&quot; id=&quot;step4&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Run the VI. A filename prompt appears. Name the file&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;logger.lvm&lt;/code&gt;&amp;nbsp;in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;C:\Exercises\LabVIEW Basics I&lt;/code&gt;&amp;nbsp;directory.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Stop and close the VI.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s2&quot; style=&quot;margin-bottom: 2.5em; margin-left: 3em; margin-right: 0px; margin-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1em; font-weight: normal; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;1.B)&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Simple Data Reader Front Panel&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;list&quot; id=&quot;s2l1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Open a blank VI and build the front panel shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12273/latest/#s2f1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 2&lt;/span&gt;&lt;/a&gt;&amp;nbsp;by placing a waveform chart, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Controls&amp;gt;&amp;gt;Graph Indicators&lt;/code&gt;&amp;nbsp;palette, on the front panel.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;s2f1&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 2 (simpledatareaderfp.png)&quot; src=&quot;http://cnx.org/content/m12273/latest/simpledatareaderfp.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s3&quot; style=&quot;margin-bottom: 2.5em; margin-left: 3em; margin-right: 0px; margin-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1em; font-weight: normal; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;1.C)&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Block Diagram&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;list&quot; id=&quot;s3l1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Build the block diagram shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12273/latest/#s3l1f1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 3&lt;/span&gt;&lt;/a&gt;.&lt;div class=&quot;figure&quot; id=&quot;s3l1f1&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 3 (simpledatareaderbd.png)&quot; src=&quot;http://cnx.org/content/m12273/latest/simpledatareaderbd.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;s3l1l1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;readlvm.png&quot; src=&quot;http://cnx.org/content/m12273/latest/readlvm.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Read LabVIEW Measurement File&lt;/code&gt;&amp;nbsp;Express VI, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;Input&lt;/code&gt;&amp;nbsp;palette, on the block diagram. Because this Express VI reads data located in a LabVIEW measurement file one data point at a time, it must be placed in a loop. In the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Configure Read LabVIEW Measurement File&lt;/code&gt;dialog box that appears, set the following options:&lt;div class=&quot;list&quot; id=&quot;s3l1l1l1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;In the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Action&lt;/code&gt;&amp;nbsp;section, place a checkmark in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Ask user to choose file&lt;/code&gt;&amp;nbsp;checkbox.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Set the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Segment Size&lt;/code&gt;&amp;nbsp;to&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Retrieve segments of original size&lt;/code&gt;&amp;nbsp;so that all the data stored in the file is retrieved.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Set&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Time Stamps&lt;/code&gt;&amp;nbsp;to&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Relative to start of measurement&lt;/code&gt;. Because the dynamic data type stores information about the signal timing, this setting aligns the data with the time of the measurement.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;In the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Generic Text File&lt;/code&gt;&amp;nbsp;section, remove the checkmark from the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Read generic text files&lt;/code&gt;&amp;nbsp;checkbox because the data is stored in a LabVIEW measurement file.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;OK&lt;/code&gt;&amp;nbsp;button to close the dialog box.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;unbundle.png&quot; src=&quot;http://cnx.org/content/m12273/latest/unbundle.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Unbundle by Name&lt;/code&gt;&amp;nbsp;function, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;All Functions&amp;gt;&amp;gt;Cluster&lt;/code&gt;&amp;nbsp;palette, on the block diagram.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;or.png&quot; src=&quot;http://cnx.org/content/m12273/latest/or.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Or&lt;/code&gt;&amp;nbsp;function, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;Arithmetic &amp;amp; Comparison&amp;gt;&amp;gt;Express Boolean&lt;/code&gt;&amp;nbsp;palette, on the block diagram.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Wire the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;EOF?&lt;/code&gt;&amp;nbsp;output of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Read LabVIEW Measurement File&lt;/code&gt;&amp;nbsp;function to the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Or&lt;/code&gt;&amp;nbsp;function. Wire the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;status&lt;/code&gt;&amp;nbsp;output of the error cluster to the second input of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Or&lt;/code&gt;&amp;nbsp;function. This stops the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;While Loop&lt;/code&gt;&amp;nbsp;when the entire&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;LabVIEW Measurement File&lt;/code&gt;&amp;nbsp;has been read or when an error occurs.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Save the VI as&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simple Data Reader.vi&lt;/code&gt;&amp;nbsp;in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;C:\Exercises\LabVIEW Basics I&lt;/code&gt;&amp;nbsp;directory.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Display the front panel, and run the VI. In the filename prompt that appears, select the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;logger.lvm&lt;/code&gt;&amp;nbsp;file that you created&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12273/latest/#step4&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;earlier&lt;/a&gt;.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;The data that was stored in the LabVIEW Measurement File appears in the waveform chart.&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h4 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;You might need to rescale or autoscale the y-axis of the waveform chart to display the data.&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Close the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simple Data Reader&lt;/code&gt;&amp;nbsp;VI.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/3033705746845047659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/simple-data-logger-vi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/3033705746845047659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/3033705746845047659'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/simple-data-logger-vi.html' title='Simple Data Logger VI'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-7622042365714315746</id><published>2010-09-25T07:41:00.001-07:00</published><updated>2010-09-25T07:41:52.798-07:00</updated><title type='text'>Digital Communication Experiments</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;In this module, some digital communication experiments are performed using the NI-ELVIS workbench and the virtual exeriments available in the LanVIEW software.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;para&quot; id=&quot;id1168464193644&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;EXPERIMENT NO: 1&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168464112986&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;ASK Generation&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168472125380&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The method of generating the ASK waveform is given in figure 1.1, along with its corresponding output in figure 1.2.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168465711462&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168465711462_media&quot;&gt;&lt;img alt=&quot;Figure 1 (graphics1.png)&quot; height=&quot;266&quot; id=&quot;id1168465711462__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics1.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;485&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168475348321&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 1.1:&amp;nbsp;&lt;/b&gt;The circuit used to generate the ASK waveform&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168479718862&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168479718862_media&quot;&gt;&lt;img alt=&quot;Figure 2 (graphics2.png)&quot; height=&quot;451&quot; id=&quot;id1168479718862__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics2.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;588&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168475174496&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 1.2:&amp;nbsp;&lt;/b&gt;The message signal with its ASK waveform&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168462850744&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;EXPERIMENT NO: 2&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168479707660&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Sample-and-hold&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168476980400&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The method of generating the sample and hold out is given in figure 2.1, along with its corresponding output in figure 2.2. Incidentally, LF-398 is a sample and hold IC.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168458287401&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168458287401_media&quot;&gt;&lt;img alt=&quot;Figure 3 (graphics3.png)&quot; height=&quot;248&quot; id=&quot;id1168458287401__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics3.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;450&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168454273308&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 2.1:&amp;nbsp;&lt;/b&gt;The circuit used to generate Sample-and-hold output&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168453981109&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 4&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168453981109_media&quot;&gt;&lt;img alt=&quot;Figure 4 (graphics4.png)&quot; height=&quot;440&quot; id=&quot;id1168453981109__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics4.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;649&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168483086817&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 2.2:&amp;nbsp;&lt;/b&gt;The message signal with its corresponding Sample-and-hold output&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168456693776&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;EXPERIMENT NO:&amp;nbsp;&lt;/b&gt;&lt;b class=&quot;emphasis&quot;&gt;3&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168454353684&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;BPSK&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168456527354&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The ‘binary phase shift keying’ (BPSK), output can be obtained using the circuit of figure 3.1. An example output is contained in figure 3.2.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168479682711&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 5&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168479682711_media&quot;&gt;&lt;img alt=&quot;Figure 5 (graphics5.png)&quot; height=&quot;251&quot; id=&quot;id1168479682711__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics5.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;570&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168454144195&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 3.1:&amp;nbsp;&lt;/b&gt;The circuit used to generate BPSK output&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168471218454&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 6&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168471218454_media&quot;&gt;&lt;img alt=&quot;Figure 6 (graphics6.png)&quot; height=&quot;439&quot; id=&quot;id1168471218454__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics6.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;649&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168454603973&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 3.2:&amp;nbsp;&lt;/b&gt;The binary message signal with its corresponding BPSK output&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168453136942&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;EXPERIMENT NO:&amp;nbsp;&lt;/b&gt;&lt;b class=&quot;emphasis&quot;&gt;4&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168458566773&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;FSK&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168472503750&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The ‘binary frequency shift keying’ (BFSK), output can be obtained using the circuit of figure 4.1. An example output is contained in figure 4.2.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168476663502&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 7&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168476663502_media&quot;&gt;&lt;img alt=&quot;Figure 7 (graphics7.png)&quot; height=&quot;272&quot; id=&quot;id1168476663502__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics7.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;418&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168480417934&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 4.1:&amp;nbsp;&lt;/b&gt;The circuit used to generate FSK output&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168455321827&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 8&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168455321827_media&quot;&gt;&lt;img alt=&quot;Figure 8 (graphics8.png)&quot; height=&quot;437&quot; id=&quot;id1168455321827__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics8.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;649&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168457372611&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 4.2:&amp;nbsp;&lt;/b&gt;The binary message signal with its corresponding BFSK output&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168454104384&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;EXPERIMENT NO:&amp;nbsp;&lt;/b&gt;&lt;b class=&quot;emphasis&quot;&gt;5&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168454006918&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Natural sampling&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168463038690&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The method of generating the ‘natural sampled’ signal is given in figure 5.1, while figure 5.2 has the output.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168471916998&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 9&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168471916998_media&quot;&gt;&lt;img alt=&quot;Figure 9 (graphics9.png)&quot; height=&quot;259&quot; id=&quot;id1168471916998__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics9.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;502&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168458538243&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 5.1:&amp;nbsp;&lt;/b&gt;The circuit used to generate ‘Natural-sampled’ waveform&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168458138580&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 10&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168458138580_media&quot;&gt;&lt;img alt=&quot;Figure 10 (graphics10.png)&quot; height=&quot;431&quot; id=&quot;id1168458138580__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics10.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;637&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5230745&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 5.2:&amp;nbsp;&lt;/b&gt;The message signal with its corresponding natural sampled output&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1333959&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;EXPERIMENT NO:&amp;nbsp;&lt;/b&gt;&lt;b class=&quot;emphasis&quot;&gt;6&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168482287720&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Flat-top sampling&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168458234114&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The method of generating the ‘flat-top-sampled’ signal is given in figure 6.1, while figure 6.2 has a typical input and corresponding output.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168472488505&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 11&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168472488505_media&quot;&gt;&lt;img alt=&quot;Figure 11 (graphics11.png)&quot; height=&quot;238&quot; id=&quot;id1168472488505__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics11.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;649&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id2471794&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 6.1:&amp;nbsp;&lt;/b&gt;The circuit used to generate ‘flat-top sampling’&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168454269644&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 12&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168454269644_media&quot;&gt;&lt;img alt=&quot;Figure 12 (graphics12.png)&quot; height=&quot;445&quot; id=&quot;id1168454269644__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics12.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;649&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168454128175&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 6.2:&amp;nbsp;&lt;/b&gt;The message signal with its corresponding Flat-top sampled output&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168454178013&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;EXPERIMENT NO:&amp;nbsp;&lt;/b&gt;&lt;b class=&quot;emphasis&quot;&gt;7&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168462297266&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;PAM-TDM&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168461826585&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The method of generating the two channel pulse-amplitude-modulation time-division-multiplexed (PAM-TDM) output is given in figure 7.1, while a typical output is contained in figure 3, with figure 2 having the two message signals. A straight forward extension to include more analog channels is possible.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168475088941&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 13&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168475088941_media&quot;&gt;&lt;img alt=&quot;Figure 13 (graphics13.png)&quot; height=&quot;275&quot; id=&quot;id1168475088941__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics13.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;485&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168454308099&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 7.1:&amp;nbsp;&lt;/b&gt;The circuit used to generate two channel PAM-TDM&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168457348994&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 14&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168457348994_media&quot;&gt;&lt;img alt=&quot;Figure 14 (graphics14.png)&quot; height=&quot;400&quot; id=&quot;id1168457348994__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics14.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;595&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168458085986&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 7.2:&amp;nbsp;&lt;/b&gt;The two message signals to be time division multiplexed.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168480790262&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168469870372&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 15&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168469870372_media&quot;&gt;&lt;img alt=&quot;Figure 15 (graphics15.png)&quot; height=&quot;438&quot; id=&quot;id1168469870372__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics15.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;650&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168454058257&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 7.3:&amp;nbsp;&lt;/b&gt;The carrier, and the corresponding PAM-TDM waveform&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168466502130&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;EXPERIMENT NO:&amp;nbsp;&lt;/b&gt;&lt;b class=&quot;emphasis&quot;&gt;8&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168464760518&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;QPSK&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168480568566&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The blocks used for the generation of quadrature phase shift keying (QPSK), output are given in figure 8.1, while the signals at various stages are contained in figures 8.2 through 8.4.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168472165601&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 16&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168472165601_media&quot;&gt;&lt;img alt=&quot;Figure 16 (graphics16.png)&quot; height=&quot;370&quot; id=&quot;id1168472165601__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics16.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;457&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168454182305&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 8.1:&amp;nbsp;&lt;/b&gt;The block diagram used to generate QPSK output&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168471513184&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168455224900&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 17&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168455224900_media&quot;&gt;&lt;img alt=&quot;Figure 17 (graphics17.png)&quot; height=&quot;445&quot; id=&quot;id1168455224900__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics17.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;650&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168461852559&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 8.2:&amp;nbsp;&lt;/b&gt;The binary inputs to the BPSK modulators of figure 1 (the signals b&lt;sub class=&quot;sub&quot;&gt;1&lt;/sub&gt;(t) and b&lt;sub class=&quot;sub&quot;&gt;2&lt;/sub&gt;(t))&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id5349418&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168461851510&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 18&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168461851510_media&quot;&gt;&lt;img alt=&quot;Figure 18 (graphics18.png)&quot; height=&quot;448&quot; id=&quot;id1168461851510__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics18.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;650&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168468293053&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 8.3:&amp;nbsp;&lt;/b&gt;The two inputs to the adder of figure 1 (the signals s&lt;sub class=&quot;sub&quot;&gt;1&lt;/sub&gt;(t) and s&lt;sub class=&quot;sub&quot;&gt;2&lt;/sub&gt;(t))&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168472393738&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id1168458136793&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 19&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id1168458136793_media&quot;&gt;&lt;img alt=&quot;Figure 19 (graphics19.png)&quot; height=&quot;647&quot; id=&quot;id1168458136793__onlineimage&quot; src=&quot;http://cnx.org/content/m34938/latest/graphics19.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;649&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id1168454363302&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;b class=&quot;emphasis&quot;&gt;Figure 8.4:&amp;nbsp;&lt;/b&gt;The two BPSK waveforms along with the corresponding QPSK waveform&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/7622042365714315746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/digital-communication-experiments.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/7622042365714315746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/7622042365714315746'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/digital-communication-experiments.html' title='Digital Communication Experiments'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-7949922877815810683</id><published>2010-09-25T07:40:00.001-07:00</published><updated>2010-09-25T07:40:54.433-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Acquiring a Signal VI"/><title type='text'>Acquiring a Signal VI</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;span&quot;&gt;Explore the LabVIEW enviroment by creating a VI that generates a signal and displays it on the front panel.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;span&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div id=&quot;cnx_main&quot; style=&quot;line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;exercise&quot; id=&quot;e1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;h2 class=&quot;exercise-header&quot; style=&quot;font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;EXERCISE 1&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;problem&quot; style=&quot;margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.5em;&quot;&gt;&lt;div class=&quot;para&quot; id=&quot;para1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;In the following exercise, you will build a VI that generates a signal and displays that signal in a graph. LabVIEW provides templates containing information from which you can build a VI. These templates help you get started with LabVIEW.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;para2&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Complete the following steps to create a VI that generates a signal and displays it on the front panel.&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Launch LabVIEW.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;In the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;LabVIEW&lt;/code&gt;&amp;nbsp;dialog box that appears, shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12196/latest/#f1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 1&lt;/span&gt;&lt;/a&gt;, click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;New&lt;/code&gt;&amp;nbsp;button to display the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;New&lt;/code&gt;&amp;nbsp;dialog box.&lt;br /&gt;
&lt;div class=&quot;figure&quot; id=&quot;f1&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 1 (LabVIEWdialogbox.png)&quot; src=&quot;http://cnx.org/content/m12196/latest/LabVIEWdialogbox.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;VI from Template&amp;gt;&amp;gt;Tutorial (Getting Started)&amp;gt;&amp;gt;Generate and Display&lt;/code&gt;&amp;nbsp;in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Create new&lt;/code&gt;&amp;nbsp;list. This template VI generates and displays a signal. Notice that previews of the template VI appear in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Front panel preview&lt;/code&gt;&amp;nbsp;and the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Block diagram preview&lt;/code&gt;&amp;nbsp;sections. The&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12196/latest/#f2&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 2&lt;/span&gt;&lt;/a&gt;&amp;nbsp;shows the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;New&lt;/code&gt;&amp;nbsp;dialog box and the&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Generate and Display template&lt;/code&gt;&amp;nbsp;VI.&lt;br /&gt;
&lt;div class=&quot;figure&quot; id=&quot;f2&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 2 (newdialogbox.png)&quot; src=&quot;http://cnx.org/content/m12196/latest/newdialogbox.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;OK&lt;/code&gt;&amp;nbsp;button to open the template. You also can double-click the name of the template VI in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Create new&lt;/code&gt;&amp;nbsp;list to open the template.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Examine the front panel of the VI. The user interface, or front panel, appears with a gray background and includes controls and indicators. The title bar of the front panel indicates that this window is the front panel for the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Generate and Display&lt;/code&gt;&amp;nbsp;VI.&lt;br /&gt;
&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;If the front panel is not visible, you can display the front panel by selecting&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Window&amp;gt;&amp;gt;Show Front Panel&lt;/code&gt;.&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Examine the block diagram of the VI. The block diagram appears with a white background and includes VIs and structures that control the front panel objects. The title bar of the block diagram indicates that this window is the block diagram for the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Generate and Display&lt;/code&gt;&amp;nbsp;VI.&lt;br /&gt;
&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;If the block diagram is not visible, you can display the block diagram by selecting&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Window&amp;gt;&amp;gt;Show Block Diagram&lt;/code&gt;.&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;run.png&quot; src=&quot;http://cnx.org/content/m12196/latest/run.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;On the front panel toolbar, click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Run&lt;/code&gt;&amp;nbsp;button, shown at left. Notice that a sine wave appears on the graph.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;stopbutton.png&quot; src=&quot;http://cnx.org/content/m12196/latest/stopbutton.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Stop the VI by clicking the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Stop&lt;/code&gt;&amp;nbsp;button, shown at left, on the front panel.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;section1&quot; style=&quot;margin-bottom: 2.5em; margin-left: 3em; margin-right: 0px; margin-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1em; font-weight: normal; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;1.A)&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Adding a Control to the Front Panel&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;para3&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Controls on the front panel simulate the input devices on a physical instrument and supply data to the block diagram of the VI. Many physical instruments have knobs you can turn to change an input value. Complete the following steps to add a knob control to the front panel.&lt;/div&gt;&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h4 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;TIP:&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;Throughout these exercises, you can undo recent edits by selecting&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Edit&amp;gt;&amp;gt;Undo&lt;/code&gt;&amp;nbsp;or pressing the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Ctrl-Z&lt;/code&gt;&amp;nbsp;keys.&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list2&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;If the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Controls&lt;/code&gt;&amp;nbsp;palette is not visible on the front panel, select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Window&amp;gt;&amp;gt;Show Controls Palette&lt;/code&gt;&amp;nbsp;to display it.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Move the cursor over the icons on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Controls&lt;/code&gt;&amp;nbsp;palette to locate the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Numeric Controls&lt;/code&gt;&amp;nbsp;palette. Notice that when you move the cursor over icons on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Controls&lt;/code&gt;palette, the name of that subpalette appears in the gray space above all the icons on the palette. When you idle the cursor over any icon on any palette, the full name of the subpalette, control, or indicator appears.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Numeric Controls&lt;/code&gt;&amp;nbsp;icon to access the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Numeric Controls&lt;/code&gt;&amp;nbsp;palette.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Select the knob control on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Numeric Controls&lt;/code&gt;&amp;nbsp;palette and place it on the front panel to the left of the waveform graph. You will use this knob in a later exercise to control the amplitude of a signal.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;File&amp;gt;&amp;gt;Save As&lt;/code&gt;&amp;nbsp;and save this VI as&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Acquiring a Signal.vi&lt;/code&gt;&amp;nbsp;in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;C:\Exercises\LabVIEW Basics I&lt;/code&gt;&amp;nbsp;directory.&lt;br /&gt;
&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h4 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;Save all the VIs you edit or create in this course in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;C:\Exercises\LabVIEW Basics I&lt;/code&gt;&amp;nbsp;directory.&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;section2&quot; style=&quot;margin-bottom: 2.5em; margin-left: 3em; margin-right: 0px; margin-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1em; font-weight: normal; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;1.B)&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Changing the Signal Type&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;para4&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The block diagram has a blue icon labeled&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simulate Signal&lt;/code&gt;. This icon represents the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simulate Signal&lt;/code&gt;&amp;nbsp;Express VI. The&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simulate Signal&lt;/code&gt;&amp;nbsp;Express VI simulates a sine wave by default. Complete the following steps to change this signal to a sawtooth wave.&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list3&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Display the block diagram by selecting&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Window&amp;gt;&amp;gt;Show Block Diagram&lt;/code&gt;&amp;nbsp;or by clicking the block diagram.&amp;nbsp;&lt;span class=&quot;media&quot; id=&quot;m2&quot;&gt;&lt;img alt=&quot;simulatesignalexpVI.png&quot; src=&quot;http://cnx.org/content/m12196/latest/simulatesignalexpVI.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Notice the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simulate Signal&lt;/code&gt;&amp;nbsp;Express VI, shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12196/latest/#m2&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Media 5&lt;/span&gt;&lt;/a&gt;. An Express VI is a component of the block diagram that you can configure to perform common measurement tasks. The&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simulate Signal&lt;/code&gt;&amp;nbsp;Express VI simulates a signal based on the configuration that you specify.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Right-click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simulate Signal&lt;/code&gt;&amp;nbsp;Express VI and select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Properties&lt;/code&gt;&amp;nbsp;from the shortcut menu to display the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Configure Simulate Signal&lt;/code&gt;&amp;nbsp;dialog box.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Sawtooth&lt;/code&gt;&amp;nbsp;from the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Signal type&lt;/code&gt;&amp;nbsp;pull-down menu. Notice that the waveform on the graph in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Result Preview&lt;/code&gt;&amp;nbsp;section changes to a sawtooth wave. The&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Configure Simulate Signal&lt;/code&gt;&amp;nbsp;dialog box should appear similar to&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12196/latest/#f3&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 3&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;div class=&quot;figure&quot; id=&quot;f3&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 3 (configuresimulatesignal.png)&quot; height=&quot;492&quot; src=&quot;http://cnx.org/content/m12196/latest/configuresimulatesignal.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;OK&lt;/code&gt;&amp;nbsp;button to apply the current configuration and close the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Configure Simulate Signal&lt;/code&gt;&amp;nbsp;dialog box.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Move the cursor over the down arrows at the bottom of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simulate Signal&lt;/code&gt;&amp;nbsp;Express VI.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;expandVI.png&quot; src=&quot;http://cnx.org/content/m12196/latest/expandVI.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;When a double-headed arrow appears, shown at left, click and drag the border of the Express VI until the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Amplitude&lt;/code&gt;&amp;nbsp;input appears. Notice how you expanded the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simulate Signal&lt;/code&gt;&amp;nbsp;Express VI to display a new input. Because the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Amplitude&lt;/code&gt;&amp;nbsp;input appears on the block diagram, you can configure the amplitude of the sawtooth wave on the block diagram. In&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12196/latest/#f3&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 3&lt;/span&gt;&lt;/a&gt;, notice how&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Amplitude&lt;/code&gt;&amp;nbsp;is an option in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Configure Simulate Signal&lt;/code&gt;&amp;nbsp;dialog box. When inputs, such as&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Amplitude&lt;/code&gt;, appear on the block diagram and in the configuration dialog box, you can configure the inputs in either location.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;section3&quot; style=&quot;margin-bottom: 2.5em; margin-left: 3em; margin-right: 0px; margin-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1em; font-weight: normal; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;1.C)&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Wiring Objects on the Block Diagram&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;para5&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;To use the knob control to change the amplitude of the signal, you must connect the two objects on the block diagram. Complete the following steps to wire the knob to the&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Amplitude&lt;/code&gt;&amp;nbsp;input on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simulate Signal&lt;/code&gt;&amp;nbsp;Express VI.&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list4&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;iconterminal.png&quot; src=&quot;http://cnx.org/content/m12196/latest/iconterminal.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Move the cursor over the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Knob&lt;/code&gt;&amp;nbsp;terminal, shown at left, until the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Positioning&lt;/code&gt;&amp;nbsp;tool appears.&amp;nbsp;&lt;span class=&quot;media&quot; id=&quot;m3&quot;&gt;&lt;img alt=&quot;position.png&quot; src=&quot;http://cnx.org/content/m12196/latest/position.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Notice how the cursor becomes an arrow, or the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Positioning&lt;/code&gt;tool, shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12196/latest/#m3&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Media 9&lt;/span&gt;&lt;/a&gt;. Use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Positioning&lt;/code&gt;&amp;nbsp;tool to select, position, and resize objects.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;m4&quot;&gt;&lt;img alt=&quot;loop.png&quot; src=&quot;http://cnx.org/content/m12196/latest/loop.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Knob&lt;/code&gt;&amp;nbsp;terminal to select it, then drag the terminal to the left of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simulate Signal&lt;/code&gt;&amp;nbsp;Express VI. Make sure the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Knob&lt;/code&gt;&amp;nbsp;terminal is inside the loop, shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12196/latest/#m4&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Media 10&lt;/span&gt;&lt;/a&gt;. The terminals are representations of front panel controls and indicators. Terminals are entry and exit ports that exchange information between the front panel and block diagram.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Deselect the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Knob&lt;/code&gt;&amp;nbsp;terminal by clicking a blank space on the block diagram.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;m5&quot;&gt;&lt;img alt=&quot;iconterminal.png&quot; src=&quot;http://cnx.org/content/m12196/latest/iconterminal.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Move the cursor over the arrow of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Knob&lt;/code&gt;&amp;nbsp;terminal, shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12196/latest/#m5&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Media 11&lt;/span&gt;&lt;/a&gt;.&amp;nbsp;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;wiring.png&quot; src=&quot;http://cnx.org/content/m12196/latest/wiring.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Notice how the cursor becomes a wire spool, or the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Wiring&lt;/code&gt;&amp;nbsp;tool, shown at left. Use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Wiring&lt;/code&gt;&amp;nbsp;tool to wire objects together on the block diagram.&lt;br /&gt;
&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h4 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;The cursor does not switch to another tool while an object is selected.&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;m6&quot;&gt;&lt;img alt=&quot;ampwiring.png&quot; src=&quot;http://cnx.org/content/m12196/latest/ampwiring.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;When the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Wiring&lt;/code&gt;&amp;nbsp;tool appears, click the arrow and then click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Amplitude&lt;/code&gt;&amp;nbsp;input of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simulate Signal&lt;/code&gt;&amp;nbsp;Express VI, shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12196/latest/#m6&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Media 13&lt;/span&gt;&lt;/a&gt;, to wire the two objects together. Notice that a wire appears and connects the two objects. Data flows along this wire from the terminal to the Express VI.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;File&amp;gt;&amp;gt;Save&lt;/code&gt;&amp;nbsp;to save this VI.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;section4&quot; style=&quot;margin-bottom: 2.5em; margin-left: 3em; margin-right: 0px; margin-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1em; font-weight: normal; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;1.D)&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Running the VI&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;para6&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Running a VI executes your solution. Complete the following steps to run the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Acquiring a Signal&lt;/code&gt;&amp;nbsp;VI.&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list5&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Display the front panel by selecting&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Window&amp;gt;&amp;gt;Show Front Panel&lt;/code&gt;&amp;nbsp;or by clicking the front panel.&lt;br /&gt;
&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h4 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;TIP:&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;Press the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Ctrl-E&lt;/code&gt;&amp;nbsp;keys to switch from the front panel to the block diagram or from the block diagram to the front panel.&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Run&lt;/code&gt;&amp;nbsp;button.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Move the cursor over the knob control.&amp;nbsp;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;operate.png&quot; src=&quot;http://cnx.org/content/m12196/latest/operate.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Notice how the cursor becomes a hand, or the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Operating&lt;/code&gt;&amp;nbsp;tool, shown at left. Use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Operating&lt;/code&gt;&amp;nbsp;tool to change the value of a control or select the text within a control.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Using the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Operating&lt;/code&gt;&amp;nbsp;tool, turn the knob to adjust the amplitude of the sawtooth wave. Notice how the amplitude of the sawtooth wave changes as you turn the knob. Also notice that the y-axis on the graph autoscales to account for the change in amplitude.&amp;nbsp;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;runtop.png&quot; src=&quot;http://cnx.org/content/m12196/latest/runtop.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;To indicate that the VI is running, the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Run&lt;/code&gt;&amp;nbsp;button changes to a darkened arrow, shown at left. You cannot edit the front panel or block diagram while the VI runs.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;stopbutton.png&quot; src=&quot;http://cnx.org/content/m12196/latest/stopbutton.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Stop&lt;/code&gt;&amp;nbsp;button, shown at left, to stop the VI.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h4 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;Although&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Abort Execution&lt;/code&gt;&amp;nbsp;button looks like a stop button, the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Abort Execution&lt;/code&gt;&amp;nbsp;button does not always properly close the VI. National Instruments recommends stopping your VIs using the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Stop&lt;/code&gt;&amp;nbsp;button on the front panel. Use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Abort Execution&lt;/code&gt;&amp;nbsp;button only when errors prevent you from terminating the application using the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Stop&lt;/code&gt;&amp;nbsp;button.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;section5&quot; style=&quot;margin-bottom: 2.5em; margin-left: 3em; margin-right: 0px; margin-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1em; font-weight: normal; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;1.E)&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Modifying the Signal&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;para7&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Complete the following steps to add scaling to the signal and display the results in the graph on the front panel.&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list6&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;m7&quot;&gt;&lt;img alt=&quot;selectingawire.png&quot; src=&quot;http://cnx.org/content/m12196/latest/selectingawire.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;On the block diagram, use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Positioning&lt;/code&gt;&amp;nbsp;tool to double-click the wire that connects the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simulate Signal&lt;/code&gt;&amp;nbsp;Express VI to the&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Waveform Graph&lt;/code&gt;&amp;nbsp;terminal shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12196/latest/#m7&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Media 17&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Press the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Delete&lt;/code&gt;&amp;nbsp;key to delete this wire.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;If the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&lt;/code&gt;&amp;nbsp;palette is not visible on the block diagram, select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Window&amp;gt;&amp;gt;Show Functions Palette&lt;/code&gt;&amp;nbsp;to display it.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;ScalingandMapping.png&quot; src=&quot;http://cnx.org/content/m12196/latest/ScalingandMapping.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Select the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Scaling and Mapping&lt;/code&gt;&amp;nbsp;Express VI, shown at left, on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Arithmetic &amp;amp; Comparison&lt;/code&gt;&amp;nbsp;palette and place it on the block diagram inside the loop between the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simulate Signal&lt;/code&gt;&amp;nbsp;Express VI and the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Waveform Graph&lt;/code&gt;&amp;nbsp;terminal. If there is no room between the Express VI and the terminal, move the&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Waveform Graph&lt;/code&gt;&amp;nbsp;terminal to the right. Notice that the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Configure Scaling and Mapping&lt;/code&gt;&amp;nbsp;dialog box automatically opens when you place the Express VI on the block diagram.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Define the value of the scaling factor by entering&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id1167427049579&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1167427049584&quot;&gt;&lt;span class=&quot;mn&quot;&gt;10&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Slope (m)&lt;/code&gt;&amp;nbsp;text box. The&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Configure Scaling and Mapping&lt;/code&gt;&amp;nbsp;dialog box should appear similar to&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12196/latest/#f4&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 4&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;div class=&quot;figure&quot; id=&quot;f4&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 4&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 4 (configurescaling.png)&quot; src=&quot;http://cnx.org/content/m12196/latest/configurescaling.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;OK&lt;/code&gt;&amp;nbsp;button to apply the current configuration and close the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Configure Scaling and Mapping&lt;/code&gt;&amp;nbsp;dialog box.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Move the cursor over the arrow on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Sawtooth&lt;/code&gt;&amp;nbsp;output of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simulate Signal&lt;/code&gt;&amp;nbsp;Express VI.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;m8&quot;&gt;&lt;img alt=&quot;simulatewirescale.png&quot; src=&quot;http://cnx.org/content/m12196/latest/simulatewirescale.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;When the Wiring tool appears, click the arrow and then click the arrow on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Signals&lt;/code&gt;&amp;nbsp;input of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Scaling and Mapping&lt;/code&gt;&amp;nbsp;Express VI, shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12196/latest/#m8&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Media 20&lt;/span&gt;&lt;/a&gt;, to wire the two objects together.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Using the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Wiring&lt;/code&gt;&amp;nbsp;tool, wire the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Scaled Signals&lt;/code&gt;&amp;nbsp;output of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Scaling and Mapping&lt;/code&gt;&amp;nbsp;Express VI to the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Waveform Graph&lt;/code&gt;&amp;nbsp;terminal. Notice the wires connecting the Express VIs and terminals. The arrows on the Express VIs and terminals indicate the direction that the data flows along these wires. The block diagram should appear similar to&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12196/latest/#f5&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 5&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;div class=&quot;figure&quot; id=&quot;f5&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 5&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 5 (acquiresignalbdnomerge.png)&quot; src=&quot;http://cnx.org/content/m12196/latest/acquiresignalbdnomerge.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h4 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;The terminals in the block diagram are set to display as icons. To display a terminal as a data type on the block diagram, right-click the terminal and select&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;View As Icon&lt;/code&gt;&amp;nbsp;from the shortcut menu to remove the checkmark.&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;File&amp;gt;&amp;gt;Save&lt;/code&gt;&amp;nbsp;to save this VI.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;section6&quot; style=&quot;margin-bottom: 2.5em; margin-left: 3em; margin-right: 0px; margin-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1em; font-weight: normal; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;1.F)&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Displaying Two Signals on the Graph&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;para8&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;To compare the signal generated by the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simulate Signal&lt;/code&gt;&amp;nbsp;Express VI and the signal modified by the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Scaling and Mapping&lt;/code&gt;&amp;nbsp;Express VI on the same graph, use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Merge Signals&lt;/code&gt;&amp;nbsp;function. Complete the following steps to display two signals on the same graph.&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list7&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Move the cursor over the arrow on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Sawtooth&lt;/code&gt;&amp;nbsp;output of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simulate Signal&lt;/code&gt;&amp;nbsp;Express VI.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Using the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Wiring&lt;/code&gt;&amp;nbsp;tool, wire the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Sawtooth&lt;/code&gt;&amp;nbsp;output to the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Waveform Graph&lt;/code&gt;&amp;nbsp;terminal.&amp;nbsp;&lt;span class=&quot;media&quot; id=&quot;m9&quot;&gt;&lt;img alt=&quot;mergewires.png&quot; src=&quot;http://cnx.org/content/m12196/latest/mergewires.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;The&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Merge Signals&lt;/code&gt;&amp;nbsp;function, shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12196/latest/#m9&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Media 22&lt;/span&gt;&lt;/a&gt;, appears where the two wires connect. This function takes the two separate signals and combines them so that both can be displayed on the same graph. The block diagram should appear similar to&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12196/latest/#f6&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 6&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;div class=&quot;figure&quot; id=&quot;f6&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 6&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 6 (acquiresignalbd.png)&quot; src=&quot;http://cnx.org/content/m12196/latest/acquiresignalbd.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;File&amp;gt;&amp;gt;Save&lt;/code&gt;&amp;nbsp;to save this VI. You also can press the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Ctrl-S&lt;/code&gt;&amp;nbsp;keys to save a VI.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Return to the front panel, run the VI, and turn the knob control. Notice that the graph plots the sawtooth wave and the scaled signal. Also notice that the maximum value on the y-axis automatically changes to be&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id1167427104317&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1167427104322&quot;&gt;&lt;span class=&quot;mn&quot;&gt;10&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;times the knob value. This scaling occurs because you set the slope to&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id1167427104334&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1167427104340&quot;&gt;&lt;span class=&quot;mn&quot;&gt;10&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;in the Scaling and Mapping Express VI.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Stop&lt;/code&gt;&amp;nbsp;button.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;section7&quot; style=&quot;margin-bottom: 2.5em; margin-left: 3em; margin-right: 0px; margin-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1em; font-weight: normal; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;1.G)&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Customizing the Knob&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;para9&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The knob control changes the amplitude of the sawtooth wave so labeling it&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Amplitude&lt;/code&gt;&amp;nbsp;accurately describes the function of the knob. Complete the following steps to customize the appearance of a control on the front panel.&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list8&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Right-click the knob and select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Properties&lt;/code&gt;&amp;nbsp;from the shortcut menu to display the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Knob Properties&lt;/code&gt;&amp;nbsp;dialog box.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;In the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Label&lt;/code&gt;&amp;nbsp;section on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Appearance&lt;/code&gt;&amp;nbsp;tab, delete the label Knob, and type&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Amplitude&lt;/code&gt;&amp;nbsp;in the text box. The&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Knob Properties&lt;/code&gt;&amp;nbsp;dialog box should appear similar to&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12196/latest/#f7&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 7&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;div class=&quot;figure&quot; id=&quot;f7&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 7&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 7 (knobproperties.png)&quot; src=&quot;http://cnx.org/content/m12196/latest/knobproperties.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Scale&lt;/code&gt;&amp;nbsp;tab and, in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Scale Range&lt;/code&gt;&amp;nbsp;section, change the maximum value to&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id1167426323418&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1167426323423&quot;&gt;&lt;span class=&quot;mn&quot;&gt;5.0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;. Notice how the knob on the front panel instantly updates to reflect these changes.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;OK&lt;/code&gt;&amp;nbsp;button to apply the current configuration and close the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Knob Properties&lt;/code&gt;&amp;nbsp;dialog box.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Save this VI.&lt;br /&gt;
&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h4 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;TIP:&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;As you build VIs, you can experiment with different properties and configurations. You also can add and delete objects. Remember, you can undo recent edits by selecting&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Edit&amp;gt;&amp;gt;Undo&lt;/code&gt;&amp;nbsp;or pressing the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Ctrl-Z&lt;/code&gt;&amp;nbsp;keys.&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Experiment with other properties of the knob by using the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Knob Properties&lt;/code&gt;&amp;nbsp;dialog box. For example, try changing the colors for the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Marker Text Color&lt;/code&gt;&amp;nbsp;by clicking the color box located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Scale&lt;/code&gt;&amp;nbsp;tab.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Cancel&lt;/code&gt;&amp;nbsp;button to avoid applying the changes you made while experimenting. If you want to keep the changes you made, click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;OK&lt;/code&gt;&amp;nbsp;button.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;section8&quot; style=&quot;margin-bottom: 2.5em; margin-left: 3em; margin-right: 0px; margin-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1em; font-weight: normal; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;1.H)&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Customizing the Waveform Graph&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;para10&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;waveform graph&lt;/code&gt;&amp;nbsp;indicator displays the two signals. To indicate which plot is the scaled signal and which is the simulated signal, you customize the plots. Complete the following steps to customize the appearance of an indicator on the front panel.&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list9&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Move the cursor over the top of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;plot legend&lt;/code&gt;&amp;nbsp;on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;waveform graph&lt;/code&gt;. Notice that while there are two plots on the graph, the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;plot legend&lt;/code&gt;&amp;nbsp;displays only one plot.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;When a double-headed arrow appears, shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12196/latest/#f8&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 8&lt;/span&gt;&lt;/a&gt;, click and drag the border of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;plot legend&lt;/code&gt;&amp;nbsp;until the second plot name appears.&lt;br /&gt;
&lt;div class=&quot;figure&quot; id=&quot;f8&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 8&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 8 (expandplotlegend.png)&quot; src=&quot;http://cnx.org/content/m12196/latest/expandplotlegend.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Right-click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;waveform graph&lt;/code&gt;&amp;nbsp;and select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Properties&lt;/code&gt;&amp;nbsp;from the shortcut menu to display the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Graph Properties&lt;/code&gt;&amp;nbsp;dialog box.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;On the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Plots&lt;/code&gt;&amp;nbsp;tab, select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Sawtooth&lt;/code&gt;&amp;nbsp;from the pull-down menu. Click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Line Color&lt;/code&gt;&amp;nbsp;color box to display the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;color picker&lt;/code&gt;. Select a new line color.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Sawtooth (Scaled)&lt;/code&gt;&amp;nbsp;from the pull-down menu.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Place a checkmark in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Don&#39;t use waveform names for plot names&lt;/code&gt;&amp;nbsp;checkbox.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;In the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Name&lt;/code&gt;&amp;nbsp;text box, delete the current label and change the name of this plot to&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Scaled Sawtooth&lt;/code&gt;.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;OK&lt;/code&gt;&amp;nbsp;button to apply the current configuration and close the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Graph Properties&lt;/code&gt;&amp;nbsp;dialog box. Notice how the plot color on the front panel changes.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Experiment with other properties of the graph by using the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Graph Properties&lt;/code&gt;&amp;nbsp;dialog box. For example, try disabling the autoscale feature located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Scales&lt;/code&gt;&amp;nbsp;tab.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Cancel&lt;/code&gt;&amp;nbsp;button to avoid applying the changes you made while experimenting. If you want to keep the changes you made, click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;OK&lt;/code&gt;&amp;nbsp;button.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Save and close this VI.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;GIVE FEEDBACK:&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/7949922877815810683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/acquiring-signal-vi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/7949922877815810683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/7949922877815810683'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/acquiring-signal-vi.html' title='Acquiring a Signal VI'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-3427481762563992984</id><published>2010-09-25T07:39:00.001-07:00</published><updated>2010-09-25T07:39:04.944-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Eye Diagram"/><title type='text'>Intersymbol Interference (ISI) and the Eye Diagram</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;This project studies intersymbol interference (ISI) in an intuitive way by using a LabVIEW VI to simulate a pulse transmitter, finite bandwidth channel, and received signaling waveform. Rectangular pulses are considered first to demonstrate the ISI problem, and then two alternative pulse shapes are explored as a way to minimize ISI. The eye diagram is also introduced in this project as a visual aid to present the time-domain signaling waveform to promote understanding of the ISI phenomenon.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;portletContainer&quot; id=&quot;cnx_author_links&quot; style=&quot;background-color: white; border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; float: right; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 2.5em; padding-bottom: 0.5em; padding-left: 1.5em; position: relative; width: 15em; z-index: 1;&quot;&gt;&lt;br /&gt;
&lt;dl class=&quot;portlet&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;dt class=&quot;portletHeader&quot; style=&quot;color: #333333; font-family: arial, helvetica, sans-serif; font-size: 1.1em; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0px; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0px; position: relative; text-transform: none; z-index: 1;&quot;&gt;&lt;span&gt;&lt;h2 style=&quot;float: none; font-size: 1em; margin-bottom: 0px; margin-left: 0.5em; margin-right: 0.5em; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Links&lt;/h2&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd class=&quot;portletItem odd&quot; id=&quot;cnx_author_links_togglers&quot; style=&quot;clear: none; font-size: 1em; margin-bottom: 1em; margin-left: 2em; margin-right: 1em; margin-top: -1.25em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; position: relative; z-index: 1;&quot;&gt;&lt;div class=&quot;cnx_toggler&quot; id=&quot;cnx_author_links_collapse&quot; style=&quot;display: block; text-align: right;&quot;&gt;[&lt;a href=&quot;http://cnx.org/content/m18662/latest/#&quot; style=&quot;color: #336699;&quot;&gt;hide&lt;span class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; color: #336699; cursor: pointer; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; text-decoration: underline; top: -500px !important; width: 1px !important;&quot;&gt;links&lt;/span&gt;&lt;/a&gt;]&lt;/div&gt;&lt;/dd&gt;&lt;dd class=&quot;portletItem even&quot; id=&quot;cnx_author_links_contents&quot; style=&quot;clear: left; font-size: 1em; margin-bottom: 1.5em; margin-left: 2em; margin-right: 1em; margin-top: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Supplemental links&lt;/h3&gt;&lt;ul class=&quot;links&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: url(http://cnx.org/cnx-styles/newlook/bullet.gif); list-style-type: square; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: 0px -3px; background-repeat: no-repeat no-repeat; display: block; list-style-image: none; list-style-position: initial; list-style-type: none; margin-bottom: 0.3em; margin-left: 14px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a href=&quot;http://cnx.org/content/m15519/latest/&quot; style=&quot;color: #336699;&quot; title=&quot;Related link&quot;&gt;&lt;img alt=&quot;Related link&quot; src=&quot;http://cnx.org/cnx-styles/newlook/strength2.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-left: -14px; padding-right: 4px;&quot; /&gt;Introduction to ISI&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;table&quot; id=&quot;labview_banner&quot; style=&quot;margin-bottom: 1.5em; margin-left: 0px; margin-right: 0px; margin-top: 1.5em; text-align: center; width: 1058px;&quot;&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-bottom-color: rgb(102, 102, 102) !important; border-bottom-style: solid; border-bottom-width: 0px !important; border-collapse: collapse; border-color: initial; border-left-color: rgb(102, 102, 102) !important; border-left-style: solid; border-left-width: 0px !important; border-right-color: rgb(102, 102, 102) !important; border-right-style: solid; border-right-width: 0px !important; border-top-color: rgb(102, 102, 102) !important; border-top-style: solid; border-top-width: 0px !important;&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;table-text&quot; style=&quot;line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;TABLE 1&lt;/span&gt;&lt;/caption&gt;&lt;colgroup&gt;&lt;col width=&quot;1*&quot;&gt;&lt;/col&gt;&lt;col style=&quot;width: 6in;&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign=&quot;top&quot;&gt;
&lt;tr&gt;&lt;td rowspan=&quot;4&quot; style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;LabVIEWtop.png&quot; src=&quot;http://cnx.org/content/m18662/latest/LabVIEWtop.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;This module refers to LabVIEW, a software development environment that features a graphical programming language. Please see the&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m15428/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;LabVIEW QuickStart Guide&lt;/a&gt;&amp;nbsp;module for tutorials and documentation that will help you:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;• Apply LabVIEW to Audio Signal Processing&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;• Get started with LabVIEW&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom-color: initial !important; border-bottom-style: initial !important; border-bottom-width: 0px !important; border-collapse: collapse; border-left-color: initial !important; border-left-style: initial !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: initial !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: initial !important; border-top-width: 0px !important; padding-bottom: 0.3em !important; padding-left: 0.3em !important; padding-right: 0.3em !important; padding-top: 0.3em !important; text-align: left !important;&quot;&gt;• Obtain a fully-functional evaluation edition of LabVIEW&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h2 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;Visit&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m17319/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;LabVIEW Setup&lt;/a&gt;&amp;nbsp;to learn how to adjust your own LabVIEW environment to match the settings used by the LabVIEW screencast video(s) in this module. Click the &quot;Fullscreen&quot; button at the lower right corner of the video player if the video does not fit properly within your browser window.&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec1&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Summary&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par2&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;This project studies intersymbol interference (ISI) in an intuitive way by using a LabVIEW VI to simulate a pulse transmitter, finite bandwidth channel, and received signaling waveform. Rectangular pulses are considered first to demonstrate the ISI problem, and then two alternative pulse shapes are explored as a way to minimize ISI. The eye diagram is also introduced in this project as a visual aid to present the time-domain signaling waveform to promote understanding of the ISI phenomenon.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec3&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Objectives&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;list&quot; id=&quot;list4&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Understand the root cause of intersymbol interference (ISI)&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Explain the significance of the sinc pulse and raised cosine pulse as a means to eliminate ISI&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Understand the construction of an eye diagram&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Be able to measure performance metrics (peak ISI, noise margin, jitter, and timing sensitivity) directly from the eye diagram&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec5&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Deliverables&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;list&quot; id=&quot;list6&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Summary write-up of your results&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Any plots or diagrams requested&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;You can easily export LabVIEW front-panel waveform plots directly to your report. Right-click on the waveform indicator and choose &quot;Export Simplified Image.&quot;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec7&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Setup&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;list&quot; id=&quot;list8&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;LabVIEW 8.5 or later version&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec9&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Textbook Linkages&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par10&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Refer to the following textbooks for additional background on the project activities of this module; see the &quot;References&quot; section below for publication details:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list11&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Carlson, Crilly, and Rutledge -- Ch 11&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Couch -- Ch 3&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Haykin -- Ch 4&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Haykin and Moher -- Ch 6&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Proakis and Salehi (FCS) -- Ch 9&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Proakis and Salehi (CSE) -- Ch 8&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Stern and Mahmoud -- Ch 4&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec12&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Prerequisite Modules&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par13&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;If you are relatively new to LabVIEW, consider taking the course&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/col10440/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;LabVIEW Techniques for Audio Signal Processing&lt;/a&gt;&amp;nbsp;which provides the foundation you need to complete this project activity, including: block diagram editing techniques, essential programming structures, subVIs, arrays, and audio.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec14&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Introduction&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par15&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Introductory digital logic courses present digital waveforms as essentially rectangular pulses. Indeed, the internal signals of a digital integrated circuit ideally exist at one of two voltage levels (high and low), with minimal time spent changing from one state to the other. Waveform displays from digital circuit simulators further emphasize the two-level rectangular shape of ideal digital signals.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par16&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Rectangular pulses are not ideal for transmission through communication links, however, since communication channels always restrict the bandwidth available between the transmitter and the receiver. Rectangular signaling pulses contain significant spectral energy across a wide frequency range due to the step-like transition between levels, and yet most communication systems do not allocate nearly enough bandwidth to faithfully transmit these abrupt changes. Passing a rectangular pulse through a limited-bandwidth channel distorts the pulse by &quot;smearing&quot; it -- that is, the pulse stretches out in time. The transmitter sends a series of pulses to convey the message, therefore this time smearing causes&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;interference&lt;/dfn&gt;&amp;nbsp;between adjacent time slots (or&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;bit slots&lt;/dfn&gt;). This&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;intersymbol interference&lt;/dfn&gt;&amp;nbsp;(abbreviated&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;ISI&lt;/dfn&gt;) adds extraneous signal energy at the exact moments when a receiver&#39;s bit sampler decides whether a received bit should be called a logic &quot;1&quot; or a logic &quot;0.&quot; ISI is not the same as additive random noise, but plays a similar role by reducing the&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;noise margin&lt;/dfn&gt;, i.e., the room for error before the receiver&#39;s bit sampler makes an error.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par17&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;This project studies intersymbol interference in an intuitive way by using a LabVIEW VI to simulate a pulse transmitter, finite bandwidth channel, and received signaling waveform. Rectangular pulses are considered first to demonstrate the ISI problem, and then two alternative pulse shapes are explored as a way to minimize ISI.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par18&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;eye diagram&lt;/dfn&gt;&amp;nbsp;is also introduced in this project as a visual aid to present the time-domain signaling waveform to promote understanding of the ISI phenomenon. The eye diagram also reveals other key performance measures such as&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;noise margin&lt;/dfn&gt;,&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;timing jitter&lt;/dfn&gt;, and&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;timing sensitivity&lt;/dfn&gt;.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec19&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;ISI_and_EyeDiagram.vi&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par20&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;LabVIEW.png&quot; src=&quot;http://cnx.org/content/m18662/latest/LabVIEW.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Download the LabVIEW VI&amp;nbsp;&lt;a class=&quot;link&quot; href=&quot;http://cnx.org/content/m18662/latest/ISI_and_EyeDiagram.vi&quot; style=&quot;color: #336699;&quot;&gt;ISI_and_EyeDiagram.vi&lt;/a&gt;, an interactive tool to study various pulse shapes as they pass through a band-limited channel.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par21&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Open the VI which starts running automatically, and then view the&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18662/latest/#video-orientation&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 1&lt;/span&gt;&lt;/a&gt;&amp;nbsp;screencast video for a short orientation tour of the VI.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;video-orientation&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1:&amp;nbsp;&lt;/strong&gt;[video] Orientation tour of the &quot;ISI_and_EyeDiagram.vi&quot; LabVIEW VI&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;a href=&quot;http://cnx.org/content/m18662/latest/simviz_isi-orientation.htm&quot; style=&quot;color: #336699;&quot;&gt;&lt;img alt=&quot;Figure 1 (simviz_isi-orientation.htm)&quot; src=&quot;http://cnx.org/content/m18662/latest/simviz_isi-orientation.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec23&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Rectangle Pulse Shape&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par24&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Restore the front panel controls of &quot;ISI_and_EyeDiagram.vi&quot; to their default values by selecting &quot;Edit | Reinitialize Values to Defaults.&quot;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par25&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Set the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;symbols&lt;/code&gt;&amp;nbsp;control to 1 to produce a single rectangular pulse. The channel bandwidth should already be set to its maximum value of 0.49, which corresponds to essentially unlimited bandwidth. Note that this VI uses&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;normalized frequency&lt;/dfn&gt;, therefore the sampling frequency corresponds to 1 and the Nyquist frequency is 0.5.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par26&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Compare the &quot;transmitted waveform&quot; and the &quot;received waveform&quot; plots in the lower-right front panel. How well does the received pulse match the transmitted pulse? Also, to what extent does the received pulse &quot;spill out&quot; of its designated time slot?&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par27&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Decrease the channel bandwidth until you begin to observe noticeable pulse shape distortion. At what bandwidth does this occur?&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par28&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Continue decreasing the channel bandwidth. What effects do you begin to observe?&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par29&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Make a series of plots that show the progressive degradation of the rectangular pulse shape as the channel bandwidth is restricted. Right-click on the plot and choose &quot;Export Simplified Image&quot; to copy the graph to the clipboard for pasting into your report. Be sure to indicate the channel bandwidth for each plot.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec30&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Sinc Pulse Shape&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par31&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Restore the front panel controls of &quot;ISI_and_EyeDiagram.vi&quot; to their default values.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par32&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Set the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;symbols&lt;/code&gt;&amp;nbsp;control to 1 to produce a single pulse, and set the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;bandwidth&lt;/code&gt;&amp;nbsp;control to 0.02. The received pulse should show noticeable distortion.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par33&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Now set the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;pulse shape&lt;/code&gt;&amp;nbsp;control to &quot;Sinc.&quot; How much distortion is evident at the receiver? How much lower can you restrict the bandwidth while still preserving the basic sinc waveform shape?&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par34&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The sinc function&#39;s ability to maintain its basic shape through a restricted channel bandwidth is important, but its true significance extends beyond this fact, as explored in the next section.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec35&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Multiple Pulses&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par36&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;A transmitter converts a message, or sequence of bits, into a series of analog pulses to create the signaling waveform. A receiver recovers the bitstream by periodically sampling the signaling waveform and comparing the sample to a threshold value to decide &quot;1&quot; or &quot;0.&quot; Sinc-shaped pulse do not interfere with adjacent bit slots,&amp;nbsp;&lt;em class=&quot;emphasis&quot; style=&quot;font-style: normal; font-weight: bold;&quot;&gt;provided&lt;/em&gt;&amp;nbsp;that the bit slots are sampled at the correct instant in time.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par37&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;To see this, reinitialize the front panel control values to their default settings, choose the &quot;Sinc&quot; pulse shape, and choose 2 symbols. Look carefully at the transmitted and received pulses on the lower-left front panel plots. The white trace shows the first pulse in the sequence, while the red trace shows the second pulse in the sequence. The first pulse has an amplitude of +1, while the second pulse has an amplitude of -1, corresponding to a bit sequence &quot;10&quot;; refer to the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;message bitstream&lt;/code&gt;&amp;nbsp;indicator to confirm that the first bit is&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;T&lt;/code&gt;&amp;nbsp;(green LED indicator active) and the second bit is&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;F&lt;/code&gt;&amp;nbsp;(inactive LED indicator).&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par38&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The waveform plots on the lower-right front panel show the actual transmitted and received waveforms, which superimpose (i.e., add) the individual pulses together. The plots on the lower-left front panel illustrate the contribution of each individual pulse.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par39&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Look carefully at the time 450 samples, in which the second (red) pulse is at its most negative value. What is the value of the first (white) pulse at this instant? Hopefully you can see that it is&lt;em class=&quot;emphasis&quot; style=&quot;font-style: normal; font-weight: bold;&quot;&gt;zero&lt;/em&gt;, indicating that the first (white) pulse produces&amp;nbsp;&lt;em class=&quot;emphasis&quot; style=&quot;font-style: normal; font-weight: bold;&quot;&gt;zero interference&lt;/em&gt;&amp;nbsp;at the instant the second (red) pulse attains its maximum absolute value.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par40&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Now, increase the number of symbols to 3, and also to higher values. Study the waveforms to convince yourself that even though a single sinc pulse extends over many bit time intervals, the contribution of all adjacent pulses is always zero at the moment that a given sinc pulse attains its maximum absolute value. Therefore, the sinc pulse shape achieves zero ISI when properly sampled.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par41&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Make a series of plots from the &quot;received pulses&quot; waveform display and explain your understanding of the sinc pulse shape and its ability to achieve zero ISI.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par42&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Restrict the channel bandwidth to 0.02, and confirm that the sinc pulses remain essentially unchanged. Now, set the pulse shape to &quot;Rectangular.&quot; Set the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;symbols&lt;/code&gt;&amp;nbsp;control to 2 and study the lower-left front panel plots. Identify where the second (red) pulse attains its maximum absolute value. How much interference is present from the first (white) pulse?&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par43&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Make a series of plots from the &quot;received pulses&quot; waveform display and explain your understanding of the rectangle pulse shape and its susceptibility to intersymbol interference.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec44&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Eye Diagram&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par45&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Study the transmitted and received waveform plots on the lower-right front panel as you increase the number of symbols to 40, and try this for the two pulse shapes considered so far. Also try varying the channel bandwidth. The received signaling waveform is reasonably easy to understand for rectangle pulses, but is rather difficult to interpret when sinc pulses are used. For example, you should find that you can easily correlate the &quot;message bitstream&quot; sequence with the high and low regions in the received waveform when rectangular pulse shapes are transmitted; the correlation is more difficult when sinc pulses are used.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par46&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;eye diagram&lt;/dfn&gt;&amp;nbsp;provides a powerful visualization tool to interpret the behavior of the received waveform regardless of the pulse shape. The&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18662/latest/#video-eyedgm&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 2&lt;/span&gt;&lt;/a&gt;&amp;nbsp;screencast video continues the discussion by explaining the eye diagram plot on the upper-right front panel of &quot;ISI_and_EyeDiagram.&quot; Follow along with video, matching the front panel controls of &quot;ISI_and_EyeDiagram.vi&quot; to those of the video.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;video-eyedgm&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2:&amp;nbsp;&lt;/strong&gt;[video] Explanation of the eye diagram plot in the &quot;ISI_and_EyeDiagram.vi&quot; LabVIEW VI&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;a href=&quot;http://cnx.org/content/m18662/latest/simviz_isi-eyedgm.htm&quot; style=&quot;color: #336699;&quot;&gt;&lt;img alt=&quot;Figure 2 (simviz_isi-eyedgm.htm)&quot; src=&quot;http://cnx.org/content/m18662/latest/simviz_isi-eyedgm.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par48&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The eye diagram reveals important performance metrics for a communication link, including&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;noise margin&lt;/dfn&gt;,&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;ISI&lt;/dfn&gt;,&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;timing sensitivity&lt;/dfn&gt;, and&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;zero-crossing jitter&lt;/dfn&gt;. In addition, the eye diagram shows the optimum sampling time for the receiver to regenerate a bitstream from the received signaling waveform. View the&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18662/latest/#video-eyemetrics&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 3&lt;/span&gt;&lt;/a&gt;&amp;nbsp;screencast video to learn how to measure these performance metrics and how to determine the optimum sampling time.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;video-eyemetrics&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3:&amp;nbsp;&lt;/strong&gt;[video] Measuring noise margin, ISI, timing sensitivity, zero-crossing jitter, and optimum sampling time using an eye diagram&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;a href=&quot;http://cnx.org/content/m18662/latest/simviz_isi-eyemetrics.htm&quot; style=&quot;color: #336699;&quot;&gt;&lt;img alt=&quot;Figure 3 (simviz_isi-eyemetrics.htm)&quot; src=&quot;http://cnx.org/content/m18662/latest/simviz_isi-eyemetrics.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec50&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Eye Diagram Measurements&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par51&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18662/latest/#figure-genericeye&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 4&lt;/span&gt;&lt;/a&gt;&amp;nbsp;illustrates a generic eye pattern superimposed on a measured eye diagram plot and summarizes the definition of the various performance metrics discussed earlier. Use these definitions for the following measurements.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;figure-genericeye&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 4:&amp;nbsp;&lt;/strong&gt;Generic eye pattern and definition of performance metrics&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 4 (simviz_isi-genericeye.png)&quot; src=&quot;http://cnx.org/content/m18662/latest/simviz_isi-genericeye.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec53&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Rectangle Pulse&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;par54&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Restore the front panel controls of &quot;ISI_and_EyeDiagram.vi&quot; to their default values, and set the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;symbols&lt;/code&gt;&amp;nbsp;control to 40. Vary the channel bandwidth and observe its effect on the eye diagram plot, and then set the channel bandwidth to 0.05. Increase the eye diagram&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;start time&lt;/code&gt;&amp;nbsp;to 245 samples to center the eye in the plot window.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par55&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Export the eye diagram plot to a piece of paper, and then use the eye diagram cursor as a tool to measure the following (show and label the relevant distances you measured on your hardcopy plot):&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list56&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Optimum sampling time; report this as the number of samples from the nearest zero crossing&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Peak ISI&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Zero crossing jitter; report this as the maximum variation in time samples&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Noise margin&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec57&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Sinc Pulse&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;par58&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Ensure that the front panel controls of &quot;ISI_and_EyeDiagram.vi&quot; are the same as in the previous step, and then select the &quot;Sinc&quot; pulse shape. Adjust the eye diagram&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;start time&lt;/code&gt;&amp;nbsp;and&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;time span&lt;/code&gt;&amp;nbsp;to maximize the number of displayed bit intervals and also to avoid the initial startup transient that causes lines to cross through the center of the eye; also make adjustments to place the maximum eye opening at the center of the plot window.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par59&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;As in the previous step, export the eye diagram plot to a piece of paper, and then use the eye diagram cursor as a tool to measure the following (show and label the relevant distances you measured on your hardcopy plot):&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;list60&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Peak ISI&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;ISI at the optimum sampling time&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Zero crossing jitter; report this as the maximum variation in time samples&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Noise margin&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Timing error sensitivity; report this in terms of time samples&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec61&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Raised Cosine Pulse&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;par62&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Keep the front panel controls of &quot;ISI_and_EyeDiagram.vi&quot; at the same settings you used for the previous &quot;Sinc&quot; pulse measurements, and then select the &quot;Raised Cosine&quot; pulse shape. You should expect to see the maximum eye opening remain centered in the eye diagram plot.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par63&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;As in the previous steps, export the eye diagram plot to a piece of paper, and then use the eye diagram cursor as a tool to measure the the same five metrics as for the &quot;Sinc&quot; pulse. Show and label the relevant distances you measured on your hardcopy plot.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par64&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Compare your results for the raised cosine pulse and the sinc pulse. What appears to be advantageous about the raised cosine pulse shape?&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par65&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;See the video screencast in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m18566/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;pam_RaisedCosinePulse.vi&lt;/a&gt;&amp;nbsp;for more background about the raised cosine pulse, the most widely-used pulse shape in digital communication systems.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec66&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Noise&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par67&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Add random channel noise to the received waveform by moving the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;noise standard deviation&lt;/code&gt;&amp;nbsp;control away from zero. Note how the eye pattern begins to close as the noise level increases.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par68&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Report the noise standard deviation value at which the eye just begins to close completely for each of the three pulse shapes. Make hardcopy plots of the eye diagram for each value that you report.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec69&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Channel Filter&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par70&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&quot;ISI_and_EyeDiagram.vi&quot; uses a 10th-order IIR lowpass filter to model the limited-bandwidth channel. This type of filter is fairly realistic, and produces&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;delay distortion&lt;/dfn&gt;, an effect caused by the filter&#39;s nonlinear phase response. Delay distortion causes the various signal frequency components to arrive at the receiver at different times, and can severely distort the originally-transmitted pulse shape.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par71&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Engage the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;FIR&lt;/code&gt;&amp;nbsp;pushbutton control to select a linear-phase FIR filter that does not introduce delay distortion.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec72&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Final Comments&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;par73&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;seed&lt;/code&gt;&amp;nbsp;front-panel control in the &quot;Pulses&quot; section primes the random number generator that creates the message bitstream. Feel free to try other seed values to produce other bit sequences for the message.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par74&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&quot;ISI_and_EyeDiagram.vi&quot; uses two programming techniques that you may wish to investigate further, namely, an&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;event structure&lt;/dfn&gt;&amp;nbsp;and&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;property nodes&lt;/dfn&gt;. Type Ctrl+E to show the block diagram window, and observe the event structure within the while-loop structure. The event structure only &quot;fires&quot; when a front-panel control value changes; the CPU does not do any work except to instantly respond to front-panel activity. The event structure makes the VI very responsive to user input, but does not burden the CPU as would a plain while-loop.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;par75&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The property nodes allow front panel controls and indicators to be programmatically controlled. For example, changing the value of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;samples&lt;/code&gt;&amp;nbsp;front-panel control causes the upper limit of&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;start time&lt;/code&gt;&amp;nbsp;to automatically change to the same value.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;sec76&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;References&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;list&quot; id=&quot;list77&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Carlson, A. Bruce, Paul B. Crilly, and Janet C. Rutledge, &quot;Communication Systems,&quot; 4th ed., McGraw-Hill, 2002. ISBN-13: 978-0-07-011127-1&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Couch, Leon W. II, &quot;Digital and Analog Communication Systems,&quot; 7th ed., Pearson Prentice Hall, 2007. ISBN-10: 0-13-142492-0&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Haykin, Simon. &quot;Communication Systems,&quot; 4th ed., Wiley, 2001. ISBN-10: 0-471-17869-1&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Haykin, Simon, and Michael Moher, &quot;Introduction to Analog and Digital Communication Systems,&quot; 2nd ed., Wiley, 2007. ISBN-13: 978-0-471-43222-7&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Proakis, John G., and Masoud Salehi, &quot;Fundamentals of Communication Systems,&quot; Pearson Prentice Hall, 2005. ISBN-10: 0-13-147135-X&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Proakis, John G., and Masoud Salehi, &quot;Communication Systems Engineering,&quot; 2nd ed., Pearson Prentice Hall, 2002. ISBN-10: 0-13-061793-8&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Stern, Harold P.E., and Samy A. Mahmoud, &quot;Communication Systems,&quot; Pearson Prentice Hall, 2004. ISBN-10: 0-13-040268-0&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/3427481762563992984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/intersymbol-interference-isi-and-eye.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/3427481762563992984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/3427481762563992984'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/intersymbol-interference-isi-and-eye.html' title='Intersymbol Interference (ISI) and the Eye Diagram'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-2241737212743943177</id><published>2010-09-25T07:38:00.001-07:00</published><updated>2010-09-25T07:38:08.615-07:00</updated><title type='text'>Reading and Writing Audio Files in LabVIEW</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;Learn how to use LabVIEW to retrieve an audio signal from a WAV-format file, and how to save an audio signal that you have created to a WAV-format file.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;section&quot; id=&quot;id-111458264949&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Overview&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id10797191&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;LabVIEW offers a variety of ways to read and write audio files in WAV format. After completing this module you will be able to use the&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;Simple Read&lt;/dfn&gt;&amp;nbsp;and&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;Simple Write&lt;/dfn&gt;&amp;nbsp;subVIs located in the “Programming | Graphics &amp;amp; Sound | Sound | Files” palette to retrieve an audio signal as a 1-D array from a .wav file, and also to save a 1-D array that represents an audio signal to a .wav file. Additional points covered include scaling your audio signal to have a maximum absolute value of one before saving as an audio file, and how to create a two-channel (stereo) audio file.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id-404926012313&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Retrieve an Audio Signal from a .wav File&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id10766199&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;Sound File Simple Read&lt;/dfn&gt;&amp;nbsp;subVI accepts a filename for an audio file in .wav format and returns a waveform data type. You can read mono or stereo files, and also determine information such as the audio signal’s sampling frequency and its total number of samples.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id8832967&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The following video screencast shows how to use&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;Simple Read&lt;/dfn&gt;&amp;nbsp;to retrieve the audio signal as an array data type that can be used as a signal input for your own VIs. You may want to start LabVIEW now, then follow along to create your own version of the VI pictured below. If so, you will need the two audio files referenced in the screencast:&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m14771/latest/tone-noise.wav&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;tone-noise.wav&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m14771/latest/left-right.wav&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;left-right.wav&lt;/a&gt;.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id12773478&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1:&amp;nbsp;&lt;/strong&gt;[video] LabVIEW Techniques: Retrieve an audio signal from a .wav file&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id10357644&quot;&gt;&lt;a href=&quot;http://cnx.org/content/m14771/latest/lvt_audio_simple-read.html&quot; style=&quot;color: #336699;&quot;&gt;&lt;img alt=&quot;Figure 1 (lvt_audio_simple-read.html)&quot; src=&quot;http://cnx.org/content/m14771/latest/lvt_audio_simple-read.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id-282471867645&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Save an Audio Signal to a .wav File&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id9829636&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;Sound File Simple Write&lt;/dfn&gt;&amp;nbsp;subVI accepts a signal in waveform data type and a filename and stores the signal as a .wav file. You can set the number of bits per sample (16 is recommended for best fidelity). You must ensure that your signal values lie in the range -1 to +1, otherwise other applications may not be able to read your .wav file properly.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id11323168&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The next video screencast shows how to use&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;Simple Write&lt;/dfn&gt;&amp;nbsp;to save an existing 1-D array that represents an audio signal to a .wav file. The screencast also covers some not-so-obvious data-type transformations required to successfully create your .wav file. You may want to start LabVIEW now, then follow along to create your own version of the VI pictured below. If so, you will need the audio file referenced in the screencast:&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m14771/latest/tone-noise.wav&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;tone-noise.wav&lt;/a&gt;.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id11844406&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2:&amp;nbsp;&lt;/strong&gt;[video] LabVIEW Techniques: Save an audio signal to a .wav file&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id9332365&quot;&gt;&lt;a href=&quot;http://cnx.org/content/m14771/latest/lvt_audio_simple-write.html&quot; style=&quot;color: #336699;&quot;&gt;&lt;img alt=&quot;Figure 2 (lvt_audio_simple-write.html)&quot; src=&quot;http://cnx.org/content/m14771/latest/lvt_audio_simple-write.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id-975389978352&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Scale Your Audio Before Saving to a .wav File&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id9810496&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;As mentioned earlier, you must ensure that all of the samples in your signal lie in the range -1 to +1. It is easy to create signals that exceed this range, especially when you add multiple signals together.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id11546544&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The next screencast illustrates how&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;Quick Scale&lt;/dfn&gt;&amp;nbsp;is an easy way to scale your 1-D array such that the maximum absolute value is always one;&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;Quick Scale&lt;/dfn&gt;&amp;nbsp;is located in the “Signal Processing | Sig Operation” palette, and should be used as the last step before converting to the waveform data type.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id12835122&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3:&amp;nbsp;&lt;/strong&gt;[video] LabVIEW Techniques: Scale audio signal to +/- 1 range before saving to a .wav file&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id15690881&quot;&gt;&lt;a href=&quot;http://cnx.org/content/m14771/latest/lvt_audio_simple-write-quickscale.html&quot; style=&quot;color: #336699;&quot;&gt;&lt;img alt=&quot;Figure 3 (lvt_audio_simple-write-quickscale.html)&quot; src=&quot;http://cnx.org/content/m14771/latest/lvt_audio_simple-write-quickscale.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id-394718022361&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Create a Two-Channel (Stereo) .wav File&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id11601386&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Creating a stereo .wav file requires that you assemble an array of waveforms, one for the left channel and the other for the right channel. Watch the next screencast video to learn how.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id5528741&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 4:&amp;nbsp;&lt;/strong&gt;[video] LabVIEW Techniques: Save a stereo (two-channel) audio signal to a .wav file&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;id15625861&quot;&gt;&lt;a href=&quot;http://cnx.org/content/m14771/latest/lvt_audio_simple-write-stereo.html&quot; style=&quot;color: #336699;&quot;&gt;&lt;img alt=&quot;Figure 4 (lvt_audio_simple-write-stereo.html)&quot; src=&quot;http://cnx.org/content/m14771/latest/lvt_audio_simple-write-stereo.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/2241737212743943177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/reading-and-writing-audio-files-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/2241737212743943177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/2241737212743943177'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/reading-and-writing-audio-files-in.html' title='Reading and Writing Audio Files in LabVIEW'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-2396586577884768094</id><published>2010-09-25T07:37:00.001-07:00</published><updated>2010-09-25T07:37:07.965-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Instrumenting a Circui"/><title type='text'>Instrumenting a Circuit Simulation in National Instruments Multisim</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;This module provides a brief introduction to instrumenting a circuit simulation in National Instruments Multisim. Multisim is fully featured SPICE schematic capture and simulation tool used for circuit design, simulation, and in combination with Ultiboard for layout of custom PCBs.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;section&quot; id=&quot;id8485872&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Instrumenting a Simulation in MultiSim&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;id9191120&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Virtual instruments are components in Multisim which model real-world bench-top instruments. Examples of virtual instruments in Multisim include Oscilloscopes, Function Generators, Network Analyzers, and Bode Plotters.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9406388&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Virtual instruments provide designers with an easy and intuitive method for interacting with their circuits as they would in a testing or prototyping phase.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id6231894&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;In addition to the provided virtual instruments, designers with familiar with National Instruments LabVIEW can create their own custom instruments from scratch. For example, one could create a custom noise generator to model electromagnetic interference.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9092103&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Custom virtual instruments written in NI LabVIEW can also acquire real-world data and use the data to drive simulations, and can send generated data to analog output hardware, allowing simulated data to control real-world devices. The LabVIEW development suite is required to create custom LabVIEW instruments, but not necessary to run existing LabVIEW based instruments.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9304098&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;To place a virtual instrument, select the desired instrument from the Instruments toolbar (Figure 1). To view the front panel of the instrument, double-click on the instrument icon. Make connections to the terminals of the instrument icon as you would to any other component.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9366901&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Multisim also provides designers with simulated benchtop instruments. These are instruments such as the Tektronix TDS 2024 Oscilloscope. They will look and operate exactly according to the manufacturers’ user manuals.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9110790&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1:&amp;nbsp;&lt;/strong&gt;Instruments Toolbar&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 1 (Graphic1.png)&quot; src=&quot;http://cnx.org/content/m13743/latest/Graphic1.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9456382&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;A single circuit can have multiple instruments attached to it, including (for most tiers) multiple instances of the same instrument. In addition, each circuit window can have its own set of instruments. Each instance of any instrument is configured and connected independently.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9249263&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;An overview of the more common instruments is included in this section. For more detailed information on how to use each instrument, consult the Multisim User Guide or helpfile.&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9460167&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Multimeter&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id8618695&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Use the multimeter to measure AC or DC voltage or current, and resistance or decibel loss between two nodes in a circuit. The multimeter is auto-ranging, so a measurement range does not need to be specified. Its internal resistance and current are preset to near-ideal values, which can be changed.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id6235199&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2:&amp;nbsp;&lt;/strong&gt;Multimeter Schematic Symbol&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 2 (Graphic2.png)&quot; src=&quot;http://cnx.org/content/m13743/latest/Graphic2.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id8942440&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3:&amp;nbsp;&lt;/strong&gt;Multimeter Front Panel&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 3 (Graphic3.png)&quot; src=&quot;http://cnx.org/content/m13743/latest/Graphic3.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9453408&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Function Generator&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id9453416&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The function generator is a voltage source that supplies sine, triangular or square waves. It provides a convenient and realistic way to supply stimulus signals to a circuit. The waveform can be changed and its frequency, amplitude, duty cycle and DC offset can be controlled. The function generator&#39;s frequency range is great enough to produce conventional AC as well as audio- and radio-frequency signals.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9453427&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The function generator has three terminals through which waveforms can be applied to a circuit. The common center terminal provides a reference level for the signal.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id8942751&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 4:&amp;nbsp;&lt;/strong&gt;Function Generator Schematic Symbol&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 4 (Graphic4.png)&quot; src=&quot;http://cnx.org/content/m13743/latest/Graphic4.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9444217&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 5:&amp;nbsp;&lt;/strong&gt;Function Generator Front Panel&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 5 (Graphic5.png)&quot; src=&quot;http://cnx.org/content/m13743/latest/Graphic5.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9221035&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Oscilloscopes&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id9221042&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Multisim includes several varieties of oscilloscopes. All of the scopes can be controlled like real-world oscilloscopes. Horizontal timing and vertical voltages parameters can be adjusted. Triggering levels, and types are also selectable. Data from the Multisim-exclusive oscilloscopes is available in the Grapher after the interactive simulation has completed by selecting View/Grapher.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9221053&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Multisim provides the following oscilloscopes:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;id9443990&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;2-Channel.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;4-Channel.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Agilent 54622D Mixed Signal Oscilloscope.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Tektronix TDS 2024 Four Channel Digital Storage Oscilloscope.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9444019&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 6:&amp;nbsp;&lt;/strong&gt;Oscilloscope Schematic Symbol&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 6 (Graphic6.png)&quot; src=&quot;http://cnx.org/content/m13743/latest/Graphic6.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9401837&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 7:&amp;nbsp;&lt;/strong&gt;Oscilloscope Front Panel&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 7 (Graphic7.png)&quot; src=&quot;http://cnx.org/content/m13743/latest/Graphic7.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9351809&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 8:&amp;nbsp;&lt;/strong&gt;Tektronix Oscilloscope Schematic Diagram&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 8 (Graphic8.png)&quot; src=&quot;http://cnx.org/content/m13743/latest/Graphic8.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9268827&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 9:&amp;nbsp;&lt;/strong&gt;Tektronix Oscilloscope Front Panel&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 9 (Graphic9.png)&quot; src=&quot;http://cnx.org/content/m13743/latest/Graphic9.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9451698&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Bode Plotter&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id9324175&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The bode plotter displays the relative phase or magnitude response of an input and output signal. This is especially useful when characterizing the bandwidth of filter circuits.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9324186&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 10:&amp;nbsp;&lt;/strong&gt;Function Generator Schematic Symbol&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 10 (Graphic10.png)&quot; src=&quot;http://cnx.org/content/m13743/latest/Graphic10.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;id9145329&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 11:&amp;nbsp;&lt;/strong&gt;Bode Plotter Front Panel&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 11 (Graphic11.png)&quot; src=&quot;http://cnx.org/content/m13743/latest/Graphic11.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;id9149259&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Spectrum Analyzer&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;id9149265&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The spectrum analyzer is used to measure amplitude versus frequency. This instrument is capable of measuring a signal&#39;s power and frequency components, and helps determine the existence of harmonics in the signal.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;id9242915&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The spectrum analyzer displays its measurements in the frequency domain rather than the time domain. Usually the reference frame in signal analysis is time. In that case, an oscilloscope is used to show the instantaneous value as a function of time. Sometimes a sine waveform is expected but the signal, rather than being a pure sinusoidal, has a harmonic on it. As a result, it is not possible to measure the waveform&#39;s level. If the same signal is displayed on a spectrum analyzer, its amplitude is displayed, along with its frequency components, that is, its fundamental frequency and any harmonics it may contain.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;element-947&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 12:&amp;nbsp;&lt;/strong&gt;Spectrum Analyzer Schematic Symbol&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 12 (Graphic12.png)&quot; src=&quot;http://cnx.org/content/m13743/latest/Graphic12.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;element-96&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 13:&amp;nbsp;&lt;/strong&gt;Spectrum Analyzer Front Panel&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 13 (Graphic13.png)&quot; src=&quot;http://cnx.org/content/m13743/latest/Graphic13.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/2396586577884768094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/instrumenting-circuit-simulation-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/2396586577884768094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/2396586577884768094'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/instrumenting-circuit-simulation-in.html' title='Instrumenting a Circuit Simulation in National Instruments Multisim'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-6976644070251307667</id><published>2010-09-25T07:34:00.001-07:00</published><updated>2010-09-25T07:34:59.162-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Spatial Frequency Analysis"/><title type='text'>Spatial Frequency Analysis</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;This module discusses how the Spatial Transform is accomplished.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;section&quot; id=&quot;s40&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Aliasing in the Spatial Frequency Domain&lt;/strong&gt;&lt;/h2&gt;&lt;h3 class=&quot;para-header&quot; style=&quot;font-size: 1em; margin-bottom: -0.5em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Avoiding Spatial Aliasing&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;p40&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;As we saw was the case in the time domain, a phenomenon known as&amp;nbsp;&lt;a class=&quot;link&quot; href=&quot;http://cnx.rice.edu/content/m10793/latest/&quot; style=&quot;color: #336699;&quot;&gt;aliasing&lt;/a&gt;&amp;nbsp;can occur in the frequency domain if signals are not sampled at high enough rate. We have the same sort of considerations to take into account when we want to analyze the spectrum of the spatial frequency as well. As was discussed in the&amp;nbsp;&lt;a class=&quot;link&quot; href=&quot;http://cnx.rice.edu/content/m12561/latest/&quot; style=&quot;color: #336699;&quot;&gt;introduction&lt;/a&gt;, the Nyquest equivalent of the sampling rate is 1/2 of the&amp;nbsp;&lt;em class=&quot;emphasis&quot; style=&quot;font-style: normal; font-weight: bold;&quot;&gt;minimum&lt;/em&gt;&amp;nbsp;wavelength. This comes about from the relationship between speed, frequency and wavelength, which was discussed in the introduction as well. The figure below demonstrates the effects of aliasing in the spatial domain; it looks identical to filtering the time domain except that instead of the x-axis being related to pi/T it is now pi/d, where d is the distance between sensors. So, if we bandlimit our signal in temporal frequency, so that we can sample as two times the maximum&amp;nbsp;&lt;em class=&quot;emphasis&quot; style=&quot;font-style: normal; font-weight: bold;&quot;&gt;temporal&lt;/em&gt;&amp;nbsp;frequency, and if we design the sensors so that half of the minimum wavelength is greater than distance between sensors, we can avoid aliasing in both time and space!&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;fig1&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1:&amp;nbsp;&lt;/strong&gt;Spatial Aliasing&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 1 (aliasing.jpg)&quot; src=&quot;http://cnx.org/content/m12557/latest/aliasing.jpg&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s41&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Spatial Frequency Transform&lt;/strong&gt;&lt;/h2&gt;&lt;h3 class=&quot;para-header&quot; style=&quot;font-size: 1em; margin-bottom: -0.5em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Introduction to the Spatial Frequency Transform&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;p41&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Analogous to the&amp;nbsp;&lt;a class=&quot;link&quot; href=&quot;http://cnx.rice.edu/content/m10249/latest/&quot; style=&quot;color: #336699;&quot;&gt;DFT&lt;/a&gt;, is the sampled and windowed spatial equivalent, which is what we used to be able to filter our signal in frequency. The reason we want the information in the spatial frequency or wavenumber domain is because it is directly correlated to the angle the signal is coming from relative to the ULA. The spatial DFT is computed as the FFT of the first FFT. The first FFT represents the time domain frequency response and the second FFT represents the wavenumber response. This seems strange this would work, but let&#39;s explore this a little more fully. Let&#39;s look at theoretical example.&lt;/div&gt;&lt;div class=&quot;example&quot; id=&quot;e41&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 1.2em; margin-left: 3em; margin-right: 3em; margin-top: 1.2em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;&lt;h3 class=&quot;example-header&quot; style=&quot;font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;EXAMPLE 1:&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Mentally Visualizing the Spatial Frequency Transform&lt;/strong&gt;&lt;/h3&gt;&lt;h4 class=&quot;para-header&quot; style=&quot;font-size: 1em; margin-bottom: -0.5em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;The 2-D Transform&lt;/strong&gt;&lt;/h4&gt;&lt;div class=&quot;para&quot; id=&quot;p42&quot; style=&quot;display: block; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.5em;&quot;&gt;Consider a box filled with numbers. The box is labeled on one edge time and on the other edge space. The first FFT we are taking is to obtain the temporal frequencies, so this would be like looking at a row along the box and taking the FFT of the numbers going across, while the spatial FFT would be calculated by looking at the numbers going down the columns. This is done repeatedly on each row and column, so the first FFT would go across each row, while the 2nd one would go down each column. This is easier to comprehend with a picture like the one below.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;fig2&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2:&amp;nbsp;&lt;/strong&gt;Visualization of mapping a signal into Spatial &amp;amp; Temporal Frequencies&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 2 (2d_fft.gif)&quot; src=&quot;http://cnx.org/content/m12557/latest/2d_fft.gif&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;h2 class=&quot;para-header&quot; style=&quot;font-size: 1em; margin-bottom: -0.5em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;SFT with Sinusoids&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;p43&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Since we were interested in detecting sinusoids, it would be interesting to consider what this kind of &quot;double&quot; Fourier Transform would do to a sinusoid. From our list of&amp;nbsp;&lt;a class=&quot;link&quot; href=&quot;http://cnx.rice.edu/content/m10099/latest&quot; style=&quot;color: #336699;&quot;&gt;Fourier Transforms&lt;/a&gt;&amp;nbsp;we know that the FFT of a sinusoid will give us a delta function shifted by the frequency of the sinusoid. We then see that the FFT of a delta function is 1, which would mean that we get the equivalent of white noise in spatial frequency! Fortunately, this is not exactly how the spatial FFT works. We are basically taking the FFT across one set of vectors followed by the FFT down the columns of those vectors, we are NOT taking the FFT(FFT(f(x,t)). So, when we accomplish this sort of arrangement on our signal, f(x,t), we get:&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;f43&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3:&amp;nbsp;&lt;/strong&gt;Spatial FFT of a Sinusoid&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 3 (graphafterspatialfft.JPG)&quot; src=&quot;http://cnx.org/content/m12557/latest/graphafterspatialfft.JPG&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;p44&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;A sinc function!&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s42&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Spatial Domain Filtering&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;p45&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Just as we are able to filter signals in&amp;nbsp;&lt;em class=&quot;emphasis&quot; style=&quot;font-style: normal; font-weight: bold;&quot;&gt;temporal&lt;/em&gt;&amp;nbsp;frequency, we can filter signals in&amp;nbsp;&lt;em class=&quot;emphasis&quot; style=&quot;font-style: normal; font-weight: bold;&quot;&gt;spatial&amp;nbsp;&lt;/em&gt;frequency. In fact, the way we accomplished the direction detecting algorithm in labview used a graph very similiar as the one above and then looking for the largest magnitude part of the signal. Once, this value is known, quick computation can then find the angle that signal came from! Ta da! We&#39;re done! Well, sort of.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/6976644070251307667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/spatial-frequency-analysis.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/6976644070251307667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/6976644070251307667'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/spatial-frequency-analysis.html' title='Spatial Frequency Analysis'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-86683979367486498</id><published>2010-09-25T07:33:00.001-07:00</published><updated>2010-09-25T07:33:16.421-07:00</updated><title type='text'>Creating a SubVI from Sections of a VI</title><content type='html'>&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;para&quot; id=&quot;intro&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;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&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Positioning&lt;/code&gt;&amp;nbsp;tool to select the section of the block diagram you want to reuse and selecting&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Edit&amp;gt;&amp;gt;Create SubVI.&amp;nbsp;&lt;/code&gt;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.&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12210/latest/#f1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 1&lt;/span&gt;&lt;/a&gt;&amp;nbsp;shows how to convert a selection into a subVI.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;f1&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 1 (slopesubvi.png)&quot; src=&quot;http://cnx.org/content/m12210/latest/slopesubvi.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;intro_1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;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.&lt;/div&gt;&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h2 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;Do not select more than 28 objects to create a subVI because 28 is the maximum number of connections on a connector pane.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;GIVE FEEDBACK:&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/86683979367486498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/creating-subvi-from-sections-of-vi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/86683979367486498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/86683979367486498'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/creating-subvi-from-sections-of-vi.html' title='Creating a SubVI from Sections of a VI'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-1299059575554590000</id><published>2010-09-25T07:32:00.001-07:00</published><updated>2010-09-25T07:32:00.529-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Accessing Previous Loop Data"/><title type='text'>Accessing Previous Loop Data</title><content type='html'>&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;para&quot; id=&quot;intro&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;When programming with loops, you often need to access data from previous iterations of the loop. For example, you may have a VI that reads the temperature and displays it on a graph. If you want to display a running average of the temperature as well, you need to use data generated in previous iterations. Two ways of accessing this data include the&amp;nbsp;&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;shift register&lt;/dfn&gt;&amp;nbsp;and the&lt;dfn class=&quot;term&quot; style=&quot;color: #336699; display: inline; font-style: normal; font-weight: bold;&quot;&gt;Feedback Node&lt;/dfn&gt;.&lt;/div&gt;&lt;div class=&quot;section&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Shift Registers&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;intro1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Use&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift registers&lt;/code&gt;&amp;nbsp;on&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;For Loops&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;While Loops&lt;/code&gt;&amp;nbsp;to transfer values from one loop iteration to the next.&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Shift registers&lt;/code&gt;&amp;nbsp;are similar to static variables in text-based programming languages.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;intro2&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;m1&quot;&gt;&lt;img alt=&quot;shiftregs.png&quot; src=&quot;http://cnx.org/content/m12217/latest/shiftregs.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;A&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;&amp;nbsp;appears as a pair of terminals, shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12217/latest/#m1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Media 1&lt;/span&gt;&lt;/a&gt;, directly opposite each other on the vertical sides of the loop border. The right terminal contains an up arrow and stores data on the completion of an iteration. LabVIEW transfers the data connected to the right side of the register to the next iteration. Create a&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;&amp;nbsp;by right-clicking the left or right border of a loop and selecting&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Add Shift Register&lt;/code&gt;&amp;nbsp;from the shortcut menu.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;intro3&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;A&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;&amp;nbsp;transfers any data type and automatically changes to the data type of the first object wired to the shift register. The data you wire to the terminals of each shift register must be the same type.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;intro4&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;To initialize a&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;, wire any value from outside the loop to the left terminal. If you do not initialize the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;, the loop uses the value written to the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;&amp;nbsp;when the loop last executed or the default value for the data type if the loop has never executed.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;intro5&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Use a loop with an uninitialized&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;&amp;nbsp;to run a VI repeatedly so that each time the VI runs, the initial output of the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;&amp;nbsp;is the last value from the previous execution. Use an uninitialized&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;&amp;nbsp;to preserve state information between subsequent executions of a VI. After the loop executes, the last value stored in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;&amp;nbsp;remains at the right terminal. If you wire the right terminal outside the loop, the wire transfers the last value stored in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;intro6&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;You can add more than one&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;&amp;nbsp;to a loop. If you have multiple operations within a loop, use multiple&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift registers&lt;/code&gt;&amp;nbsp;to store the data values from those different processes in the structure. The block diagram in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12217/latest/#manage&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 1&lt;/span&gt;&lt;/a&gt;&amp;nbsp;uses two initialized&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift registers&lt;/code&gt;.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;manage&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 1 (shiftregex.png)&quot; src=&quot;http://cnx.org/content/m12217/latest/shiftregex.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Stacked Shift Registers&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;shammie&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;To create a stacked&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;, right-click the left terminal and select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Add Element&lt;/code&gt;&amp;nbsp;from the shortcut menu. Stacked&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift registers&lt;/code&gt;&amp;nbsp;let you access data from previous loop iterations. Stacked&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift registers&lt;/code&gt;&amp;nbsp;remember values from previous iterations and carry those values to the next iterations.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;stacked&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Stacked&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift registers&lt;/code&gt;, as shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12217/latest/#managed&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 2&lt;/span&gt;&lt;/a&gt;, can only occur on the left side of the loop because the right terminal only transfers the data generated from the current iteration to the next iteration.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;managed&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 2 (stackshiftregex.png)&quot; src=&quot;http://cnx.org/content/m12217/latest/stackshiftregex.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;ramu&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;If you add two more elements to the left terminal, values from the last three iterations carry over to the next iteration, with the most recent iteration value stored in the top&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;. The second terminal stores the data passed to it from the previous iteration, and the bottom terminal stores data from two iterations ago.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Feedback Nodes&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;datta&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;media&quot; id=&quot;m2&quot;&gt;&lt;img alt=&quot;feedback.png&quot; src=&quot;http://cnx.org/content/m12217/latest/feedback.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;The&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Feedback Node&lt;/code&gt;, shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12217/latest/#m2&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Media 4&lt;/span&gt;&lt;/a&gt;, appears automatically in a&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;For Loop&lt;/code&gt;&amp;nbsp;or&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;While Loop&lt;/code&gt;&amp;nbsp;if you wire the output of a subVI, function, or group of subVIs and functions to the input of that same VI, function, or group. Like a&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;shift register&lt;/code&gt;, the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Feedback Node&lt;/code&gt;&amp;nbsp;stores data when the loop completes an iteration, sends that value to the next iteration of the loop, and transfers any data type. Use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Feedback Node&lt;/code&gt;&amp;nbsp;to avoid unnecessarily long wires in loops. The&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Feedback Node&lt;/code&gt;&amp;nbsp;arrow indicates in which direction the data flows along the wire.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;guru&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;You also can select the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Feedback Node&lt;/code&gt;&amp;nbsp;on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Structures&lt;/code&gt;&amp;nbsp;palette and place it inside a&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;For Loop&lt;/code&gt;&amp;nbsp;or&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;While Loop&lt;/code&gt;. If you place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Feedback Node&lt;/code&gt;&amp;nbsp;on the wire before you branch the wire that connects the data to the tunnel, the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Feedback Node&lt;/code&gt;&amp;nbsp;passes each value to the tunnel. If you place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Feedback Node&lt;/code&gt;&amp;nbsp;on the wire after you branch the wire that connects data to the tunnel, the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Feedback Node&lt;/code&gt;&amp;nbsp;passes each value back to the input of the VI or function and then passes the last value to the tunnel. The&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12218/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;Accessing Previous Data VI&lt;/a&gt;exercise contains an example of this behavior.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/1299059575554590000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/accessing-previous-loop-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/1299059575554590000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/1299059575554590000'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/accessing-previous-loop-data.html' title='Accessing Previous Loop Data'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-3484360392689072297</id><published>2010-09-25T07:31:00.001-07:00</published><updated>2010-09-25T07:31:22.169-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Waveform Transfers"/><title type='text'>Waveform Transfers</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;span&quot;&gt;In this lesson, you will learn about waveform transfers.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;span&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div id=&quot;cnx_main&quot; style=&quot;line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;para&quot; id=&quot;p1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Many instruments return a waveform as an ASCII string or a binary string. Assuming the same waveform, a binary string transfer is faster and requires less memory than an ASCII string transfer. Binary encoding requires fewer bytes than ASCII encoding.&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s1&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;ASCII Waveforms&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;s1p1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;As an example, consider a waveform composed of 1,024 points, each point having a value between 0 and 255. Using ASCII encoding, you would need a maximum of 4 bytes to represent each point (a maximum of 3 bytes for the value of the point and 1 byte for the separator, such as a comma). You would need a maximum of 4,096 (&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id1164248935057&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1164264195337&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1164252031402&quot;&gt;&lt;span class=&quot;mn&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;id1164257365678&quot; style=&quot;padding-left: 0.3em; padding-right: 0.3em;&quot;&gt;×&lt;/span&gt;&lt;span class=&quot;mn&quot;&gt;1,024&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;) bytes plus any header and trailer bytes to represent the waveform as an ASCII string.&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12295/latest/#s1f1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 1&lt;/span&gt;&lt;/a&gt;&amp;nbsp;is an ASCII waveform string.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;s1f1&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 1 (wform.png)&quot; src=&quot;http://cnx.org/content/m12295/latest/wform.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s1p2&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;You can use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Extract Numbers&lt;/code&gt;&amp;nbsp;VI located in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;C:\Exercises\LabVIEW Basics I&lt;/code&gt;&amp;nbsp;directory to convert an ASCII waveform into a numeric array, as follows. This VI outputs the waveform as a&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12295/latest/#s1f2&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;double precision array&lt;/a&gt;.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;s1f2&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 2 (extrnum.png)&quot; src=&quot;http://cnx.org/content/m12295/latest/extrnum.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s2&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Binary Waveforms Encoded as 1-Byte Integers&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;s2p1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The same waveform using binary encoding requires only 1,024 bytes (&amp;nbsp;&lt;span class=&quot;mrow&quot; id=&quot;id1164251981560&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1164250532100&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;id1164250134636&quot;&gt;&lt;span class=&quot;mn&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;id1164257393593&quot; style=&quot;padding-left: 0.3em; padding-right: 0.3em;&quot;&gt;×&lt;/span&gt;&lt;span class=&quot;mn&quot;&gt;1,024&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;) plus any header and trailer bytes to be represented as a binary string. Using binary encoding, you need only 1 byte to represent the point, assuming each point is an unsigned 8-bit integer.&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12295/latest/#s2f1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 3&lt;/span&gt;&lt;/a&gt;&amp;nbsp;is a binary waveform string.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;s2f1&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 3&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 3 (bwform.png)&quot; src=&quot;http://cnx.org/content/m12295/latest/bwform.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s2p2&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Converting the binary string to a numeric array is a little more complex. You must convert the string to an integer array. You can do this by using the&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12295/latest/#s2f2&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;String To Byte Array&lt;/a&gt;&amp;nbsp;function located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;All Functions&amp;gt;&amp;gt;String&amp;gt;&amp;gt;String/Array/Path Conversion&lt;/code&gt;&amp;nbsp;palette. You must remove all header and trailer information from the string before you can convert it to an array. Otherwise, this information also is converted.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;s2f2&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 4&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 4 (bwstring.png)&quot; src=&quot;http://cnx.org/content/m12295/latest/bwstring.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s3&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Binary Waveforms Encoded as 2-Byte Integers&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;s3p1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;If each point in the binary waveform string is encoded as a 2-byte integer, it is easier and much faster to use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Type Cast&lt;/code&gt;&amp;nbsp;function located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;All Functions&amp;gt;&amp;gt;Advanced&amp;gt;&amp;gt;Data Manipulation&lt;/code&gt;&amp;nbsp;palette. Refer to the&amp;nbsp;&lt;cite class=&quot;cite&quot; style=&quot;font-style: normal;&quot;&gt;&lt;span class=&quot;cite-title&quot;&gt;&lt;i&gt;LabVIEW Basics II: Development Course Manual&lt;/i&gt;&lt;/span&gt;&lt;/cite&gt;&amp;nbsp;for more information about type casting.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s3p2&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;For example, consider a GPIB oscilloscope that transfers waveform data in binary notation. The waveform is composed of 1,024 data points. Each data point is a 2-byte signed integer. Therefore, the entire waveform is composed of 2,048 bytes. In&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12295/latest/#s3f1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 5&lt;/span&gt;&lt;/a&gt;, the waveform has a 4-byte header DATA and a 2-byte trailer--a carriage return followed by a linefeed.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;s3f1&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 5&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 5 (bwencd.png)&quot; src=&quot;http://cnx.org/content/m12295/latest/bwencd.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s3p3&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The block diagram in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12295/latest/#s3f2&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 6&lt;/span&gt;&lt;/a&gt;&amp;nbsp;shows how you can use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Type Cast&lt;/code&gt;&amp;nbsp;function to cast the binary waveform string into an array of 16-bit integers.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;s3f2&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 6&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 6 (typcst.png)&quot; src=&quot;http://cnx.org/content/m12295/latest/typcst.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s3p4&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;You might need to use the&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12295/latest/#s3f3&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;Swap Bytes&lt;/a&gt;&amp;nbsp;function located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;All Functions&amp;gt;&amp;gt;Advanced&amp;gt;&amp;gt;Data Manipulation&lt;/code&gt;&amp;nbsp;palette to swap the most significant 8 bits and the least significant 8 bits for every element. Remember, the GPIB is an 8-bit bus. It can transfer only one byte at a time. If the instrument first sends the low byte and then the high byte, you do not need to use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Swap Bytes&lt;/code&gt;&amp;nbsp;function.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s3p5&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;In the&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12295/latest/#s3f2&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;example&lt;/a&gt;, you needed to use the&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12295/latest/#s3f3&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;Swap Bytes&lt;/a&gt;&amp;nbsp;function because the instrument sent the most significant byte first. Because the most significant byte is received first, it is placed in a lower memory location than the least significant byte sent after the most significant byte.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;s3f3&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 7&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 7 (swpbyts.png)&quot; src=&quot;http://cnx.org/content/m12295/latest/swpbyts.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/3484360392689072297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/waveform-transfers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/3484360392689072297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/3484360392689072297'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/waveform-transfers.html' title='Waveform Transfers'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-2779611158106480513</id><published>2010-09-25T07:30:00.001-07:00</published><updated>2010-09-25T07:30:37.490-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Voltage Monitor VI"/><title type='text'>Voltage Monitor VI</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;In this exercise, the objective is to build a VI that uses the DevSim instrument driver VIs to acquire and plot voltages. Complete the following steps to build a VI that acquires a DC voltage measurement from the NI Instrument Simulator once every second and plots it in a waveform chart until you click a button. As each value is acquired, the VI compares it with the previous minimum and maximum values. The VI calculates and displays the minimum and maximum values continuously on the front panel.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;section&quot; id=&quot;s1&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Front Panel&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;list&quot; id=&quot;s1l1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;File&amp;gt;&amp;gt;New&lt;/code&gt;, then select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Template&amp;gt;&amp;gt;Frameworks&amp;gt;&amp;gt;Single Loop Application&lt;/code&gt;&amp;nbsp;to open the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Single Loop Application template&lt;/code&gt;&amp;nbsp;VI.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Build the front panel shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12292/latest/#s1l1f1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 1&lt;/span&gt;&lt;/a&gt;.&lt;div class=&quot;figure&quot; id=&quot;s1l1f1&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 1 (voltmonfp.png)&quot; src=&quot;http://cnx.org/content/m12292/latest/voltmonfp.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;Use the following guidelines to help you construct the front panel.&lt;div class=&quot;list&quot; id=&quot;s1l1l1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Place a VISA resource name control, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Controls&amp;gt;&amp;gt;All Controls&amp;gt;&amp;gt;I/O&lt;/code&gt;&amp;nbsp;palette, on the front panel.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Set the x-axis scale of the waveform chart to show incremental values.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s2&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Block Diagram&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;list&quot; id=&quot;s2l1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Build the block diagram shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12292/latest/#s2l1f1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 2&lt;/span&gt;&lt;/a&gt;.&lt;div class=&quot;figure&quot; id=&quot;s2l1f1&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 2 (voltmonbd.png)&quot; height=&quot;321&quot; src=&quot;http://cnx.org/content/m12292/latest/voltmonbd.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;s2l1l1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ol class=&quot;bullet&quot; style=&quot;display: block; list-style-image: none; margin-bottom: 0px; margin-left: 3em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Create two shift registers by right-clicking the right or left border of the loop and selecting&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Add Shift Register&lt;/code&gt;&amp;nbsp;from the shortcut menu.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;dvsiminiticon.png&quot; src=&quot;http://cnx.org/content/m12292/latest/dvsiminiticon.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;NI DEVSIM Initialize&lt;/code&gt;&amp;nbsp;VI, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;Input&amp;gt;&amp;gt;Instrument Drivers&amp;gt;&amp;gt;NI Device Simulator&lt;/code&gt;&amp;nbsp;palette, on the block diagram. This VI opens communication between LabVIEW and the NI Instrument Simulator.&lt;div class=&quot;list&quot; id=&quot;s2l1l1l1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;bullet&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: disc; margin-bottom: 0px; margin-left: 2.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Right-click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;ID Query&lt;/code&gt;&amp;nbsp;input and select&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Create&amp;gt;&amp;gt;Constant&lt;/code&gt;&amp;nbsp;from the shortcut menu. Use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Operating&lt;/code&gt;&amp;nbsp;tool to change the constant to a&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;False&lt;/code&gt;&amp;nbsp;value.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Wire the Boolean constant to the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Reset&lt;/code&gt;&amp;nbsp;input.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;dvsimetericon.png&quot; src=&quot;http://cnx.org/content/m12292/latest/dvsimetericon.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;NI DEVSIM Multimeter Configuration&lt;/code&gt;&amp;nbsp;VI, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;Input&amp;gt;&amp;gt;Instrument Drivers&amp;gt;&amp;gt;NI Device Simulator&amp;gt;&amp;gt;Configuration&lt;/code&gt;&amp;nbsp;palette, on the block diagram. This VI configures the range of voltage measurements that the NI Instrument Simulator generates. The default is 0.0 to 10.0 V DC.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;dvsimeasicon.png&quot; src=&quot;http://cnx.org/content/m12292/latest/dvsimeasicon.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;NI DEVSIM Measure DC Voltage&lt;/code&gt;&amp;nbsp;VI, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;Input&amp;gt;&amp;gt;Instrument Drivers&amp;gt;&amp;gt;NI Device Simulator&amp;gt;&amp;gt;Data&lt;/code&gt;&amp;nbsp;palette, on the block diagram. This VI returns a simulated voltage measurement from the NI Instrument Simulator.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;dvsimclsicon.png&quot; src=&quot;http://cnx.org/content/m12292/latest/dvsimclsicon.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;NI DEVSIM Close&lt;/code&gt;&amp;nbsp;VI, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;Input&amp;gt;&amp;gt;Instrument Drivers&amp;gt;&amp;gt;NI Device Simulator&lt;/code&gt;&amp;nbsp;palette, on the block diagram. This VI ends communication between LabVIEW and the NI Instrument Simulator.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;maxminicon.png&quot; src=&quot;http://cnx.org/content/m12292/latest/maxminicon.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Max &amp;amp; Min&lt;/code&gt;&amp;nbsp;function, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;All Functions&amp;gt;&amp;gt;Comparison&lt;/code&gt;&amp;nbsp;palette, on the block diagram. Use two of these functions to check the current voltage against the minimum and maximum values stored in the shift registers.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Error.png&quot; src=&quot;http://cnx.org/content/m12292/latest/Error.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Simple Error Handler&lt;/code&gt;&amp;nbsp;VI, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;All Functions&amp;gt;&amp;gt;Time &amp;amp; Dialog&lt;/code&gt;&amp;nbsp;palette, on the block diagram. This VI displays a dialog box if an error occurs and displays the error information.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;unbundle.png&quot; src=&quot;http://cnx.org/content/m12292/latest/unbundle.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Unbundle by Name&lt;/code&gt;&amp;nbsp;function, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;All Functions&amp;gt;&amp;gt;Cluster&lt;/code&gt;&amp;nbsp;palette, on the block diagram. This function accepts status from the error cluster.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;or.png&quot; src=&quot;http://cnx.org/content/m12292/latest/or.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Place the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Or&lt;/code&gt;&amp;nbsp;function, located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Functions&amp;gt;&amp;gt;Arithmetic &amp;amp; Comparison&amp;gt;&amp;gt;Express Boolean&lt;/code&gt;&amp;nbsp;palette, on the block diagram. This function controls when the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;While Loop&lt;/code&gt;&amp;nbsp;ends. If there is an error or you click the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Stop&lt;/code&gt;&amp;nbsp;button, the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;While Loop&lt;/code&gt;&amp;nbsp;stops.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;EXtimedelay.png&quot; src=&quot;http://cnx.org/content/m12292/latest/EXtimedelay.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&amp;nbsp;Set the wait for the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Time Delay&lt;/code&gt;&amp;nbsp;Express VI to 1 second.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Wire the block diagram as shown in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12292/latest/#s2l1f1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 2&lt;/span&gt;&lt;/a&gt;.&lt;div class=&quot;note&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0.75em; margin-left: 3em; margin-right: 3em; margin-top: 0.5em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;&quot;&gt;&lt;h3 class=&quot;note-header&quot; style=&quot;display: inline; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;NOTE:&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;You do not need to wire every terminal for each node. Wire only the necessary inputs for each node, such as instrument descriptor, VISA session, and error I/O.&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Save the VI as&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Voltage Monitor.vi&lt;/code&gt;&amp;nbsp;in the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;C:\Exercises\LabVIEW Basics I&lt;/code&gt;&amp;nbsp;directory.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Make sure the NI Instrument Simulator is powered on.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Display the front panel and run the VI. The LEDs alternate between Listen and Talk as LabVIEW communicates with the GPIB instrument once a second to get a simulated voltage reading. This voltage displays on the chart, and the minimum and maximum values update accordingly.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Stop and close the VI.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/2779611158106480513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/voltage-monitor-vi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/2779611158106480513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/2779611158106480513'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/voltage-monitor-vi.html' title='Voltage Monitor VI'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7297028084986565519.post-1631490920706527591</id><published>2010-09-25T07:29:00.001-07:00</published><updated>2010-09-25T07:29:28.012-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Using Instrument Driver VIs"/><title type='text'>Using Instrument Driver VIs</title><content type='html'>&lt;div id=&quot;cnx_module_header&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; margin-bottom: 1em;&quot;&gt;&lt;div id=&quot;cnx_abstract&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;span class=&quot;cnx_before&quot; style=&quot;font-weight: bold;&quot;&gt;Summary:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;span&quot;&gt;In this lesson, you will learn how to use instrument driver VIs.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;cnx_clear&quot; style=&quot;clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/div&gt;&lt;div id=&quot;cnx_main&quot; style=&quot;font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 1.5em; padding-bottom: 1em;&quot;&gt;&lt;div class=&quot;para&quot; id=&quot;p1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Instrument drivers are developed with a specific instrument in mind and eliminate the need for the user to know the exact IEEE 488.2 commands that the instrument is expecting.&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s1&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Components of an Instrument Driver&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;s1p1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;All instrument drivers in the library have the same basic VI hierarchy. The hierarchy, sequence of VIs, and error handling are the same as those used in other areas of I/O in LabVIEW, such as file I/O, DAQ, TCP/IP, and so on. Refer to the&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12255/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;File I/O VIs and Functions&lt;/a&gt;&amp;nbsp;section of the Strings and File I/O lesson, for more information about error handling.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s1p2&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12291/latest/#s1p2f1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 1&lt;/span&gt;&lt;/a&gt;&amp;nbsp;shows the hierarchy of an instrument driver.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;s1p2f1&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 1&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 1 (instdrivercomp.png)&quot; src=&quot;http://cnx.org/content/m12291/latest/instdrivercomp.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s1p3&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The high-level functions are built from the low-level functions. For the most control over the instrument, use the low-level functions. The high-level functions are easy to use and have soft front panels that resemble the instrument. Instrument drivers have VIs in the following categories:&lt;/div&gt;&lt;div class=&quot;list&quot; id=&quot;s1p3l1&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;ul class=&quot;labeled-item&quot; style=&quot;display: block; line-height: 1.25em; list-style-image: none; list-style-type: none; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Initialize:&amp;nbsp;&lt;/strong&gt;Initializes the communication channel to the instrument. This VI also can perform an identification query and reset operation, and it can perform any necessary actions to place the instrument in its default power-on state or other specified state.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Configuration:&amp;nbsp;&lt;/strong&gt;Configures the instrument to perform operations, such as setting up the trigger rate.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Action/Status:&amp;nbsp;&lt;/strong&gt;Contains two types of VIs. Action VIs cause the instrument to initiate or terminate test and measurement operations. Status VIs obtain the current status of the instrument or the status of pending operations. An example of an action VI is&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Acquire Single Shot&lt;/code&gt;. An example of a status VI is&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Query Transfer Pending&lt;/code&gt;.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Data:&amp;nbsp;&lt;/strong&gt;Transfers data to or from the instrument, such as reading a measured waveform from the instrument or downloading a waveform to the instrument.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Utility:&amp;nbsp;&lt;/strong&gt;Performs a wide variety of functions, such as reset, self-test, error query, and revision query.&lt;/li&gt;
&lt;li class=&quot;item&quot; style=&quot;line-height: 1.5em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Close:&amp;nbsp;&lt;/strong&gt;Terminates the communication channel to the instrument and deallocates the resources for that instrument.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s1p4&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;All National Instruments instrument drivers are required to implement the following functions:&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;initialize&lt;/code&gt;,&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;close&lt;/code&gt;,&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;reset&lt;/code&gt;,&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;self-test&lt;/code&gt;,&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;revision query&lt;/code&gt;,&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;error query&lt;/code&gt;, and&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;error message&lt;/code&gt;.&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s1s1&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Application Examples&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;s1s1p1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;LabVIEW also includes application example VIs that show how to use the component VIs to perform common tasks. Typically, this includes configuring, triggering, and returning measurements from an instrument. An application example VI does not initialize or close the instrument driver. These VIs are not intended to be a soft front panel for the instrument but rather to demonstrate some instrument driver capabilities and guide you in developing your own VI.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s2&quot; style=&quot;margin-bottom: 2em; margin-left: 0px; margin-right: 0px; margin-top: 2em;&quot;&gt;&lt;h2 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.5em; font-weight: bold; letter-spacing: -1px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Inputs and Outputs of Instrument Driver VIs&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;s2p1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;Just as all instrument drivers share a common VI hierarchy, they also share common inputs and outputs.&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s2s1&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;Resource Name or Instrument Descriptor&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;s2s1p1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;When you initialize the communication channel to an instrument, you must know the resource name or instrument descriptor. A resource is an instrument or interface, and the instrument descriptor is the exact name and location of a resource in the following format:&lt;/div&gt;&lt;div class=&quot;code&quot; style=&quot;margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;&lt;pre class=&quot;codeblock&quot; style=&quot;font-family: courier, &#39;courier new&#39;, monospace; font-size: 1em; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;&lt;code style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;
     Interface Type[board index]::Address::INSTR
   &lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;Optional parameters are shown in square brackets&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;[ ]&lt;/code&gt;. For example,&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;GPIB::2::INSTR&lt;/code&gt;&amp;nbsp;is the instrument descriptor for a GPIB instrument at address 2.&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s2s1p2&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;The VISA resource name control located on the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Controls&amp;gt;&amp;gt;All Controls&amp;gt;&amp;gt;I/O&lt;/code&gt;&amp;nbsp;palette is similar to the DAQ channel name control, but it is specifically used for instrument control. Refer to the&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12288/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;VISA&lt;/a&gt;&amp;nbsp;section for more information about VISA.&lt;/div&gt;&lt;div class=&quot;para&quot; id=&quot;s2s1p3&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;You can use MAX to determine what resources and instrument addresses are available, as you did in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12285/latest/&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;GPIB Configuration with MAX&lt;/a&gt;&amp;nbsp;when you assigned a VISA alias of&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;devsim&lt;/code&gt;&amp;nbsp;to the NI Instrument Simulator. The alias makes it easier to communicate with instruments because you no longer need to memorize which interface and address each instrument uses. You can use the alias in the VISA resource name control instead of the instrument descriptor. For example, you can type&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;devsim&lt;/code&gt;&amp;nbsp;instead of&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;GPIB::2::INSTR&lt;/code&gt;.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;section&quot; id=&quot;s2s2&quot; style=&quot;margin-bottom: 1.75em; margin-left: 3em; margin-right: 0px; margin-top: 1.75em;&quot;&gt;&lt;h3 class=&quot;section-header&quot; style=&quot;border-bottom-color: rgb(51, 102, 153); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(51, 102, 153); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 102, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(51, 102, 153); border-top-style: solid; border-top-width: 0px; color: #336699; font-size: 1.05em; font-weight: bold; letter-spacing: 0px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0.1em; padding-left: 0.4em; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;title&quot;&gt;VISA Sessions&lt;/strong&gt;&lt;/h3&gt;&lt;div class=&quot;para&quot; id=&quot;s2s2p1&quot; style=&quot;display: block; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;&quot;&gt;After you initialize an instrument, the Initialize VI returns a VISA session number. The VISA session is a connection or link to a resource, such as the instrument. You do not need to display this value. However, each time you communicate with that device, you must wire the VISA session input on the instrument driver VIs. After you finish communicating with the instrument, you use the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;Close&lt;/code&gt;&amp;nbsp;VI to close all references or resources for the instrument.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;example&quot; id=&quot;ex1&quot; style=&quot;border-bottom-color: rgb(51, 51, 51); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(51, 51, 51); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 1.2em; margin-left: 3em; margin-right: 3em; margin-top: 1.2em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;&lt;h2 class=&quot;example-header&quot; style=&quot;font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;cnx_label&quot; style=&quot;color: #336699; font-family: arial, helvetica, sans-serif; font-size: 0.9em; font-weight: bold; text-transform: uppercase;&quot;&gt;EXAMPLE 1:&amp;nbsp;&lt;/span&gt;&lt;strong class=&quot;title&quot;&gt;Example Instrument Driver Application&lt;/strong&gt;&lt;/h2&gt;&lt;div class=&quot;para&quot; id=&quot;ex1p1&quot; style=&quot;display: block; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.5em;&quot;&gt;The block diagram in&amp;nbsp;&lt;a class=&quot;cnxn&quot; href=&quot;http://cnx.org/content/m12291/latest/#ex1f1&quot; style=&quot;color: #336699; font-weight: bold;&quot;&gt;&lt;span class=&quot;cnxn-target&quot; style=&quot;text-transform: capitalize;&quot;&gt;Figure 2&lt;/span&gt;&lt;/a&gt;&amp;nbsp;initializes the instrument with the&amp;nbsp;&lt;code class=&quot;codeline&quot; style=&quot;color: #006600; font-family: courier, &#39;courier new&#39;, monospace; font-size: 1.18em; font-style: normal;&quot;&gt;devsim&lt;/code&gt;&amp;nbsp;alias, uses a configuration VI to select a waveform, uses two data VIs to read the waveform and the waveform scaling information, closes the instrument, and checks the error status. Every application that uses an instrument driver has a similar sequence of events.&lt;/div&gt;&lt;div class=&quot;figure&quot; id=&quot;ex1f1&quot; style=&quot;margin-bottom: 1.5em; margin-left: auto; margin-right: auto; margin-top: 1.5em;&quot;&gt;&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;caption align=&quot;bottom&quot; class=&quot;figure-caption&quot; style=&quot;font-size: 0.9em; font-weight: normal; line-height: normal; padding-top: 0.3em; text-align: left;&quot;&gt;&lt;strong class=&quot;cnx_label&quot;&gt;Figure 2&lt;/strong&gt;&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;inner-figure&quot; style=&quot;border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(153, 153, 153); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(153, 153, 153); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; padding-bottom: 0.75em; padding-left: 0px; padding-right: 0px; padding-top: 0.5em; text-align: center;&quot;&gt;&lt;span class=&quot;media&quot;&gt;&lt;img alt=&quot;Figure 2 (instdrvex.png)&quot; src=&quot;http://cnx.org/content/m12291/latest/instdrvex.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;cnx_actions_bottom&quot; lang=&quot;en&quot; style=&quot;border-bottom-color: rgb(255, 204, 0); border-bottom-style: solid; border-bottom-width: 0px; border-left-color: rgb(255, 204, 0); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(255, 204, 0); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(255, 204, 0); border-top-style: solid; border-top-width: 1px; clear: both; font-family: tahoma, verdana, arial, helvetica, sans-serif; font-size: 0.9em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-top: 0.3em;&quot;&gt;&lt;div&gt;&lt;h2 class=&quot;hiddenStructure&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-style: none !important; border-color: initial !important; border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; border-width: initial !important; font-size: 1em; height: 1px !important; left: 0px !important; margin-bottom: 0px !important; margin-left: -1px !important; margin-right: 0px !important; margin-top: -1px !important; overflow-x: hidden !important; overflow-y: hidden !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; top: -500px !important; width: 1px !important;&quot;&gt;Content actions&lt;/h2&gt;&lt;div class=&quot;cnx_actions_category&quot; id=&quot;cnx_actions_category_feedback&quot; style=&quot;background-image: url(http://cnx.org/cnx-styles/newlook/envelope.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; padding-bottom: 0.4em; padding-left: 20px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;h3 style=&quot;font-size: 0.9em; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 1.25em; text-transform: uppercase;&quot;&gt;&lt;span&gt;GIVE FEEDBACK:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://labview-projects.blogspot.com/feeds/1631490920706527591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://labview-projects.blogspot.com/2010/09/using-instrument-driver-vis.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/1631490920706527591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7297028084986565519/posts/default/1631490920706527591'/><link rel='alternate' type='text/html' href='http://labview-projects.blogspot.com/2010/09/using-instrument-driver-vis.html' title='Using Instrument Driver VIs'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>