MATE
  • Home
  • About MATE
  • Contact
  • facebook
  • twitter
  • Flicker
  • YouTube
  • Home
    • Home
    • About MATE
      • Mission
      • Guiding Principles
      • MATE Strategy
      • Staff
        • Deidre Sullivan
        • Jill Zande
        • Erica Moulton
        • Tami Lunsford
    • Contact
  • ROV Competition
    • ROV Competition Home
    • Team Info
      • Getting Started
      • FAQs
      • Teams Only Area
      • Resources
        • Books and Publications
        • Internet Resources & Software
        • Parts & Supplies
        • Just for fun
        • Fluid Power Quiz
    • Events
      • Regional Competitions
      • International Competition
    • Missions, Specs, & Scoring
      • EXPLORER
      • RANGER
      • SCOUT
      • Scoring
    • Sponsors
    • Judges & Volunteers
    • Gallery
    • Forums
    • Competition Registration
  • Internships
    • Internship Home
    • I want to be an intern
    • I am a current intern
    • I am a faculty with potential interns
    • Information for the family of a potential intern
    • Información para las familias de los sustantivos de MATE tantivos de MATE
    • I am an employer
    • I am a past intern
    • Other Internship
    • Internship Blog
  • Workshops
    • Professional Development
    • MATE Summer Institutes
    • Other Workshops
  • Curriculum
    • Underwater Robotics Textbook
      • Inside the Textbox
    • Beginner ROV Course
    • Intermediate ROV Course
      • Modules
        • Module1
        • Module2
        • Module 3
        • Module4
        • Module5
        • Module6
        • Module7
        • Module8
        • Module9
        • Module10
        • Module11
        • Module12
        • Module13
        • Module14
        • Module15
        • Module16
        • Module14
        • Module 17
        • Engineering Design Processes
        • pedagogy
        • Module1
        • Preparation
        • Module13
        • Module14
        • Module14
        • Module1
    • Exploring Ocean Careers
    • ROV Curriculum Resources
  • Partners
    • Partnerships
    • Educational Partners
    • Industry Partners
  • Jobs
  • Workforce
  • Store
    • AngelFish Kit

  • Underwater Robotics Textbook
    • Inside the Textbox
  • Beginner ROV Course
  • Intermediate ROV Course
    • Modules
      • Module1
      • Module2
      • Module 3
      • Module4
      • Module5
      • Module6
      • Module7
      • Module8
      • Module9
      • Module10
      • Module11
      • Module12
      • Module13
      • Module14
      • Module15
      • Module16
      • Module14
      • Module 17
      • Engineering Design Processes
      • pedagogy
      • Module1
      • Preparation
      • Module13
      • Module14
      • Module14
      • Module1
  • Exploring Ocean Careers
  • ROV Curriculum Resources

Module 11 - Computer Control: Intro to Programming

Goal:

This module will introduce the student to LabVIEW programming concepts using the Arduino processor and the MATE ROV Control System.  Students will develop a basic processing loop to read and input and turn and output on and off as dictated by the input state.

Objectives

Upon completion of this module, the student should be able to:

  1. Develop a basic processing loop.
  2. Read the state of an input pin and control and output based upon that state.
  3. Incorporate a delay timer in the processing loop.
  4. Add a sub-VI to the main processing loop.
Sections:
  1. Introduction to LabVIEW concepts and terms
    1. Virtual instruments (VI)
    2. Front Panel
    3. Block Diagram
    4. Controls
    5. Data types
    6. Indicators
    7. Palettes
    8. Structures
      1. While-Loop
      2. Case
      3. For-Loop
      4. Formula Node
    9. Clusters
  2. Develop a LabVIEW VI
    1. Basic processing loop
    2. Turning outputs on/off
    3. Delay timers
    4. Subroutines
Reference:
  • LabVIEW 2011
  • LabVIEW tutorials
  • LabVIEW Interface for Arduino (LIFA) toolkit
  • Arduino Uno rev3
Lecture Presentation:
  • LabVIEW Basics (PowerPoint document) (PDF document)
Handouts:
  • Introduction to LabView Programming - Including Arduino Toolkit (Word document) (PDF document)
Tools Required:
  • None
Materials Required:
  • Computer with LabVIEW 2011 and LabVIEW Interface for Arduino (LIFA) tookit installed.
  • Arduino Uno connected to the computer via USB and driver installed.
  • 1- LED with series resistor
  • 1- normally closed pushbutton switch with breadboard leads
  • push_on_off.vi (right-click and "save as" then unzip)
  • LIFA_Base3 - modified to initialize hardware to keep PWM off at startup.
More Advanced Ideas:

Use the native Arduino programming language, an adaptation of C/C++,  to write a similar program as the one outlined in the above handout.

  • Arduino programming language reference
  • Example programs
Additional Links:
  • LabView Interface for Arduino (LIFA) community
  • National Instruments (NI) Youtube video on LabVIEW Interface for Arduino (LIFA)
  • YouTube search of LIFA

 

Knowledge Quiz:
  • Home
  • About
  • Contact
  • Staff Area
  • ROV Competition
  • Internships
  • Workshops
  • Curriculum
  • Partners
  • Careers
  • Job Listings
  • Workforce
  • Sitemap
  • Privacy Policy
MATE

Monterey Peninsula College
980 Fremont Street
Monterey, CA 93940

phone: (831) 645-1393

email: info@marinetech.org

Copyright © 2012, MATE. All rights reserved.