• TI Thinks Resolved

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

Intellectual 480 points

Replies: 4

Views: 88

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

  • 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? Check out the CCS Training Site

    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-Soo Lee:

    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

  • 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? Check out the CCS Training Site

    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-Soo Lee:

    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