ME 120 Experimental Methods Laboratory2

ME 120 Experimental Methods Laboratory2 - ME 120...

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

View Full Document Right Arrow Icon
ME 120 Experimental Methods Laboratory Spring 2008 Ananda Mysore 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
Data Types Found in LabVIEW Spring 2008 ME 120 Experimental Methods Laboratory Ananda Mysore
Background image of page 2
Loops s While Loops b i terminal counts iteration b Always runs at least once b Runs until stop condition is et While Loop Spring 2008 ME 120 Experimental Methods Laboratory Ananda Mysore met s For Loops b i terminal counts iterations b Run according to input N of count terminal For Loop
Background image of page 3

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

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

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

View Full DocumentRight Arrow Icon
Shift Register – Access Previous Loop Data • Available at left or right border of loop structures
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/08/2010 for the course ME 120 at San Jose State University .

Page1 / 16

ME 120 Experimental Methods Laboratory2 - ME 120...

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

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