Будь умным!


У вас вопросы?
У нас ответы:) SamZan.net

по темі- VPL Tutoril 1 Hello World Виконав-

Работа добавлена на сайт samzan.net: 2015-07-05

Поможем написать учебную работу

Если у вас возникли сложности с курсовой, контрольной, дипломной, рефератом, отчетом по практике, научно-исследовательской и любой другой работой - мы готовы помочь.

Предоплата всего

от 25%

Подписываем

договор

Выберите тип работы:

Скидка 25% при заказе до 20.5.2024

Міністерство освіти і науки, молоді та спорту України

НУ «Львівська політехніка»

Інститут підприємництва та перспективних технологій

Кафедра "Інформаційних системи та технологій"

Лабораторна робота 1 по темі:

VPL Tutorial 1 - Hello World

        Виконав:   

                                             ст. гр. КН-49

Голуб Тарас

 

             

Львів - 17, 20142013-12-10T08:41:00Z

Зміст звіту

  1.  Коротка теорія.
  2.  Результати числових експериментів.
  3.  Висновки.

Теоретичні відомості

VPL Tutorial 1 - Hello World

This tutorial is the classic introduction for most programming languages that displays the words "Hello World". This is easily accomplished in Microsoft Visual Programming Language (VPL) using two activity blocks, a Data block and the Simple Dialog block.

This tutorial is provided in the Microsoft Visual Programming Language (VPL) language. You can find the project files for this tutorial at the following location under the Microsoft Robotics Developer Studio installation folder:

Sample location

Samples\VPLTutorials\Tutorial1

This tutorial teaches you how to:

  •  Create a Hello Word Diagram in VPL

Prerequisites

Hardware

This tutorial requires no special hardware.

Software

This tutorial is designed for use with VPL which is included as part of Microsoft Robotics Developer Studio.

Create a Hello Word Diagram in VPL

To run VPL, from the Start menu choose All Programs and then click on Visual Programming Language under the Microsoft Robotics Developer Studio installation folder.

From the File menu click New to create a new project. Insert a Data activity, by double-clicking on the icon or draggging and dropping it from the Basic Activities toolbox. Choose string from the drop-down list. Click in the text box of the Data activity block and type Hello World.

Figure 1 - Data Activity Block

Insert a Simple Dialog activity block by dragging one from the Services toolbox and place it to the right of the Data activity block. (To save time looking for a service, you can type the name of the service you are looking for into the top of the Services toolbox. The toolbox will then display any matching activities.)

Drag a link starting from the output connection pin of the Data activity block onto the Simple Dialog activity block. The Connections dialog box automatically opens. ChooseDataValue in the first list and AlertDialog in the second list, then click OK.

Figure 2 - Connections Dialog Box

The Data Connections dialog box opens next. In the drop-down list, choose value.

Figure 3 - Data Connections Dialog Box

The Data Connections dialog box tells VPL that you want to apply the value of the Data activity to the message text for the Alert form of this dialog.

Your diagram should now look like the following.

Figure 4 - Completed Diagram

Now choose the Run command from the Run menu (or press F5). If you have not saved your project yet, VPL opens the Save dialog. Enter a name for your project and clickSave.

VPL should now run your application. If you get a message asking whether to unblock the application, choose Unblock.

A simple Alert dialog box should appear with the text Hello World in it.

Figure 5 - Alert Dialog

To stop the application, click the Stop button in the Run dialog.

You have now completed your first application in VPL. Try VPL Tutorial 2 - Incrementing a Value to learn more about VPL and its dataflow control activities.

Результати числових експериментів

1) Вивів Hello world використовуючи VPL

Висновки: Ознайомився з інтерфейсом  Microsoft Robotics Developer Studio, мовою VPL та навчився виводити Hello world використовуючи VPL .




1. х начале 50х гг XX в
2. Тема семинара- Духовные основы и динамика российской цивилизации Докладчик Б.
3. Р 2510 1 Бабушко Ольга 11 2 Величко Тамар
4. тема язык имеет две стороны
5. Российский государственный профессиональнопедагогический университет Институт экономики и управлени
6. а. Расчет числа молекул атомов в заданной массе вещества
7.  Употребление орудия у человекообразных обезьян Орудия играющие такую большую роль в игре оказывают тол
8. общинный строй при котором основой производственных отношений была общественная собственность на средства
9. вариант 2003 г Инструкция по выполнению работы На выполнение экзаменационной работы по обществоз
10. Понятие виды и классификация нотариальных действий 1
11. Тема- Исследование и анализ работы полупроводникового стабилитрона Цель- Изучить конструкцию принцип дей
12. ЛЕКЦИЯ 12. Лист. Лист функции Морфологическое строение
13. Приобретенные знания еще не гарантируют то что вы будете расти и развиваться главное ' умение их применить.
14. 1922rdquo; Українськоросійські відносини у 19191922 рр
15. Информатизация налоговых систем
16. Безопасность алкогольной продукции.html
17. Какой расчетный параметр является опред
18. Торговая марка в СССР в 5070е годы 20 века МОСКВА 2000 г
19. Понятие и сущность менеджмент
20. Реферат- Реформирование бухгалтерского учета в соответствии с международными стандартами