This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS5.5 - GUI Composer Refresh a plot



Hi,

I try to implement the following functionality in GU Composer:

II want to plot a target index using the graph element of the GUI Composer. But I want the graph to be printed when i press a Gui button.
The index is too large (over 1000 elements) to pass its value in hidden gui objects.

Or is there a way to enable a widget using a check mechanism in GUI's javascript file?

  • If I correctly understand: you want a check box that switches on and off the updating a graph.

    An easy way to do that is to introduce a integer target variable, let’s name it “graphDisabled”. Initialize it to 1 if you want you graph to be initially disabled.

    In your application you can have a “Scalar Graph” that binds its “Series 0 Value” property to your big array. You also need to bind its “Disabled” property to the variable “graphDisabled”. You need to add a check box widget that binds it “Checked” property to the same target variable “graphDisabled”.

    Can you give this a try and let me know if it solved you problem?

    Also, you said the array is too big. GUI Composer default update interval is one second. Depending on what kind of connection you have to the target, that time may not be enough. You can increase that time to fit you need. See  http://processors.wiki.ti.com/index.php/GUI_Composer/Debugger_Refresh_Rate

     

    Regards

    Dobrin

  • Thank you it worked !