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.
Hi,
I have been working on a Gui Composer project for a while. I have several graphs, slider bars, number spinners, etc. I have been able to bind all of my widgets to variables up to now. However, I am not able to bind variables to any new widgets now. I tried to add number spinners and slider bars, but GUI Composer does not seam to save the changes I do to the binding properties of the new variable. The variable I am trying to bind widgets to is an unsigned int.
Is that because I have reached some kind of size limit for my project? Is there a way to fix that?
I am using Code composer studio version 5.5.0.00077.
Also, it would be nice if you could add in your wiki what type of variable each widget can take (floats, ints, unsigned ints, longs, arrays, etc) and if you could properly define each property instead of writing no description. It is VERY frustrating to try to debug a program an not to know exactly what each field is for and what variables it can take or not.
Hi Myriam,
It looks like you have run into a known bug in CCS5.5. Do you have a lot of widgets in your application? If you do, the issue is that the auto generated widget ID is overflow and you get duplicated widget id. You can manually change the widget ID to see if it resolve the binding issue. This issue is fixed in CCS6.0.
I think the primitive date type for the widget is auto converted for you in CCS6.0.
Regards,
Patrick
Hi Patrick,
Sorry for the delay, I paused the project during summer.
I did try to change the widget ID, but it did not solve the problem. Would you have any other ideas?
When is CCS 6.0 coming out? Will it be compatible with GUIS made on CCS5.5?
Thanks a lot,
Best regards,
Myriam
CCS6.0 is already out. you can get the download from the CCS wiki site.
For project that is built using CCS5.5, you can import it into CCC6.0. It should ask you to upgrade your project.
Regards,
Patrick
Hi patrick,
I have imported my project on CCS 6.0. It works fine when I let my project as is, but I cannot change anything regarding the bindings... Not with widgets I add, not with existing widgets.
Have you already seen this? What can I do to fix that?
Regards,
Myriam
I didn't spend too much time, but after I clean up the html file and remove all the bindings from the json file, I can bind the widget again.
The html file contains gc_1_2 in some paths, it should have gc_1_5. I don't know how that happen. Also change the data-gc-version to 1.5.201401031800. Do both of these edit outside of CCS, with CCS closed.
Hi Patrick,
What do you mean by clean html file? Is there an easy way to do that?
Also, does removing all the bindings from the json file mean that I will need to make them manually again after?
Thanks,
Myriam
Myriam Caron St-Pierre said:What do you mean by clean html file? Is there an easy way to do that?
Editor the html file and do a find and replace. There aren't that many places that you need to change, all the changes are at the top of the html file. No there is no easier way than find and replace.
Myriam Caron St-Pierre said:Also, does removing all the bindings from the json file mean that I will need to make them manually again after?
Yes.