3.2.13 Application Interaction Using Dashboard
Controls
Now see how
components placed on a dashboard in Data Visualizer can be hooked up to variables in the
application, and how the dashboard can thus interact with the application at
run-time.
Instead of a
predefined interval of 1000 USB sync pulses (1 second), add a variable compare reference
to the original code.
Todo: Modify ui.c to include a LED blinker
in the ui_process() handler as shown here.
Launch a debug session using
Start Debugging and Break (Alt + F5)
Find the location of the
variable uint32_t frame_comparator
Todo:
Open Data Visualizer
Connect
Add the location of the
frame_comparator in the Code Profiling Configuration window
A Data Visualizer dashboard can now be made with controls which manipulate the
value of this variable.
The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.