ME 120 Experimental Methods Laboratory3

ME 120 Experimental Methods Laboratory3 - Ananda Mysore...

Info iconThis preview shows pages 1–12. 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
String, Enum, and Error Cases String Case Enum Case Error Case Spring 2008 ME 120 Experimental Methods Laboratory Ananda Mysore
Background image of page 2
State Machine Architecture s Advantages b Can go from any state from any other b Easy to modify and debug s Disadvantages b Can lose events if two occur at the same time Spring 2008 ME 120 Experimental Methods Laboratory Ananda Mysore States: 0: Startup 1: Idle 2: Event 1 3: Event 2 4: Shutdown
Background image of page 3

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

View Full DocumentRight Arrow Icon
Simple State Machine Spring 2008 ME 120 Experimental Methods Laboratory Ananda Mysore
Background image of page 4
• A string is a sequence of displayable or - characters (ASCII) • Many uses — displaying messages, instrument control, file I/O • String control/indicator is in the Controls»String subpalette Strings Spring 2008 ME 120 Experimental Methods Laboratory Ananda Mysore
Background image of page 5

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

View Full DocumentRight Arrow Icon
String Display Modes Normal display \ code display Spring 2008 Ananda Mysore Password display Hex display
Background image of page 6
String Length String Functions Spring 2008 ME 120 Experimental Methods Laboratory
Background image of page 7

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

View Full DocumentRight Arrow Icon
Background image of page 8
Background image of page 9

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

View Full DocumentRight Arrow Icon
Background image of page 10
Background image of page 11

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

View Full DocumentRight Arrow Icon
Background image of page 12
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Ananda Mysore Concatenate Strings (spaces here) String Functions String Subset Spring 2008 Ananda Mysore Match Pattern Converting Strings to Numerics: Scan From String Spring 2008 ME 120 Experimental Methods Laboratory Ananda Mysore Converting Numerics to Strings: Build String Spring 2008 ME 120 Experimental Methods Laboratory Ananda Mysore Note semicolon Formula Node Spring 2008 ME 120 Experimental Methods Laboratory Ananda Mysore • In the Structures subpalette • Implement complicated equations • Variables created at border • Variable names are case sensitive • Each statement must terminate with a semicolon (;) • Context Help Window shows available functions Decision Making with Formula Nodes Spring 2008 ME 120 Experimental Methods Laboratory Ananda Mysore Two different ways of using an if-then statement in a Formula Node Both structures produce the same result...
View Full Document

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

Page1 / 12

ME 120 Experimental Methods Laboratory3 - Ananda Mysore...

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

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