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.

Watch Window & IQMath



Hi,

I have a few questions regarding the watch window that I hope someone can help with;

1. I can only seem to view global variables in the watch window; is it possible to watch variables in files outside of the main file?

2. Continuous refresh does not seem to work for _IQ math variables ; I must manually refresh these in order to view. It would be handy to watch these in real time.

3. Is there a way to export the variables to an xls sheet or a text file as the code is running?

I am using Code Composer 3.3.83.19 with code generation tools 5.98.0.419.

Thank you for your time in advance,

Kind Regards,

Seán.

  • OK, Im still kinda stuck here;

    For point 3 I discovered the facility of writing data to a file with a software breakpoint - however, I am having difficulty displaying _IQ type variables...can someone please explain how to do this? or point me to a document that explains this?

     

    Thanks,

    Seán.

  • BUMP....

     

    Just wondering if anyone has had any ideas on these questions?

     

    Seán

  • Regarding the updates of IQ(...) expressions in the watch windows, they update fine using CCS 2.20.

    When I upgraded to CCS 3.1, the IQ(...) expressions stopped updating in real time.

    I sent a service request...so far, the answer I got was just the instructions as to how to make variables update in general, which I think we all know already.  They did not relate in particular to the IQ expressions issue.

    Any TI employees listening??  Or anyone else maybe found a solution??

    Michael

  • Michael,

    I didn't find any known issues with CCS 3.1 and continuous refresh of iqmath variables. I also tested the example IQmath project included with C28x IQMath Library and the variables did update in continuous refresh mode.

    Are you up to date to the latest service release for CCS 3.1?
    Do you see this issue with all iq variables and for all projects, including the example project mentioned above? 

    It is possible that there is a bug that affects the version of CCS you're using or your specific use case, however since CCS 3.1 is a very old version we are not making any more updates to it.

  • Michael,

    Based on additional details, it seems that you are loading the IQMath.gel file provided with the IQMath library and then adding variables such as _IQ20(xxx) in the watch window and it is these variables that are not updating in continuous refresh mode. I could reproduce the behavior with CCS 3.1 and 3.3, but with CCSv4 it updates properly. So I believe there must be a bug in CCS 3.x with regards to evaluating functions defined in GEL files in continuous refresh mode. Unfortunately we are no longer making fixes to CCS 3.x. If updating to CCSv4 is an option for you, you could give that version a try.