GUI composer. Embedded development tools презентация
Содержание
- 2. GUI Composer: See & Control Create GUI applications that provide: Visibility
- 3. When to use GUI Composer While debugging Create simple displays that
- 4. GUIs are Comprised of Widgets GUI Composer Applications are made up
- 5. Example Application: InstaSpin GUI application for demonstrating motor control development kit
- 6. Customize how Widgets Look Most widgets can be customized to get
- 7. GUI Composer Builder
- 8. Application Models Program Model CCS Debugger is used to translate symbols
- 9. Program Model Symbol translation Symbols are translated to addresses by the
- 10. Streaming Model Data display Target application pushes data up to the
- 11. Adjusting Data Format It is possible to adjust the value of
- 12. Types of Applications CCS Plug-in Feature within CCS Available from View
- 13. Standalone Application Configuration View Appears when the standalone app starts up
- 14. GUI Composer Runtime GUI Composer applications need access to services (target
- 15. Lab Requirements Software: Code Composer Studio v6.1.1.00022 GUI Composer (add-on
- 16. Installation Instructions Download and install Code Composer Studio v6.1.1.00022 from http://processors.wiki.ti.com/index.php/Download_CCS
- 17. Tiva C LaunchPad: Hardware Setup
- 18. LAB 1: JTAG TRANSPORT LAB1A: create and use dial widget lab1b:
- 19. LAB conventions Lab steps are numbered for easier reference … …
- 20. JTAG Transport: Exercise Summary Key Objectives Create a GUI that will
- 21. LAB1A: create and use dial widget 15 minutes
- 22. Launch CCS Double click on the Code Composer Studio desktop icon
- 23. Import ‘blinky’ Project In the “Getting Started” page, click on Browse
- 24. Modify the Code Expand the project in the Project Explorer view
- 25. Open GUI Composer Go to menu View -> GUI Composer
- 26. Create a New GUI Composer Project Click on the New Project
- 27. Add a Dial Widget The Dial widget may be used to
- 28. Change the Appearance of the Dial Select the Dial on the
- 29. Bind a Variable to the Dial Make sure the Dial is
- 30. Define Pre/Post Processing Functions Pre/Post Processing functions can be used to
- 31. Define Pre/Post Processing Functions Double-click on app.js in the Projects area
- 32. Generate App as a CCS Plug-in Click on the Install Project
- 33. Load Target Application If the Project Explorer is not visible double-click
- 34. Preview the App Click on GUI Composer tab in the editor
- 35. Test the App using Preview Mode The App can be used
- 36. Test the App using Plug-in Go to menu View -> Applications
- 37. Clean Up Click the X on the Lab 1A tab to
- 38. lab1b: create and use more widgets 30 minutes
- 39. Modify the Code This step modifies the program code to add
- 40. Modify the Code Add the following code at the top of
- 41. Add a Line Graph Widget The LineGraph widget is a graph
- 42. Set the Properties of the Line Graph Select the LineGraph on
- 43. Bind Variables to the Line Graph Make sure the Line Graph
- 44. Add a Scatter Plot Widget The ScatterPlot widget is a graph
- 45. Set the Properties of the Scatter Plot Select the Scatter Plot
- 46. Bind Variables to the Scatter Plot Make sure the ScatterPlot is
- 47. Add Label Widgets The Label widget is used to add text
- 48. Add Number Spinner Widgets The NumberSpinner widget provides arrows to increment/decrement
- 49. Set Properties and Bindings for Number Spinners Select the NumberSpinner next
- 50. Set Properties and Bindings for Number Spinners Select the NumberSpinner next
- 51. Add more Label Widgets In the GUI Composer Palette, under GUI
- 52. Add TextBox Widgets The TextBox widget can be used to display
- 53. Set Bindings for TextBoxes Select the first TextBox next to Label
- 54. Set Bindings for TextBoxes Select the third TextBox next to Label
- 55. Set Bindings for TextBoxes In the converttoBinary function within app.js, change
- 56. Add MultiImage Widget The MultiImage widget can be used to display
- 57. Add MultiImage Widget The steps below set which image is to
- 58. Set Binding for MultiImage Select the MultiImage widget Click on Binding
- 59. Set Binding for MultiImage In the ValueTooHigh function enter the code
- 60. Add TextBox Widget This TextBox widget prints out if Value1 is
- 61. Add GUI Vars GUI Vars allow you to bind to a
- 62. Add GUI Vars For Server Bind Name, click on Value column
- 63. Add GUI Vars In the onValue1PropertyChanged function in app.js, add the
- 64. Add GUI Vars Go back to GUI Composer view and click
- 65. Load Target Application If the Project Explorer is not visible double-click
- 66. Preview the App Click on GUI Composer tab in the editor
- 67. Test the App Click the Run button to run the
- 68. Test the App Adjust the value of Vin by using the
- 69. Clean Up Click on the Exit Preview Mode button Click
- 70. Exporting the GUI Application Click on the GUI Composer view In
- 71. Add App to GUI Composer Runtime Open a file explorer window
- 72. Run the Standalone Application Close CCS Double click on Launcher.exe located
- 73. Run the Standalone Application When configuration is complete, the GUI app
- 74. LAB 2: UART TRANSPORT
- 75. LAB conventions Lab steps are numbered for easier reference … …
- 76. UART Transport: Exercise Summary Key Objectives Use a TI-RTOS application with
- 77. Lab 2: UART Transport example 20 minutes
- 78. Launch CCS Double click on the Code Composer Studio desktop icon
- 79. Import and Build ‘GPIO Interrupt’ Project Go to menu View->Resource Explorer
- 80. Import and Build ‘GPIO Interrupt’ Project In the right-pane, click on
- 81. Review the RTOS configuration In Project Explorer view, expand the project
- 82. Add UART Communication to target config Find the COM Port number
- 83. Open GUI Composer Go to GUI Composer view if it is
- 84. Create a New GUI Composer Project If GUI Composer is being
- 85. Add a Dial Widget The Dial widget may be used to
- 86. Change the Appearance of the Dial Select the Dial on the
- 87. Bind a Variable to the Dial Make sure the Dial is
- 88. Load Target Application If the Project Explorer view is not visible
- 89. Load Symbols for UART Connection Once the program is running, load
- 90. Preview the App Click on GUI Composer tab in the editor
- 91. Test the App Press the SW1 or SW2 buttons on the
- 92. Clean Up Click on the Exit Preview Mode button Click
- 93. Exporting the GUI Application Click on the GUI Composer view In
- 94. Add App to GUI Composer Runtime Open a file explorer window
- 95. Run the Standalone Application Close CCS Power cycle the Launchpad Double
- 96. Test the Standalone Application Press the SW1 or SW2 buttons on
- 97. Exercise Summary After completing the labs you should be familiar with:
- 98. Скачать презентацию
































































































Слайды и текст этой презентации
Скачать презентацию на тему GUI composer. Embedded development tools можно ниже:
Похожие презентации