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.

Trouble with GUI Composer

Other Parts Discussed in Thread: CCSTUDIO

I have been using GUI composer for several weeks now.  I am struggling with two problems.  

1. Yesterday I don't know what changed but in the widget menu on the left only 'html' shows up.  'Instrumentation' and 'Common' are no longer listed.  Furthermore, in my WYSIWYG editor I don't see all the widget details and things like the graphs aren't visible at all, though they show up in the source code.  Something has happened in the editor and it appears to no longer understand widget details beyond html.  I have re-installed Code Composer but see no changes.  

2.  When I 'Install Project' and give it a name, the project from the view menu is not always updated.  What do I need to do to complete update the installed project so that it runs the latest widgets?

Thanks,

DMH

  • Hi Mitch, 

    Which version of CCS are you using? 

    1. Do you see a "Loading..." progress icon when you do not see any widgets. You might be running into the same issue being discussed in this thread:

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/292908.aspx?pi199176=1

    However, if it is not quite the same, then probably the easiest would be to try and see if we can get your app to see if we can reproduce the problem locally. 

    2. It is quite possible that you are running into a bug where the editor does not auto save files when they are installed. Clicking Preview does auto save them, but Install does not. 

    When you re-install do you re-use application name or do you always use a new name? 

    Thanks,
    Martin

     

  • I was using 5.4 and began to see the problem with that version.  I've just updated to 5.5 and still see the problem.

    It does not say 'loading...' so does not appear to be the same problem.  It does appear that something is not completely loading, however.  When I have started up GUI composer the button widgets in the editing window would have numbers on them instead of their labels and then eventually the labels would come into place.  Now I see continually just the numbers (the number show appears to be the 'value' that the value buttons are to send into the code).  

    I could send you the .html code but it lists all the widgets.  I believe the problem is in the interpretation of the app code.  In any case, what files should I send?

    2. When I re-install I always use the same name.  No new names.  

    Thanks,

    Mitch

  • Hi Mitch,

    It sounds like your project is corrupted dude to the bug that Martin is referring to in the other thread. If it is ok, can you zip up the .GUIComposerWS folder in your CCS workspace and attach it to this thread. If you don't want to post it publicly in this forum, you can send it to me privately. I'll take a look at your project files and see what got messed up and hopping to correct the corrupted file and send it back to you.

    About the installing the project not picking up the changes. Did you save all the files before installing the project? 

    Regards,
    Patrick 

  • Here is the file:

    4721..GUIComposerWS.zip

    I usually click the 'save all' button when making code changes, and click the 'save' button when making GUI Composer changes.  My changes are typically in the .html part and so that is the file being saved.  Are there other files to save beyond that?

    Mitch

  • Here is a screen shot of my GUI Editor.  The 'Common' and 'Instrumentation' folders are missing from the Palette:

  • Mitch,

    The .settings/workbenchState.settings file is corrupted. This might be cause by the bug in the other thread. If you can apply the two class files and run "ccstudio.exe -clean" in the command line, it should help to prevent future file corruption. Assuming the patch fixes the file corruption issue.

    Also, the projects that you have is created by earlier CCS release. I am wondering how you got these projects into your workspace... Copy and Paste? You will need to use the import function in the project view to properly convert older GUI Composer project into newer CCS GUI Composer project.

    Here is one of the project I converted for you using the Import feature. You should be able to import this without haven't to do the conversion step. 0044.SnowMass69_2.1.zip

    Regards,
    Patrick 

  • Patrick,

    I'm unclear as to what you mean by 'apply the two class files and run "ccstudio.exe -clean"'.  Could you explain?  

    The CCS project used BLDC sensored for the 'F28069 as a starting point and I have added code and made modifications as I've gone along.  As for GUI composer, I believe that I simply started from scratch with the 'View->GUI Composer" pick, adding widgets and adjusting params as I went a long.  I started using GUI Composer with CCS 5.4.  

    I'm assuming the 'import' is from within GUI Composer, right?

    Thanks,

    Mitch

  • Mitch Hanks said:

    I'm unclear as to what you mean by 'apply the two class files and run "ccstudio.exe -clean"'.  Could you explain?  

    The two files are in another thread. Take a look at the 2nd post in this thread. Posted by Martin.

    Mitch Hanks said:

    I'm assuming the 'import' is from within GUI Composer, right?

    Yes. There is a button in the Project view within GUI Composer. Without using the import project function, the library paths that are referenced by GUI Composer in CCS5.5 will not match your existing CCS5.4 project. Hence, you are only getting the html widget in the palette.

    Regards,
    Patrick