1 / 86

V + Training Class

V + Training Class. Introductory V + Intermediate V + V+ Exercises Class Project. Introduction to V +. Form Basic Understanding of V+ Intermediate V+ Advanced V+. Why V + Was Developed. Ease of concept to design High cost of application Development Maximize software reuse

alaire
Download Presentation

V + Training Class

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. V+ Training Class

  2. Introductory V+ • Intermediate V+ • V+ Exercises • Class Project

  3. Introduction to V+ • Form Basic Understanding of V+ • Intermediate V+ • Advanced V+

  4. Why V+ Was Developed • Ease of concept to design • High cost of application Development • Maximize software reuse • Self documenting

  5. Generations ofProgramming Methods • 1stMachine Code • 01000101 • 2nd Assembly Language • MOV al,bx • 3rd High Level Language • a = a + b + 5;

  6. Generations ofProgramming Methods • 4th OOP Programming • Class Furniture; • Derived Class Chair; • Visual C++ is not a Visual Language!

  7. Generations ofProgramming Methods • 5th Visual Language

  8. Various Types ofVisual Languages • Data Flow • State Transition • Object Oriented Nyquist V+ is a Data Flow Visual Language

  9. Traditional Software Lifecycle Requirements Analysis Not necessary with V+ Design Implementation (Code) Final Product Test

  10. Software Design • Top Level (Configuration) • Detailed (V+ Designs)

  11. Software Top Level Design • Analog In/Out Channels • Wave In/Out Channels • Interfaces • Configuration • - Drivers • - Execution rate • - Networked Audio

  12. V+ is Similar toSchematic Diagrams In fact, V+ is a schematic of the software architecture, execution order, etc. V+ is self documenting since the worksheet IS the source.

  13. V+ is Not a Code Generator V+ objects are pre-compiled software modules that can be authored in any language supporting COM. Currently, objects are authored by VPLus Corporation only.

  14. Introduction to V+ • Windows XP (Service Pack 2) • Latest Updates • Windows Firewall Turned Off • 32 Bit Code • COM, COM+, and .NET Based

  15. Introduction to V+ A visual program, called a design, is constructed of objects and ports connected via nets and placed on one or more worksheets.

  16. V+is a Data Flow Visual Language Data travels via nets from object outputs pins to object input pins.

  17. Object Data Flow Inside objects, data flows from object input pins to object output pins.

  18. Object Execution Order Execution Order is defined by the user and defaults to an order of placement on the worksheet

  19. Objects • Objects are execution units • Constructor • PreExecute • Execute • PostExecute • Destructor • Design must have at least 2 objects • Simple to complex

  20. Examples of V+ Objects

  21. Object Anatomy

  22. Objects – Static Data • User editable initialized constants • Any object may contain static data • Standard static data types • Float, String, Table • Activated by Double-click

  23. Ports • Connections to/from the outside • Ports are grouped into I/O devices • I/O devices are grouped into drivers

  24. PORT 1 PORT 0 PORT n Ports I/O Devices I/O Driver Ports

  25. V+ I/O Driver Example • I/O DRIVER–UDP/IP Ethernet • Contains the following devices: • I/O DEVICE – Input • Contains Ports: • Port 1,2,3,4, etc…

  26. Port Anatomy

  27. V+I/O Drivers • V+ Shipped With Basic Drivers • Configurable Network Socket • Ethernet UDP/IP • File Mapping I/O Device(Shared Memory) • Joystick Input Device • Windows Audio Mixer

  28. Nets • Connects object pins • Contains 32-bit float data • Output to input • Cannot “short” inputs

  29. Nets Single output to multiple inputs

  30. Nets

  31. Nets

  32. Nets

  33. Worksheets

  34. Worksheets Sharing data among worksheets is accomplished via worksheet connectors

  35. The Simplest of Designs

  36. A Simple Math Design

  37. Pythagorean Theorem(distance calculation) c = √a2 + b2

  38. V+ Classroom Exercise 1

  39. Development andRun Time Systems DEVELOPMENT SYSTEM RUN-TIME SYSTEM

  40. Design Process

  41. File Types .DES – Design File (worksheet) .VPJ – Contains Multiple Worksheets .VNE – Run-Time Configuration and Executable

  42. V+ Execution • Real-Time, Frame based • Input – Objects – Output

  43. V+ Execution Frame Time Execution Time Spare Time Timeline

  44. V+ Execution Order Within a Frame Input Ports Output Ports 1 2 3 ……. n Objects 1 through n

  45. Spare Time Run-time calculates spare time per frame. Measured with special high-resolution timer accurate to system clock resolution.

  46. Spare Time

  47. V+ Execution Rate

  48. V+ Execution Rate • Default of 25ms (40Hz) • From .01 Hz • Up to 1,000 Hz • Future Systems… even faster

  49. More on Development and Run Time Systems • Development System Used to Edit Designs • Not Needed For Final System • Costs More • Run Time System Always Required • Provides Object Inventory • I/O Device Configuration • System Configuration • Execution

  50. Application Process Flow • Analyze Requirements • Define Interfaces • Configure Platform (.vne File) • Create Worksheets (.des Files) • Organize into Project (.vpj File) • Run and Debug System • Save in Platform (.vne File)

More Related