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.

TM4C1294KCPDT: Convert the watch expression into excel file

Part Number: TM4C1294KCPDT

Hi...

I need to read the expression value in excel readable file for the purpose of graph representation to my client. So kindly guide me to convert expression(Live values) into the excel file.  

Thank you.

  • Hi,

      I don't think there is such capability in CCS. I don't find any button that allows you to export the expression window to a file. What is possible is that you go the memory browser and and look for that expression. In memory browser window, you can save the memory content of the specified addresses. See below example. 

      Due to US public holiday, forum responses will be delayed. 

  • Thank you for the response. 

    I understand what you conveyed, but my requirement is I need to compare two variable for that I need series of values for that two data. In above mentioned example I can store data of different memory address. For example I have a counter variable i need to store the increasing value of that counter variable at different time period. Is there a possibility for storing multiple values of same memory address?

    Thank you in advance.

  • Hi,

    For example I have a counter variable i need to store the increasing value of that counter variable at different time period. Is there a possibility for storing multiple values of same memory address?

    I'm not sure I fully understand your requirements. A variable can only store present value. There is no way a memory location can store past values. The only thing I can think of is to store your values to an array. I will forward your question to our CCS experts for comments. 

  • You cannot export the contents of the Expressions view to an excel file. You can manually copy&paste to a text file.

    For example I have a counter variable i need to store the increasing value of that counter variable at different time period. Is there a possibility for storing multiple values of same memory address?

    You would have to periodically read the value and write it to a file. There is a special kind of breakpoint where when it is triggered, you can have the debugger write a value to a file. Perhaps you can try this. See:

    https://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_debug-main.html#breakpoint-properties

    Thanks

    ki