Presentation is loading. Please wait.

Presentation is loading. Please wait.

SimPhonics, Inc. V+ Training Class. SimPhonics, Inc. Introductory V+ Introductory V+ Intermediate V+ Intermediate V+ V+ Exercises V+ Exercises Class Project.

Similar presentations


Presentation on theme: "SimPhonics, Inc. V+ Training Class. SimPhonics, Inc. Introductory V+ Introductory V+ Intermediate V+ Intermediate V+ V+ Exercises V+ Exercises Class Project."— Presentation transcript:

1 SimPhonics, Inc. V+ Training Class

2 SimPhonics, Inc. Introductory V+ Introductory V+ Intermediate V+ Intermediate V+ V+ Exercises V+ Exercises Class Project Class Project

3 SimPhonics, Inc. Introduction to V+ Form Basic Understanding of V+ Intermediate V+ Advanced V+

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

5 SimPhonics, Inc. 1 st Machine Code 01000101 2 nd Assembly Language MOV al,bx 3 rd High Level Language a = a + b + 5; Generations of Programming Methods

6 SimPhonics, Inc. 4 th OOP Programming Class Furniture; Derived Class Chair; Visual C++ is not a Visual Language! Generations of Programming Methods

7 SimPhonics, Inc. 5 th Visual Language Generations of Programming Methods

8 SimPhonics, Inc. Data Flow State Transition Object Oriented Nyquist Various Types of Visual Languages V+ is a Data Flow Visual Language

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

10 SimPhonics, Inc. Software Design Top Level (Configuration) Detailed (V+ Designs)

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

12 SimPhonics, Inc. V+ is Similar to Schematic 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 SimPhonics, Inc. 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 SimPhonics, Inc. Introduction to V+ Windows XP (Service Pack 2) Latest Updates Windows Firewall Turned Off 32 Bit Code COM, COM+, and.NET Based

15 SimPhonics, Inc. 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 SimPhonics, Inc. V+ is a Data Flow Visual Language V+ is a Data Flow Visual Language Data travels via nets from object outputs pins to object input pins.

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

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

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

20 SimPhonics, Inc. Examples of V + Objects

21 SimPhonics, Inc. Object Anatomy

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

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

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

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

26 SimPhonics, Inc. Port Anatomy

27 SimPhonics, Inc. 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 SimPhonics, Inc. Connects object pins Contains 32-bit float data Output to input Cannot “short” inputs Nets

29 SimPhonics, Inc. Nets Single output to multiple inputs

30 SimPhonics, Inc. Nets

31 SimPhonics, Inc. Nets

32 SimPhonics, Inc. Nets

33 SimPhonics, Inc. Worksheets

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

35 SimPhonics, Inc. The Simplest of Designs

36 SimPhonics, Inc. A Simple Math Design

37 SimPhonics, Inc. Pythagorean Theorem (distance calculation) c = √a 2 + b 2

38 SimPhonics, Inc. V+ Classroom Exercise 1

39 SimPhonics, Inc. Development and Run Time Systems DEVELOPMENT SYSTEM RUN-TIME SYSTEM

40 SimPhonics, Inc. Design Process

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

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

43 SimPhonics, Inc. Execution Time Spare Time V+ Execution Timeline Frame Time

44 SimPhonics, Inc. Input PortsOutput Ports Objects 1 through n V+ Execution Order Within a Frame V+ Execution Order Within a Frame 123 …….n

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

46 SimPhonics, Inc. Spare Time

47 SimPhonics, Inc. V+ Execution Rate

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

49 SimPhonics, Inc. 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  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 SimPhonics, Inc. 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) Application Process Flow

51 SimPhonics, Inc. Intermediate V+

52 SimPhonics, Inc. Why Separate Development and Run Time Systems? Editor is much larger application Not needed for execution environment Editor costs more Quantity systems can use Run- time System

53 SimPhonics, Inc. Run Time System Configuration

54 SimPhonics, Inc. Run Time System Configuration

55 SimPhonics, Inc. Run Time System Configuration I/O Driver Configuration Execution Rate Audio Device Order Networked Audio Configuration (DIS and HLA)

56 SimPhonics, Inc. I/O Driver Configuration

57 SimPhonics, Inc. I/O Driver Configuration Most drivers are installed separately Each driver has its own configuration user interface

58 SimPhonics, Inc. Configuration is Saved in.VNE File CONFIG.VNE File

59 SimPhonics, Inc. V+ Development System 1.User enters/edits a design 2.User presses the play button 3.V+ Editor checks for visual errors 4.Error messages printed to Editor Message Window

60 SimPhonics, Inc. Open Pin Error

61 SimPhonics, Inc. V+ Development System Once all errors are cleared: V+ submits design to the Run- time system. When the design is submitted, the following message appears: “Trying to Start Platform…”

62 SimPhonics, Inc. Design Time Object List (DTOL) The DTOL is the list of ports, objects, static data, and connection information. The Run-time system then begins the process of trying to run the DTOL

63 SimPhonics, Inc. DTOL Submission DTOL

64 SimPhonics, Inc. Run Time System 1.Accepts DTOL from Editor 2.Verifies objects are in inventory 3.Verifies ports are in inventory 4.Tries to start objects and devices

65 SimPhonics, Inc. Run Time System Message Window Scrollable message area

66 SimPhonics, Inc. Run Time System Pre-Execute Phase Each device and Object may halt pre-execution. Most will display an error in the message window. Once all objects and devices report they can start: The DTOL is executed.

67 SimPhonics, Inc. Run Time System Post-Execute Phase Each device and Object is asked to stop during user stop commands. Once all objects and devices report they can stop: The DTOL execution is halted. Again, read your message window.

68 SimPhonics, Inc..VNE File DTOL and Configuration Configuration is always saved with.VNE file. DTOL is only saved if a successful execution has occurred.

69 SimPhonics, Inc. Configuration is Saved in.VNE File CONFIG.VNE File DTOL

70 SimPhonics, Inc..VNE File – Updating Anytime the design or configuration has changed, the.VNE file must be resaved. The.VNE file is similar to a.EXE file in this sense.

71 SimPhonics, Inc..VNE Files – Auto-booting The.VNE file may be executed directly. Insert the.VNE file into the STARTUP folder for auto-loading the system at power-up. Double-clicking the.VNE file will start the run-time system and execute the design – provided that one is present in the file.

72 SimPhonics, Inc. V+ Classroom Exercise 2

73 SimPhonics, Inc. V+ Remote Control

74 SimPhonics, Inc. Remote Control Applications Two types of remote control: User Control of V+ via remote PC Programmatic Control via Host Useful for tuning sounds Versatility of different configurations

75 SimPhonics, Inc. User Control – Windows XP Remote Desktop Allows complete desktop remote control Over Internet, networks, etc.

76 SimPhonics, Inc. Programmatic Remote Control

77 SimPhonics, Inc. Programmatic Remote Control Host can start, stop, and load designs. Useful for automatic switching of V+ applications at run time by a host. Via TCP/IP, Port 5068

78 SimPhonics, Inc. Miscellaneous Devices

79 SimPhonics, Inc. Microsoft Flight Simulator I/O Device Read virtually any data from Game

80 SimPhonics, Inc. WAGO - PROFIBUS Ethernet I/O Device DIN Rail I/O Modules Choice of Ethernet or PROFIBUS Excellent Transport Delay Distributed I/O DIN Rail I/O Modules Choice of Ethernet or PROFIBUS Excellent Transport Delay Distributed I/O

81 SimPhonics, Inc. V+ - The Tie That Binds YOUR APPLICATION ATIS, VMIC, SCRAMNET, NATIONAL, etc…

82 SimPhonics, Inc. Name the generations of programming paradigms. Is V+ a code generator system? What operating systems can host V+? Q and A

83 SimPhonics, Inc. What type of visual language is V+? State Machine Object Oriented Nyquist Data Flow Data, contained in objects only changeable by the developer, is called what? Q and A

84 SimPhonics, Inc. What two types of pins can an object have in V+? Objects that connect V+ data to the outside world, or to other software is called what? Object pins are connected via what? Q and A

85 SimPhonics, Inc. What are the following file types in V+?.DES.VNE.VPJ Q and A

86 SimPhonics, Inc. In the beginning there were computers, and the computer was programmed with ones and zeros. The programmer said, let us use text for these codes so that we can understand them better. So the assembler was created and the programmer was happy. Then the programmer said, let us program with words so that our programs are easier to understand. Hence, the compiler was born and the programmer smiled. Then the engineer said let us use this machine and program it with drawings of our ideas. Thus, V+ was born, the engineer rested, and the programmer went home. Closing Remarks


Download ppt "SimPhonics, Inc. V+ Training Class. SimPhonics, Inc. Introductory V+ Introductory V+ Intermediate V+ Intermediate V+ V+ Exercises V+ Exercises Class Project."

Similar presentations


Ads by Google