View Single Post
  #2   Spotlight this post!  
Unread 23-10-2011, 15:27
Brian Holford Brian Holford is offline
GrimsleyEE
FRC #3215 (Prion)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Greensboro, NC
Posts: 12
Brian Holford is an unknown quantity at this point
Re: NXT Labview Training with Mindstorm Kits

Hi everyone,

I have uploaded the 4th unit section on Finite State Machines in Labview.
https://sites.google.com/site/0123ic...storm_training

The examples created are:
A speed controller like a ceiling fan
A up/down numeric counter
A Multi-Click Counter

Finite State Machines Topics Covered:
  • What they are
  • State Diagrams
  • Mealy vs Moore
  • Why and where to use
  • Determining States
  • Abstraction and Black Box Design
  • Speed Controller
  • Identifying the Task from Specifications
  • Drawing the State Diagram and Identifying the States
  • Identifying the Transitions
  • Determining the Output Response
  • Converting the State Diagram into a Labview Program
  • Mapping States to Cases of a Case Structure in Labview
  • Debugging an NXT program
  • Using Numeric, Strings, and Enumerated Data Types as input to Case Structures
  • Converting from a Moore machine to a Mealy machine
  • Local Variables in Labview
  • Sample Rate and iteration based timing and delays

A few slides were also used to establish that mistakes are an important part of learning and encouragement to dig into things when they don't work properly.

I'm actively working on all of the lessons(units really) and the information in each is somewhat dynamic still.

To Mohamed: (check your messages)

The concepts employed in the curriculum are typically how these problems would be solved in a hardware solution. The overall problem solving concepts are portable to any language, particularly other versions of Labview. Labview and the Mindstorms Kits are used as teaching tools that provide real-time, hands on feedback.

The real FRC environment with the cRIO hardware is easier to work in because of the feedback structures and more flexibility with the case structure inputs and Framed Sequences!
Team 358 has a very helpful website that describes how to solve several common tasks in the Labview FRC environment
http://team358.org/files/programming...2009-/LabVIEW/

Regards,

Brian