VPL basic – data and variables Young Joon Kim MSRDS First Beginner Course – STEP6.

Slides:



Advertisements
Similar presentations
Objectives Build and modify an organization chart.
Advertisements

Using Macros and Visual Basic for Applications (VBA) with Excel
Path Analysis SPSS/AMOS
SIMULINK Dr. Samir Al-Amer. SIMULINK SIMULINK is a power simulation program that comes with MATLAB Used to simulate wide range of dynamical systems To.
Rational Rose Overview Diagrams, Directory Structure, Working with Rose.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Introduction to LabVIEW
Multiple Forms, Container Controls, AddHandler This presentation is based on the Forms and ContainerControls VB Projects 1.
What should I do first Young Joon Kim MSRDS First Beginner Course - STEP1.
HelloApps.com What should I do first Young Joon Kim MSRDS First Beginner Course - STEP1.
Lesson 2.  To help ensure accurate data, rules that check entries against specified values can be applied to a field. A validation rule is applied to.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Switchboards, PivotTables, and PivotCharts.
Adobe InDesign CS5 – Illustrated Unit E: Using Master Pages Adobe InDesign CS5 – Illustrated Unit E: Using Master Pages.
1 ITI 1120 Lab # 1 An Introduction to the Lab Environment Contributors: G. Arbez, M. Eid, D. Inkpen, A. Williams, D. Amyot.
1 of 8 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Copyright © 2010 Wolters Kluwer Health | Lippincott Williams & Wilkins Introduction to Windows Chapter 2.
Chapter 4 Operation / Guide Screen Otasuke GP-EX! Chapter 4 Operation/Guide Screen.
Active-HDL Interfaces Debugging C Code Course 10.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files.
Elegant avoiding of obstacle Young Joon Kim MSRDS First Beginner Course – STEP5.
Chapter Two Creating a First Project in Visual Basic.
Introduction to ArcGIS for Environmental Scientists Module 3 – GIS Analysis Model Builder.
CMPF124: Basics Skills for Knowledge Workers Manipulating Windows GUI.
CS320n –Visual Programming More LabVIEW Foundations.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Simulink Simulink is a graphical extension to MATLAB for modeling and simulation of systems. In Simulink, systems are drawn on screen as block diagrams.
INTRODUCTION TO SIMULINK by Yasmin Hanum Md Thayoob & Aidil Azwin Zainul Abidin.
More PowerPoint. Re-using your slides You can re-use your slides in different presentation. Choose Insert, Slides from Files Browse to locate the presentation.
First glance of robotics course (VPL) Young Joon Kim MSRDS First Beginner Course – STEP3.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
InDesign CS3 Lesson 3 Working with Layers. By default, a new document contains just one layer (named Layer1). You can rename the layer and add more layers.
My first robot programming - Simple “Go” Young Joon Kim MSRDS First Beginner Course – STEP4.
Adding Code to the Option Button. Open VB 1.Double click the Calculate button and select General from the Object list box. 2.Add the following code to.
SPL basic – Build Simulation Environment Young Joon Kim SPL First Beginner Course – 03.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson.
Microsoft Visual C# 2010 Fourth Edition Chapter 3 Using GUI Objects and the Visual Studio IDE.
Editing and Debugging Mumps with VistA and the Eclipse IDE Joel L. Ivey, Ph.D. Dept. of Veteran Affairs OI&T, Veterans Health IT Infrastructure & Security.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
Lessons Copy and Paste Text Drag and Drop Text 2-Saving Documents 3- Printing 4-Inserting Tables Modifying Page Layout Format Page Margins Insert a Blank.
Objectives Create a folder in Google Drive.
Chapter Topics 15.1 Graphical User Interfaces
Using a template to create a document
3.01 Apply Controls Associated With Visual Studio Form
Creating Web Pages and Graphics
3.01 Apply Controls Associated With Visual Studio Form
What should I do first MSRDS First Beginner Course - STEP1
Naming, Saving, & Retrieving Files
Basic Sensors – Laser Distance Sensor
TITLE OF PRESENTATION TOPIC HEADER TOPIC HEADER TOPIC HEADER
Young Joon Kim SPL basic – Quick Start SPL First Beginner Course – 01 Young Joon Kim
VPL Patterns – Multi-Action Activity
Make a “Title Block” Print Your Furniture
Chapter 15: GUI Applications & Event-Driven Programming
My first robot programming - Simple “GoTo”
VPL Patterns – Loop Pattern using Notification
Young Joon Kim SPL basic – Quick Start SPL First Beginner Course – 01 Young Joon Kim
First glance of robotics course (SPL)
My first robot programming - Simple “Go”
Pose Sensors – Detect Orientation
Overview of the IDE Visual Studio .NET is Microsoft’s Integrated Development Environment (IDE) for creating, running and debugging programs (also.
Basic Sensors – RFID Sensor
An Introduction to Designing and Executing Workflows with Taverna
My first robot programming - Simple “GoTo”
My first robot programming - Simple “GoFor”
MATLAB Interface Programming
Presentation transcript:

VPL basic – data and variables Young Joon Kim MSRDS First Beginner Course – STEP6

2 Topics Procedure for VPL Programming Data and variable activities Defining variable Reading variable Displaying your name Input data Manipulate data with “Calculate”

3 VPL Visual Programming Language –Easy programming tool for novices and students Easy to start Easy to learn Easy to skill up –Draw logics –Provide intuitive and understandable flow –Applicable for most S/W development area

4 Procedure for VPL programming

5 Step1: Add activities or services Add activities Add services

6 Step2: Set values Procedure for VPL programming Set values

7 Step3: Connect each activity or service Procedure for VPL programming Connect

8 Step4: Connect functions Procedure for VPL programming

9 Step5: Connect data for each item Procedure for VPL programming

10 Procedure for VPL programming Step6: Save and run a diagram

11 Procedure for VPL programming Step7: Check the result

12 Procedure for VPL programming Check log data Log data

13 Procedure for VPL programming Stop VPL running

14 Data and variable activities

15 Data and variable activities Data activity –Define constant values –Can’t be modified Variable activity –Keep the values –Can be modified

16 Adding “Data” activity Double click “Data” activity or drag and drop Select data type Input data Double-click Select data type Input default value

17 Double click “Variable” activity or drag and drop Adding “Variable” activity Double-click

18 Defining variable

19 Defining variable Click “…” icon Click icon

20 Add variable Change name Select variable type Defining variable Click Change name Click Select type Click 1 2 3

21 Assign value to the variable Defining variable Connect

22 Select “SetValue” item Defining variable

23 Defining variable Assigned value

24 Reading variable

25 Reading variable Use “Calculate” activity Double-click

26 Reading variable Connect “Variable” and “Calculate” activities Connect

27 Reading variable Select “state” item from the list

28 Reading variable Add “.” Select “a” item from the list Add “.” Select “a” 1 2

29 Reading variable Add a “Simple Dialog” service Double-click

30 Reading variable Connect “Calculate” and “Simple Dialog” service

31 Reading variable Select “AlertDialog” function

32 Reading variable Select “value” item from the left list

33 Reading variable Save and run diagram

34 Reading variable Execution result

35 Displaying your name

36 Displaying your name Prepare below diagrams

37 Displaying your name Connect “Data” and “Calculate” activities

38 Displaying your name Type below text in the “Calculate” box –“My name is “ + value

39 Displaying your name Connect “Calculate” and “Simple Dialog”

40 Displaying your name Select “AlertDialog” Select “value”

41 Displaying your name Save and run diagram

42 Displaying your name Execution result

43 Input data

44 Input data Add “Data” and set below text –“Input your name: “ Add a “HelloApps Console” service Double-click 1 2 3

45 Input data Connect “Data” and “Console” Select “Write” Select “value” 1 2 3

46 Input data Copy and paste “HelloAppsConsole” service Connect first “Console” and second “Console” service Select “ReadLine” function Copy first Console service

47 Copy and paste “HelloAppsConsole” service Connect second “Console” and third “Console” service Select “WriteLine” function Input data 1 Copy first Console service 2 3 4

48 Input data Save and run diagram

49 Execution results Input data Type your name

50 Manipulate data with “Calculate”

51 Add “Calculate” activity Type “My name is “ + Manipulate data with “Calculate” 1 Add “Calculate” 2

52 Manipulate data with “Calculate” Select “Value” from the list

53 Manipulate data with “Calculate” Connect “Calculate” and “Console”

54 Manipulate data with “Calculate” Select “WriteLine” function Select “value” data

55 Manipulate data with “Calculate” Save and run diagram

56 Manipulate data with “Calculate” Execution results Type your name