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.

CCS/IWR1443: How to add ti-widget-streamsaver to GUI composer?

Part Number: IWR1443

Tool/software: Code Composer Studio

Hi,

Can you please show me how to add ti-widget-streamsaver to GUI composer, that i can save the value to a TXT file.

I can't find it in palette of the GUI composer. But it can be found in other demo and help documents.

For example:

https://dev.ti.com/gallery/view/mmwave/mmWave_Demo_Visualizer/

 

https://dev.ti.com/gc/elements/ti-guicomposer-helpindex/demo.html

Thanks for your help.

Regards,

Wesley

  • Hi Wesley,

    For now, the palette does not show the ti-widget-streamsaver component. But you can add it manually.

    Please see dev.ti.com/.../ for demo app.
    You can import the app from dev.ti.com/.../. After importing the app, please see demo.js. I added comments to explain how it is done along with code.

    In case you want to write textual data, you would need to use TextEncoder to encode textual strings to byte array before writing to the stream writer. If your data is already byte array, there is no need to encode it before writing. Details can be found in the example code.

    Regards,
    Winnie
  • Hi Winnie,

    Got it. Thanks for your help.

    Regards,

    Wesley.