This application note is based on the work held by Ankur Agarwal at Computer Science and Engineering Florida Atlantic University Boca Raton, FL-33486 “Multi.

Slides:



Advertisements
Similar presentations
Installing geant4 v9.5 using Windows Daniel Brandt, 06 April 2012 Installing Geant4 v9.5 for Windows A step-by-step guide for Windows XP/Vista/7 using.
Advertisements

1 Lab Session-I CSIT120 Spring2001 Using Windows Using An Editor Using Visual C++ Using Compiler Writing and Running Programs Lab-1 continues (Session.
V I T R C Free PDF Conversion. V I T R C What do I do?  Open an Internet Browser  Go to
Installing geant4 v9.5 using Windows Daniel Brandt, 06 April 2012 Installing Geant4 v9.5 for Windows A step-by-step guide for Windows XP/Vista/7 using.
How to Use The Borland C++ Compiler Version 5
- Chaitanya Krishna Pappala Enterprise Architect- a tool for Business process modelling.
Tutorial on Visual Studio express Introduction Visual Studio Express Editions are a new line of Microsoft development Tools. This line of products.
1 ENG236: ENG236: C++ Programming Environment (2) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
Digital Logic and State Machine Design Installing Xilinx WebPACK 12.4 CS 2204 Digital Hardware.
11 Getting Started with C# Chapter Objectives You will be able to: 1. Say in general terms how C# differs from C. 2. Create, compile, and run a.
Introduction to Graphical User Interfaces. Objectives * Students should understand what a procedural program is. * Students should understand what an.
Cobian Backup 7 Tutorial Welcome to Cobian Backup 7. This tutorial will show you how to install the program, configure it and create your first scheduled.
IT 211 Project Integration and Deployment Lab #11.
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
Intro to MFC. Open VS and create new project 1)Open MS Visual Studio 2008 Professional (It must be the Professional Edition, the Express Edition will.
BlowFish 2000 Copyright © by Gregory Braun. All rights reserved Installation and Users Guide by Robert Moncrief II.
Installing SIGNZ on a stand- alone machine. These slides will guide you through the installation of the SIGNZ ‘server’ and ‘client’ components on one machine.
A1 Visual C++.NET Intro Programming in C++ Computer Science Dept Va Tech August, 2002 © Barnette ND & McQuain WD 1 Quick Introduction The following.
CS 114 – Class 02 Topics  Computer programs  Using the compiler Assignments  Read pages for Thursday.  We will go to the lab on Thursday.
CPS120: Introduction to Computer Science Compiling Your Programs Using Visual C++
Dr. Roger Webster Copyright 2008 Roger W. Webster, Ph.D. Department of Computer Science Millersville University (717) office
Program Design and Coding
Our Environment We will exercise on Microsoft Visual C++ v.6 We will exercise on Microsoft Visual C++ v.6 because that is what we have in the univ. because.
JCreator Tonga Institute of Higher Education. Programming with the command line and notepad is difficult. DOS disadvantages  User Interface (UI) is not.
SimArch: Work in Progress Multimedia Teaching Tool Faculty of Electronic Engineering University of Nis Serbia.
FLUKA GUI Status FLUKA Meeting CERN, 10/7/2006.
Project Deployment IT [211 CAP] How to convert your project to a full application.
Creating Projects in JCreator Computer Science 40S.
DEV337 Modeling Distributed Enterprise Applications Using UML in Visual Studio.NET David Keogh Program Manager Visual Studio Enterprise Tools.
ASP.NET &.NET Environment. Overview Part of Microsoft’s.NET environment Used for Development of  Websites  Internet applications  Web Services & XML.
Computer Science and Engineering Department VI I - SEMESTER Subject Name : MIDDLEWARE TECHNOLOGIES LABORATORY Subject Code : IT-404.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
IR Homework #2 By J. H. Wang Mar. 31, Programming Exercise #2: Query Processing and Searching Goal: to search relevant documents for a given query.
CSE 232: C++ Programming in Visual Studio Graphical Development Environments for C++ Eclipse –Widely available open-source debugging environment Available.
Using Microsoft Visual Studio C++ Express 2005 Name: Dr Ju Wang Ashwin Belle Course Resource:
Microsoft Visual Studio 2010 Teacher: Ms. Olifer.
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
Illustration of a Visual Basic Program Running an Ada Program 1 by Richard Conn 11 September 1999.
Real time code generation example with Envision UML-C++ ® by CASE-France Application : Multi Threads C++ Electronic Switch This example mainly shows states.
CSC 157 (Blum)1 Hello World. CSC 157 (Blum)2 Start/Programs/Microsoft Visual Studio.NET 2003/Microsoft Visual Studio.NET 2003.
Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course.
1 Programming Environment and Tools VS.Net 2012 First project MSDN Library.
Georgia Institute of Technology Creating Classes part 4 Barb Ericson Georgia Institute of Technology May 2006.
 Programming - the process of creating computer programs.
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
Anritsu Automation Platform (AAP) AAP PC Connects to the system via IP connection (system switch) AAP was developed to add features that were requested.
Installing Drivers on HP Plotter Step By Step Instructions by Plotter4u.
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
Intoduction to Andriod studio Environment With a hello world program.
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
CMPE 226 Database Systems April 19 Class Meeting Department of Computer Engineering San Jose State University Spring 2016 Instructor: Ron Mak
Unity Application Generator Step 7b: Generating HMI.
Debuggers. Errors in Computer Code Errors in computer programs are commonly known as bugs. Three types of errors in computer programs –Syntax errors –Runtime.
How to Start SQL Server and SSDT BI in Local
Customizing custom.
Wireless Network Access on Mac OSX
3.01 Apply Controls Associated With Visual Studio Form
3.01 Apply Controls Associated With Visual Studio Form
HOW TO INSTALL DRIVERS ON WINDOWS 10. Select the Start button and Go to the device manager.
HOW TO INSTALL DRIVERS ON WINDOWS 10. Select the Start button and Go to the device manager.
Lab 10 Instructions You can use g++ on build server, visual studio on local machine or your preferred C++ IDE. Important Note: For your grade, please show.
Social Media And Global Computing Introduction to Visual Studio
How to Start and Shut Down a Computer
1. Open Visual Studio 2008.
ms vısual studıo 2008-Introductıon TUTORIAL
Our Environment We will exercise on Microsoft Visual C++ v.6
Double click Microsoft Visual Studio 2010 on the Computer Desktop
Building Windows Applications by Visual C++ and Homework #3 Assignment
Windows Professional xp Microsoft® ® Copyright ©
Presentation transcript:

This application note is based on the work held by Ankur Agarwal at Computer Science and Engineering Florida Atlantic University Boca Raton, FL “Multi threads Producer – Consumer application” with Envision UML-C++ ® by CASE-France and Future Tech System Technical contact : Jean-Claude Jacquiot

Forewords Comment about the demo This package includes a running threads Windows demo, based on the Producer – Consumer project. The demo has been generated with UML-C++ from UML diagrams shown in the following pages. Code has been compiled with Microsoft Visual C++ compiler using MFC Windows library for the Windows user’s interface. To run the demo, decompress the cpppc.zip file in a temp directory, then double click on producer.exe. Click on the button to start the demo then watch and wait until it finishes. It should run OK. Please let me know otherwise. This is a full threads running Windows application using Producer – Consumer project

Components view A physical design was chosen based on the component view This design implies classes are generated in three bodies.cpp files and headers placed in three.h files.

Logical view Producer and Consumer class contain a threaded updateX() States machine operation

Producer class States/Transitions diagram

Consumer class States/Transitions diagram

Code generated A directory including 3 bodies files (.cpp) with corresponding headers files (.h) have been generated according to component view A log file containing generation steps with various details, errors and warnings has also been produced.

Code generated files structure ProducerConsumer directory was created including : MicrosoftCppMFCClassLibComponent.cpp was created MicrosoftCppMFCClassLibComponent.h ProducerConsumer.cpp was created ProducerConsumer.h was created ProviderConsumer.cpp was created ProducerConsumer.log steps generation log file was created Attached to this presentation and compressed in the cpppc.zip file are the C++ source files, the project log file (ASCII), the executable “Producer.exe” and Microsoft DLLs to run the embedded Windows interface.

Conclusion The running code faithfully represents assumptions made in UML diagrams with respect to requirements. The code generated was compiled successfully with Microsoft Visual Studio C++ compiler : NO ERROR and runs fine on Windows XP or 2K systems. Producer thread code can access Consumer’s data and Consumer thread code can access Producer’s data. No difficulty what so ever during code generation which takes less than a second.

Thank you Please fell free to call for more information