How To Use First Robot With Labview



Similar documents
FRC WPI Robotics Library Overview

Lab View with crio Tutorial. Control System Design Feb. 14, 2006

LabVIEWTM. Robotics Programming Guide for the FIRST Robotics Competition. LabVIEW Robotics Programming Guide for FRC. January D-01

EasyC. Programming Tips

Best Practises for LabVIEW FPGA Design Flow. uk.ni.com ireland.ni.com

Medical Device Design: Shorten Prototype and Deployment Time with NI Tools. NI Technical Symposium 2008

Getting Started with the LabVIEW Mobile Module Version 2009

Background: Experimental Manufacturing Cell

Getting Started with the LabVIEW Mobile Module

Bioreactor Process Plant Powered by NI LabVIEW and NI CompactRIO

BUILD VERSUS BUY. Understanding the Total Cost of Embedded Design.

Build Better Robots Faster. Radim ŠTEFAN

Next Gen Platform: Team & Mentor Guide

Technical Training Module ( 30 Days)

NI LabVIEW for CompactRIO Developer s Guide

Fondamenti su strumenti di sviluppo per microcontrollori PIC

NI Platform for automotive measurement and test applications

ROBOTC Software Inspection Guide with Additional Help Documentation

C/C++ Programming Guide for the FIRST Robotics Competition

Best Practices for Deploying, Replicating, and Managing Real-Time and FPGA Applications. ni.com

ni.com/vision NI Vision

Computerized Micro Jet Engine Test Facility

Basics of Simulation Technology (SPICE), Virtual Instrumentation and Implications on Circuit and System Design

Data Acquisition Using NI-DAQmx

Unit 1: INTRODUCTION TO ADVANCED ROBOTIC DESIGN & ENGINEERING

SuperIOr Controller. Digital Dynamics, Inc., 2014 All Rights Reserved. Patent Pending. Rev:

Silabs Ember Development Tools

Using NI Vision & Motion for Automated Inspection of Medical Devices and Pharmaceutical Processes. Morten Jensen 2004

Exercise 10: Basic LabVIEW Programming

P545 Autonomous Cart

NI InsightCM Server Version 1.0

Getting Started with the LabVIEW Embedded Module for ARM Microcontrollers 1.0 For the Keil MCB2300

EET 310 Programming Tools

Industrial Automation Training Academy. PLC, HMI & Drives Training Programs Duration: 6 Months (180 ~ 240 Hours)

How To Run A Factory I/O On A Microsoft Gpu 2.5 (Sdk) On A Computer Or Microsoft Powerbook 2.3 (Powerpoint) On An Android Computer Or Macbook 2 (Powerstation) On

How To Secure Your Computer With Libreware Libreroview (Windows) And Libreros (Windows 2) (Windows 3.5) (For Windows) (Powerpoint) (Networking)

System Overview and Terms

Getting Started with the NI LabVIEW Embedded Module for ARM Microcontrollers

SECTION 13XXX CONTROL DESCRIPTION (DICP Models NC, 412, 622, 826, 1030)

PLCs and SCADA Systems

SHORT TRAINING COURSES

Electrolux Dishwasher Performance Test Lab

Computer Automation Techniques. Arthur Carroll

Software INTERACT. MachineLogic. The Shortest Distance Between Man and Machine

BitDefender Security for Exchange

Integrated Building Management and Security System. Building Automation & Security.

Skynax. Mobility Management System. System Manual

Introduction to the NI Real-Time Hypervisor

Lego Robot Tutorials Touch Sensors

NEW GENERATION PROGRAMMABLE AUTOMATION CONTROLLER

How To Make A Car A Car Into A Car With A Car Stereo And A Car Monitor

DESIGN AND IMPLEMENTATION OF ONLINE PATIENT MONITORING SYSTEM

Read Me UNISTREAM AUTOMATION IDE

ISA CERTIFIED AUTOMATION PROFESSIONAL (CAP ) CLASSIFICATION SYSTEM

Learning Remote Control Framework ADD-ON for LabVIEW

AutoLog ControlMan. Remote Monitoring & Controlling Service

ZigBee Technology Overview

DUKANE Intelligent Assembly Solutions

Echtzeittesten mit MathWorks leicht gemacht Simulink Real-Time Tobias Kuschmider Applikationsingenieur

and Certification What Does It Take To Get Certified? Steven Hoenig NJ Business Unit Manager

Data Acquisition in LabVIEW

Measurement Studio. Contents RELEASE NOTES

MOC 20467B: Designing Business Intelligence Solutions with Microsoft SQL Server 2012

Getting Started with Vision 6

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

D800002X122 March Getting Started With Your DeltaV Digital Automation System

Lab 3: Introduction to Data Acquisition Cards

Programming the VEX Robot

How To Play Botball

Manage Software Development in LabVIEW with Professional Tools

Embedded System Deployment and Management

NI NI C Series Overview DATASHEET. 8-Channel Sinking Digital Input Module

As it relates to Android Studio. By Phil Malone:

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply

New Technology Introduction: MIT App Inventor

TRY OUR SOFTWARE TAKE IT FOR A TEST DRIVE PRODUCT CATALOG 2015

LabVIEW Tutorial Manual

HP MediaSmart Server Software Upgrade from v.2 to v.3

Best Robotics Sample Program Quick Start

AXIS Camera Station Quick Installation Guide

DAQ in MATLAB HANS-PETTER HALVORSEN,

FYS3240 PC-based instrumentation and microcontrollers. Introduction. Spring 2012 Lecture #1

International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering. (ISO 3297: 2007 Certified Organization)

HP MediaSmart Server Software Upgrade from v.1 to v.3

Software Development with Real- Time Workshop Embedded Coder Nigel Holliday Thales Missile Electronics. Missile Electronics

SNMP-1000 Intelligent SNMP/HTTP System Manager Features Introduction Web-enabled, No Driver Needed Powerful yet Easy to Use

Siemens and National Instruments Deliver Integrated Automation and Measurement Solutions

VSys Modular Asset Monitoring System

Chapter 1. Introduction to ios Development. Objectives: Touch on the history of ios and the devices that support this operating system.

New Technology Introduction: Android Studio with PushBot

System i and System p. Customer service, support, and troubleshooting

13 Managing Devices. Your computer is an assembly of many components from different manufacturers. LESSON OBJECTIVES

Jacobsen Declaration Exhibit AY

Introduction to LabVIEW

Massachusetts Institute of Technology

Siemens AG LOGO! App V1.0.0 LOGO! Edition 03/2013. Manual. Answers for industry.

Energy efficient Smart home based on Wireless Sensor Network using LabVIEW

Transcription:

FIRST Robotics LabVIEW Training

SECTION 1: LABVIEW OVERVIEW

What is LabVIEW? It is a tool used by scientists and engineers to measure and automate the universe around us It is a graphical programming environment programming it is a programming language and you won t be an expert in a day or two graphical you draw your code environment it is more than measurement and automation, it has analysis and user interface capabilities created for scientists and engineers There is a learning curve, so plan to study it

What is LabVIEW? Examples of LabVIEW in the professional world LabVIEW controls the timing in the Large Hadron Collider LabVIEW tests the XBox console and controllers LabVIEW tests noise characteristics of Boeing planes LabVIEW is used for data acquisition more than C++, C#, or any other programming environment DARPA challenge video

What is LabVIEW? DARPA Video : http://www.youtube.com/watch?v=jclsrwswzng&feature=related

What is LabVIEW?

Learning LabVIEW Students will learn fastest by using LabVIEW Online tutorials provide a good start, but most will pick it up and learn faster than you can teach Adults need structured lessons www.ni.com/first, LabVIEW Training Mini-modules for quick overviews of various LabVIEW features Use the support forums www.ni.com/first, Community Support Most of your questions have been asked, and answered, several times

Install LabVIEW using the DVD provided to your team. Check ni.com/first, Software Downloads for updates Use your team s serial number for activations. Installation Activate on as many team computers as you need to complete the software programming. Obey the terms and conditions, limiting use to projects related to FIRST Robotics. To ensure teams are all on the same version at tournaments, the previous year s version will expire in January of the following year. When your team receives the new DVD as part of your robot kit, install and use this new version. Uninstalling the old version is not required, but recommended. Troubleshoot installation and activation problems at ni.com/first

LabVIEW Splash Screen Check version for current season

Using Examples Splash Screen Examples More

New Programs Create a new program Splash Screen Blank VI

Front Panel vs. Block Diagram

Front Panel Block Diagram User interface Input/Output to user Program instructions Programming functions

Front Panel

Front Panel

Front Panel

Tools Palette Automatic Tool Selection Operate Value Position/Size/Select Edit Text Connect Wire Set/Clear Breakpoint Probe Data Set Color

Control Properties

Controls and Indicators Controls Indicators

Front Panel Properties

Block Diagram

Wiring

Wiring

Wiring

Functions Categories Palettes Sub-palettes

Functions

Help Window

Wiring Functions

Wiring Functions

Running Programs

Structures

Create Control

For Loop

Timing

Debugging

Data Flow

Sub VI s

Arrays

Clusters

SECTION 2: FIRST ROBOTICS TRAINING

2. Understanding the hardware Architecture CompactRIO Programming approach FIRST version

FRC Topology

FRC System LabVIEW Host Application LabVIEW crio Application Ethernet Access Point CompactRIO System Programming Flow 1. Develop CompactRIO Program using Laptop or Desktop 2. Test/Debug across Ethernet 3. Develop Windows Host Program 4. Deploy Standalone crio code (build executable) 5. Enjoy!

Robot Control Hardware - CompactRIO

CompactRIO Architecture Processor for stand-alone operation and advanced floating-point analysis Reconfigurable FPGA for high-speed and custom I/O timing, triggering, control I/O Modules direct connection to industrial sensors/actuators

3. FIRST Architecture in LabVIEW WPI Robotics FRC Robot Framework Dashboard Framework

Competition Flow Autonomous Disabled Teleop Finish

WPI Programming All WPI Robotics Library Functions follow these steps: Initilize Get/Set values Close

WPI Programming

RefNums

WPI Functions Functions for controlling motors, sensors, actuators, I/O, camera, driver station, and to perform other functions in the robot. All follow the same Open, Get/Set, Close process.

RobotDrive Open 2- or 4- motor version Drive using Arcade, Tank, or Holonomic Drive Close Motor Use Joystick palette to read values from Joystick

Access sensors on your robot. Use these values to determine your robot s next moves. Sensor

Use these VI s to control additional motors and actuators on your robot to control arms, launchers, and other tools. Actuators

Send and receive analog and digital values on the crio, when other actuator and sensor VI s don t fit your application. I/O

Acquire images from the camera. Camera

Utilities Several useful functions for lowlevel control of crio, Watchdog timer is an important set of VI s for your robot.

Watchdog Shuts down robot in the event that your driver station loses communication with the robot. Requires that you periodically feed the watchdog to keep it from shutting down your robot. If you driver station shuts down, the watchdog is not fed and your robot turns off. Make sure you feed the watchdog or your robot will stop.

Used to program the driver station and to pass data between driver station and robot. Driver Station

Create from splash screen Robot Project

Robot Project

FRC Robotics Project

FRC Robot Front Panel

FRC Robot Block Diagram

Begin.vi

Mode

TeleOp Mode

Autonomous Mode

Timeout

Finish

Finish

Deploying the Robot Code

Create from splash screen Dashboard Project

Dashboard Project

Dashboard Project

Dashboard Front Panel

Dashboard Build

Upgrade Firmware

4. Additional Resources Documentation From LabVIEW splash screen WPI Robotics Programming Guide NI.com/FIRST LabVIEW tutorials for your team Motor Basics Sensors basics PID tutorial Video processing New software feature training Software downloads Community support