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.

  • TI Thinks Resolved

CCS/TMS320F28377S: how to dump the formatted values of the displaying variables into a text file or excel file

Expert 1070 points

Replies: 5

Views: 172

Part Number: TMS320F28377S

Tool/software: Code Composer Studio

Hello,

I have a question on the real-time graph function when using the Code Composer Studio development tool.

In the Debug environment, when the graph function listed on the tools menu is selected, variables in the user source codes can be displayed in real time.

What I need in association with the graph function is to dump the formatted values of the displaying variables into a text file or excel file as appropriately.

Please inform me how to dump the formatted values of the displaying variables into a text file or excel file.

Thank you for your guidance.

With regards,

G. Kim

  • Guru 296285 points

    Hello,

    Geon Kim
    What I need in association with the graph function is to dump the formatted values of the displaying variables into a text file or excel file as appropriately.

    Just to make sure I understand correctly, you wish to do this also in real-time (continually write out the value of a variable to a text file on the host whil ethe target is running)?

    Thanks

    ki

    -----------------------------------

    Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

    Having CCS problems? Check out the CCS Troubleshooting Guide

    Looking for CCS Training/Documentation? Check out the CCS Resources page

    Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal

    NOTE: When a bug is filed and a tracking ID is provided, the thread may then be suggested as "TI Thinks Resolved". Why? Please read the first FAQ of the CCS Forum Guidelines & FAQ

  • In reply to Ki:

    Dear Lee,

    Thank you for your review.

    It does not have to be in a real time.

    I suppose that the text dumping process may be impossible to be completed in a real time.

    It might be sufficient if I can dump the formatted values of the displaying variables into a text file with respect to a paused graph.

    Thank you for your guidance.

    With regards,

    G. Kim

  • Guru 296285 points

    In reply to Geon Kim:

    In that case, you can use the Memory Save option in the Memory Browser view to save the contents of memory to a file on your PC. (right-click in the Memory Browser view and select "Save Memory". This will open a dialog where you can specify the file location, size, and format of the data.

    Thanks
    ki

    -----------------------------------

    Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

    Having CCS problems? Check out the CCS Troubleshooting Guide

    Looking for CCS Training/Documentation? Check out the CCS Resources page

    Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal

    NOTE: When a bug is filed and a tracking ID is provided, the thread may then be suggested as "TI Thinks Resolved". Why? Please read the first FAQ of the CCS Forum Guidelines & FAQ

  • In reply to Ki:

    Dear Lee,
    I appreciate your review.
    I have found out that there are four file types to select, i.e. TI Data, TI Raw Data, COFF, Binary, for the "Save Memory" function.
    I have also found out that the generated filename is filename.dat no matter which file type I select.
    However I cannot open the file of filename.dat to view its data.
    Which application program should I use to open the .dat file?
    Thank you for your guidance.
    With regards,
    G. Kim
  • Guru 296285 points

    In reply to Geon Kim:

    Geon Kim
    I have also found out that the generated filename is filename.dat no matter which file type I select.

    You can use the Browse button to browse to a location to save the file. You can specify a name and type of file (which will change the name of the file extension)

    Geon Kim
    However I cannot open the file of filename.dat to view its data.
    Which application program should I use to open the .dat file?

    A *.dat file is in text format. Hence any text editor should be fine.

    Thanks

    ki

    -----------------------------------

    Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

    Having CCS problems? Check out the CCS Troubleshooting Guide

    Looking for CCS Training/Documentation? Check out the CCS Resources page

    Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal

    NOTE: When a bug is filed and a tracking ID is provided, the thread may then be suggested as "TI Thinks Resolved". Why? Please read the first FAQ of the CCS Forum Guidelines & FAQ

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.