Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Meta edit calc execution v3

531 views

Published on

Temporal Engineering using MetaEdit tool

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Meta edit calc execution v3

  1. 1. (COSA) MetaEdit      Animation 5‐Function Calculator Example with COSA Temporal Logic By Gordon Morrison12/6/2012 www.VSMerlot.com 1
  2. 2. MetaEdit with COSA Trace• The COSA Execution Engine – Trace available at every step of logic – Provides direct relationship to all models • Show execution in MetaEdit – Rules – Steps / Behaviors and Logic • Show Execution in COSA tree – Example follows: ‐3.1 ‐ ‐2.1 = ‐112/6/2012 www.VSMerlot.com 2
  3. 3. Trace Execution Engine12/6/2012 www.VSMerlot.com 3
  4. 4. Development / Runtime Trace Rules in this  model Runtime  Logic Tree Rule  Properties12/6/2012 www.VSMerlot.com 4
  5. 5. Step PropertiesStep NameStatic StateTrace NumberProperty can  show  behavior  detail12/6/2012 www.VSMerlot.com 5
  6. 6. Enter Negate Static State12/6/2012 www.VSMerlot.com 6
  7. 7. Integer True/False  Behaviors12/6/2012 www.VSMerlot.com 7
  8. 8. Decimal True Next Green12/6/2012 www.VSMerlot.com 8
  9. 9. Trace Number Fraction False Next Red12/6/2012 www.VSMerlot.com 9
  10. 10. Not Clear Entry Subtract Operation Entered Trace Number Either Next Black12/6/2012 www.VSMerlot.com 10
  11. 11. Not Clear12/6/2012 www.VSMerlot.com 11
  12. 12. Push Either T/F12/6/2012 www.VSMerlot.com 12
  13. 13. Not Add12/6/2012 www.VSMerlot.com 13
  14. 14. Subtract True12/6/2012 www.VSMerlot.com 14
  15. 15. Engine Off12/6/2012 www.VSMerlot.com 15
  16. 16. Enter Negate12/6/2012 www.VSMerlot.com 16
  17. 17. Integer12/6/2012 www.VSMerlot.com 17
  18. 18. Decimal12/6/2012 www.VSMerlot.com 18
  19. 19. Fraction12/6/2012 www.VSMerlot.com 19
  20. 20. Not Clear Entry Equal Result Entered12/6/2012 www.VSMerlot.com 20
  21. 21. Not Clear12/6/2012 www.VSMerlot.com 21
  22. 22. Save12/6/2012 www.VSMerlot.com 22
  23. 23. Not Percent12/6/2012 www.VSMerlot.com 23
  24. 24. Equals12/6/2012 www.VSMerlot.com 24
  25. 25. Ready for Next Calculation• Equals stops the COSA engine• Points temporal pointer back to Oper1 Rule – Green arrow• Waits on next event12/6/2012 www.VSMerlot.com 25
  26. 26. Intuitive User Interface• Define domain language in BNF editor – UML + MetaEdit + COSA domains• Drag and drop – class, rules, steps, logic• No dialog boxes• Select diagram – Edit object property – Connect or change logic flow – Edit or add behavior code• Menu driven generation – Select target language – Select target platform – Execute with model testing12/6/2012 www.VSMerlot.com 26

×