ME_120_Lab_2

ME_120_Lab_2 - ME 120 Experimental Methods Laboratory...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Spring 2008 Ananda Mysore ME 120 Experimental Methods Laboratory Ananda Mysore
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Spring 2008 ME 120 Experimental Methods Laboratory Ananda Mysore Data Types Found in LabVIEW Images from National Instruments website
Background image of page 2
Spring 2008 ME 120 Experimental Methods Laboratory Ananda Mysore Loops s While Loops b i terminal counts iteration b Always runs at least once b Runs until stop condition is met s For Loops b i terminal counts iterations b Run according to input N of count terminal While Loop While Loop For Loop For Loop Images from National Instruments website
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Spring 2008 ME 120 Experimental Methods Laboratory Ananda Mysore Drawing a Loop 1. Select the structure 2. Enclose code to be repeated 3. Drop or drag additional nodes and then wire Images from National Instruments website
Background image of page 4
Spring 2008 ME 120 Experimental Methods Laboratory Ananda Mysore • Loops can accumulate arrays at their boundaries with auto-indexing • For Loops auto-index by default • While Loops output only the final value by default • Right-click tunnel and enable/disable auto- indexing Building Arrays with Loops (Auto-Indexing) Wire becomes thicker Wire remains the same size Auto-Indexing Disabled Auto-Indexing Enabled Only one value (last iteration) is passed out of the loop 1D Array 0 1 2 3 4 5 5 Images from National Instruments website
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 16

ME_120_Lab_2 - ME 120 Experimental Methods Laboratory...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online