NOTICE: The Processors Wiki will End-of-Life in December of 2020. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

GUI Composer/Debugger Refresh Rate

From Texas Instruments Wiki
Jump to: navigation, search

Controlling the refresh rate of a GUI Composer application[edit]

When the target is running, all variables that have widgets bound to them are read every second. The application may want to increase or decrease that rate based on its needs. For example with slow communication to the target and a lot of data to be transfer, the rate should be decreased. When faster feedback is needed and the data can be handled properly, the rate can be increased. It any case, making the rate faster that 200 milliseconds is not recommended. To set the refresh rate to 2 seconds an entry can be added to the application's app.json file.

<syntaxhighlight lang=Javascript>

{

    "serverBindName": "$refresh_interval",
    "options": {
        "dataType": "Long",
        "defaultValue" : "2000"
    }

},

</syntaxhighlight>

Alternatively, a widget that controls the rate can be bind to $refresh_interval.The binding is bidirectional.

In rare cases GUI Composer can remove that record when the user edits the application’s HTML file. Make sure the binding exist in app.json when the application is completed.

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article GUI Composer/Debugger Refresh Rate here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article GUI Composer/Debugger Refresh Rate here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article GUI Composer/Debugger Refresh Rate here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article GUI Composer/Debugger Refresh Rate here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article GUI Composer/Debugger Refresh Rate here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article GUI Composer/Debugger Refresh Rate here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article GUI Composer/Debugger Refresh Rate here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article GUI Composer/Debugger Refresh Rate here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article GUI Composer/Debugger Refresh Rate here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity