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.

TMS320F28335: TI Gui Composer

Part Number: TMS320F28335

Hi team,

Customer has some question.

1) Firstly, I am having trouble exporting my application v3 project to a stand alone app. I have followed the directions shown in the following link dev.ti.com/.../deploying.html . However, I am currently running on a windows device (and I have the windows runtime installed) but the OS_start file after exporting project as a stand-alone app is 'mac_start' and will not open on my device. Why would this be the case?
I attempted to export on a mac due to this issue (with the mac runtime installed). This does not spit any errors when attempting to open the file, but it also does not open the file, nothing happens.

2) Secondly, can you run the GUI app from the online platform, in real-time as to see values and instruments refreshing when connected to the target? (This is for both app v2 and v3).

3) Finally, for v3 specifically, the project connects to target and load firmware successfully. However, when the same project is exported as a CCS Desktop View, the following error occurs: "Error: Failed to connect: unexpected token < in JSON at position 0".

Could you help?

Best Regards,
Jiahui

 

  • Hello,

    1) Firstly, I am having trouble exporting my application v3 project to a stand alone app. I have followed the directions shown in the following link dev.ti.com/.../deploying.html . However, I am currently running on a windows device (and I have the windows runtime installed) but the OS_start file after exporting project as a stand-alone app is 'mac_start' and will not open on my device. Why would this be the case?

    On Windows, you should have extracted the exported zip in the gcruntime directory and can then run the "launcher.exe" program inside the application subfolder. This works for me.Is this what you tried?

    2) Secondly, can you run the GUI app from the online platform, in real-time as to see values and instruments refreshing when connected to the target? (This is for both app v2 and v3).

    Sure, you can always run the project from the online GC environment

    3) Finally, for v3 specifically, the project connects to target and load firmware successfully. However, when the same project is exported as a CCS Desktop View, the following error occurs: "Error: Failed to connect: unexpected token < in JSON at position 0".

    This is a known issue for GCv3 applications using the XDS transport. Unfortunately there is no workaround at the moment

    Thanks

    ki 

  • Hi Ki,

    Thanks for your reply.

    Customer has further questions

    Thank you I was approaching it wrong, but I can now start my stand-alone app. However, I am encountering a problem with it. I have a line graph and when running from CCS the plot is continuously updated and everything is working fine. But once exported as a stand-alone app the graph no longer does anything. The same issue occurs when running straight from the online platform. In both cases, the target is connecting successfully just the values aren't updating. What could be the cause of this?

    Could you help?

    Best Regards,
    Jiahui

  • I have a line graph and when running from CCS the plot is continuously updated and everything is working fine.

    Is this a GCv2 app that is running inside CCS desktop?

    But once exported as a stand-alone app the graph no longer does anything. The same issue occurs when running straight from the online platform.

    Running the GCv2 app as standalone app or directly from GC online does not work but the exported GC desktop app does? DId I understand this correctly?

  • Hi Ki,

    Thanks for your reply.

    Customer said

    Yes, it is an appV2 running from ccs desktop, and yes ccs desktop works fine, but the standalone and online platform do not.

    Could you help?

    Thanks & Best Regards,
    Jiahui

  • More on this, it is not just an issue with the line graph widget, no instruments are updating from standalone or online. 

    From the online GUI Composer platform, I run the application and it loads the program to the board successfully, the widgets show initial start-up values but do not update at all. 

    From the Standalone Application, I open the launcher.exe file, it does the same as above (I have followed directions on where and how to place files from 4.4. Deployment — GUI Composer Getting Started ).

    Is there another initialization step I need to take to get the program running from here?

  • Yes, it is an appV2 running from ccs desktop, and yes ccs desktop works fine, but the standalone and online platform do not.

    That is surprising. I would expect the online platform to work of the three options. 

    Please export your GC solution and post the zip to this thread.

  • More on this, it is not just an issue with the line graph widget, no instruments are updating from standalone or online. 

    From the online GUI Composer platform, I run the application and it loads the program to the board successfully, the widgets show initial start-up values but do not update at all. 

    It sounds like the bindings may be off or the correct program model is not being used. Please export your GC solution and post the zip to this thread.