Creating a Virtual Control Console for Hardware using Visual Basic Presented by William Koch Kochworx, Ltd. Kochworx, Ltd. October 24, 2002.

Slides:



Advertisements
Similar presentations
Postgraduate Computing Lectures OO Concepts 1 Object Oriented Programs: Basic Concepts Nick West.
Advertisements

An Introduction to Visual Basic Terms & Concepts.
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Chapter 16 Graphical User Interfaces John Keyser’s Modifications of Slides by Bjarne Stroustrup
Component Oriented Programming 1 Chapter 2 Theory of Components.
Products Training -- DGUS LCM
Visual Basic: An Object Oriented Approach 2 – Designing Software Systems.
Unified Modeling Language
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
1 :)Advanced:) Visual Basic laura leventhal and julie barnes.
 2002 Prentice Hall. All rights reserved. Chapter 2 - Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Overview of the Visual Studio.NET.
Slide 1 ICS 012 Visual Programming I Ahmed Esmat Second.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Visual Basic.net IDE. Integrated Development Environment.
Getting Started Example ICS2O curriculum
Sep-05 Slide:1 ActiveX Controls in VB ActiveX Controls in VB6.
Visual Basic Chapter 1 Mr. Wangler.
Tim Leung SQL Bits October  Features and Advantages  Architecture  Installation  Creating Reports.
Microsoft Visual Basic 2005: Reloaded Second Edition
An Introduction to Visual Basic
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
Chapter 3: Using GUI Objects and the Visual Studio IDE.
A First Look At Microsoft Visual Basic Lesson 1. What is Microsoft Visual Basic? Microsoft Visual Basic is a software development tool, which means it.
Integrated Development Environment (IDE)
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
Introduction In The Name Of Allah, The Beneficent, The Merciful.
Introduction It is developed to create software applications. It is a tool for developers of any program that uses both basic and expert settings. It.
§Visual - A method used to create GUI applications. §BASIC - Beginner’s All - purpose Symbolic Instruction Code developed by John Kemeny. §VB- Evolved.
Object Oriented Software Development 9. Creating Graphical User Interfaces.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 3 Welcome Application Introduction to Visual Programming.
Paper written by Flavio Oquendo Presented by Ernesto Medina.
Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values.
Programming with Visual C++: Concepts and Projects Chapter 2B: Reading, Processing and Displaying Data (Tutorial)
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
What is Visual Basic.NET? 110 B-1 e.g. a word processor doesn’t do anything until the user clicks on a button, types text... A programming language that.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
1.
2a – Object Oriented Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming.
1 Introduction to Visual Basic Dr Mohd Nabil Almunawar MS 3403 Advanced Computing.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
VB 4 Controls Scrollbar Radio button check box listboxes timers control arrays.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.
Visual Basic A Quick Tutorial VB Review for ACS 367.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
LonWorks Introduction Hwayoung Chae.
Microsoft Visual C# 2010 Fourth Edition Chapter 3 Using GUI Objects and the Visual Studio IDE.
Lecture 3 Visual Basic for Applications in Access 1 Rapid Application Development.
Visual Basic/ Visual Studio Brandon Large. Connecting to prior knowledge In your notes write down what the two main parts of the computer are. The “software”
1 ALARMLINC. 2 OVERVIEW Expanding Situational AwarenessOVERVIEW.
How to develop a VoIP softphone in C# by using OZEKI VoIP SIP SDK This presentation demonstrates the first steps concerning to how to develop a fully-functional.
The Advantage Series ©2005 The McGraw-Hill Companies, Inc. All rights reserved Chapter 12 Introducing Visual Basic for Applications Microsoft Office Excel.
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Microsoft Visual Basic 2005 BASICS
Chapter Topics 15.1 Graphical User Interfaces
Introduction to Computing
1. Introduction to Visual Basic
Introduction to VB6 Week 1 3/2/2004 PPCC - Introduction to VB6
An Introduction to Visual Basic
Continuous - Discrete Sampling Demo (CON2DIS) team
Social Media And Global Computing Introduction to Visual Studio
Hands-on Introduction to Visual Basic .NET
Understanding the Visual IDE
Simple Windows Applications
Blinkers ++ Team 5.
Chapter 15: GUI Applications & Event-Driven Programming
Presentation transcript:

Creating a Virtual Control Console for Hardware using Visual Basic Presented by William Koch Kochworx, Ltd. Kochworx, Ltd. October 24, 2002

Summary Goals Goals Hardware & Interface Hardware & Interface Visual Basic Concepts Visual Basic Concepts Solution Development Solution Development Demonstration Demonstration

Goals Create a Virtual Console to Demonstrate Hardware Create a Virtual Console to Demonstrate Hardware Describe Visual Basic Concepts Describe Visual Basic Concepts Use the RS-232 Port Use the RS-232 Port

Hardware & Interface Virtual Hardware – the RGB Beast Virtual Hardware – the RGB Beast 4 Addressable Channels 4 Addressable Channels Each Channel has 0-FF settings for Red, Green, Blue Each Channel has 0-FF settings for Red, Green, Blue Settings Tx Via RS-232 Interface Settings Tx Via RS-232 Interface Start Sequence = 4 $FF Start Sequence = 4 $FF Data Sequence = Channel# R G B Data Sequence = Channel# R G B Sample: FF FF FF FF 01 C0 FF D6 Sample: FF FF FF FF 01 C0 FF D6

RGB Beast Virtuware

Software to Hardware Connection

Visual Basic Concepts Basis of all Visual Tools is Object Oriented Design Basis of all Visual Tools is Object Oriented Design Functionality is Encapsulated in Controls Functionality is Encapsulated in Controls Properties, Methods & Events provide programming hooks Properties, Methods & Events provide programming hooks VB is powerful because of Reusable Components VB is powerful because of Reusable Components

Solution Development Begin a Project as a Standard EXE Begin a Project as a Standard EXE Add Controls for Project to the Toolbox (ex. MSCOMM Control 6.0) Add Controls for Project to the Toolbox (ex. MSCOMM Control 6.0) Design the Form Visually by Adding Controls and Setting Properties Design the Form Visually by Adding Controls and Setting Properties Write Code to Interact with Visual Objects Write Code to Interact with Visual Objects

Constructing Virtual Console Add a Label and a Slider Control to Form Add a Label and a Slider Control to Form Set Slider Properties, Label Properties Set Slider Properties, Label Properties Replicate for Blue, Green Replicate for Blue, Green Add a Timer, MSCOMM Control Add a Timer, MSCOMM Control Write Code to Transmit Data Write Code to Transmit Data

Simple Control Console

Coding the Timer Must send 4 FF’s, Channel#, R, G, B Must send 4 FF’s, Channel#, R, G, B When Byte Stream Ready, Send When Byte Stream Ready, Send Timers specified in milliseconds Timers specified in milliseconds Finest granularity is ~55ms, max is 65535ms (60K=1 minute) Finest granularity is ~55ms, max is 65535ms (60K=1 minute)

Adding a Channel Selector Textbox Textbox Spinner Control Spinner Control Command Buttons Command Buttons Radio Buttons Radio Buttons …many options available …many options available Hook the Channel Selector Into Data Stream Hook the Channel Selector Into Data Stream

Other Visual Controls Microsoft Standard Controls Microsoft Standard Controls 3 rd Party Controls for just about anything 3 rd Party Controls for just about anything

Summary Goal was to create a Virtual Console to control a hardware device Goal was to create a Virtual Console to control a hardware device Hardware was a 4-Channel addressable RGB display device Hardware was a 4-Channel addressable RGB display device VB Components encapsulate large amounts of functionality VB Components encapsulate large amounts of functionality Drag/Drop Development of UI Drag/Drop Development of UI Demonstrated Hardware Control Demonstrated Hardware Control

Questions (?) William Koch