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 5.3: Problem using Graphs

Other Parts Discussed in Thread: OMAPL138

Hello,

I'm using CCS to develop a program to use on an OMAPL138 board. I have acquired the data and stored it in a float format on a variable array called calc_array. In the expressions window I can see the data acquired. But now I want to graph and it is not working. Keep in mind that I've graphed other arrays before, even this one on a previous version of CCS.

The problem I face is that I set my graph with the following attributes:

  • Acquisition Buffer Size: 1024
  • DSP Data Type: 32-bit floating point
  • Index Increment: 1
  • Q_value: 0
  • Sampling Rate Hz: 1
  • Start Address: calc_array
  • Axis Display: True
  • Data Plot Style: Line
  • Display Data Size: 1024
  • Grid Style: No Grid
  • Magnitude Display Scale: Linear
  • Time Display Unit: sample
  • Use DC value for Graph: false
Then when I hit the OK button, the Graph window opens but instead of showing me a 1024-sample x-axis it shows me a 100-sample one and no data is displayed in it. Instead, a button comes up in the top left corner of the window that reads "Data" but nothing happens when I click on it.
Please, can anyone help me? It's been hindering my progress in the project since it´s much easier to analyze the variations on the data from a graphic point of view than analyzing the resulting array element by element.
Thanks in advance for your cooperation and help,
Regards,
- Aquiles Lacruz
  • Aquiles,

    Unfortunately there is a known bug that prevents data to be properly displayed if the parameter "Display Data Size" is larger than 512. So far this bug is not yet fixed, but I will try to get some priority on it.

    The bug number is SDSCM00043761 and its status can be verified at the link SDOCM in my signature below.

    Sorry for the inconvenience,

    Rafael

  • Hi Rafael,

    Thanks for the answer, I didn't know about this bug. Does it happen after a while? Because I was doing my graphs well and suddenly one day they didn't work anymore. Well please keep me posted if you have a fix.

    Thanks in advance,

    - Aquiles 

  • Aquiles,

    I really can't recall if this happened after a while or immediately in my setup here, but it was surely tied to the value at the "Display Data Size" field. I recall that if I reduced it, everything was fixed.

    Regards,

    Rafael

  • Hi Rafael,

    For me that's not the problem, I can't seem to make any graph at the moment. Whatever properties I set to it the same thing appears, a blank graph window with 100 in the X-axis and a weird "Data" button at the top left corner that does nothing when pressed.

    Another weird thing, is that the title of the graphs is never Single Graph-1 as it was before if I was opening a new session of CCS, it says different numbers and I can't open more than one of this blank graph windows at the same time. If I try to make a new graph the new window won't appear.

    Thanks in advance for any help,

    - Aquiles

  • I am experiencing the same issue, except for me the Graph window never even opens. Did you ever figure it out Aquiles? 

    Right now, I am just copying the expressions and pasting them into excel and using a scatter plot. Not as convenient as the CCS graph tool (which used to work for me, too) but it still gives me a visual aide, which is necessary for the signal processing work I am doing. 

    Matthew

  • Hey Matthew,

    I haven't been able to solve it just yet. It happened to me once before and I solved it by reinstalling the whole thing, but I don't feel like doing that at the moment. By the time being, I'm just having to use the dual graphs tool and it does work. But it's a bit more troublesome. I might reinstall after finish the project I'm currently working on.

    - Aquiles