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.

CSS problems with graphics generated in debugger

I have these questions:

1. why I just can plot 200 samples in the CCS and how can I see the other samples> 200?

2. why when chart with a data type "int", the graphic is excellent, but when graphic data type "short" axis values and are outrageously large?

thanks and regards
Martin

  • Hey Martin,

    Martin Valencia said:
    1. why I just can plot 200 samples in the CCS and how can I see the other samples> 200?

    Yes, there seems to be limitation. Check this out:

    Martin Valencia said:
    2. why when chart with a data type "int", the graphic is excellent, but when graphic data type "short" axis values and are outrageously large?

    I've never heard or experienced this phenomenon. Let the CCS experts comment on this.

    Regards,

    Gautam

  • Martin Valencia said:
    1. why I just can plot 200 samples in the CCS and how can I see the other samples> 200?

    200 seems to be the maximum size allowed in the CCS configuration files for the graphs. E.g. in a CCS 6.1 installation I found the file <ccs_install_root>/ccsv6/ccs_base/dvt_4.0.0.201501151820/CCSgraphs/solutions/SingleTime/singletime.sol.dm which had a setting for the limit of 200:

             <object class="com.ti.dvt.datamodel.core.CircularBuffer"> 
              <void property="name"> 
               <string>CircularBuffer</string> 
              </void> 
              <void property="size"> 
               <int>200</int> 
              </void> 
             </object> 

    I couldn't find any setting in the CCS GUI to increase the limit of 200. Therefore, as an experiment edited the <ccs_install_root>/ccsv6/ccs_base/dvt_4.0.0.201501151820/CCSgraphs/solutions/SingleTime/singletime.sol.dm file to increase the CircularBuffer size to 1024:

             <object class="com.ti.dvt.datamodel.core.CircularBuffer"> 
              <void property="name"> 
               <string>CircularBuffer</string> 
              </void> 
              <void property="size"> 
               <int>1024</int> 
              </void> 
             </object> 

    With this change, CCS let me display a Single Time graph with 1024 samples:

    Under the <ccs_install_root>/ccsv6/ccs_base/dvt_4.0.0.201501151820/CCSgraphs/solutions directory there are *sol.dm files which have the CircularBuffer size for different graph types:

    $ ls /opt/ti/ti_ccs6_1/ccsv6/ccs_base/dvt_4.0.0.201501151820/CCSgraphs/solutions/*/*sol.dm
    /opt/ti/ti_ccs6_1/ccsv6/ccs_base/dvt_4.0.0.201501151820/CCSgraphs/solutions/DualTime/dualtime.sol.dm
    /opt/ti/ti_ccs6_1/ccsv6/ccs_base/dvt_4.0.0.201501151820/CCSgraphs/solutions/FFTComplex/fftComplex.sol.dm
    /opt/ti/ti_ccs6_1/ccsv6/ccs_base/dvt_4.0.0.201501151820/CCSgraphs/solutions/FFTMagnitude/fftMagnitude.sol.dm
    /opt/ti/ti_ccs6_1/ccsv6/ccs_base/dvt_4.0.0.201501151820/CCSgraphs/solutions/FFTMagnitudePhase/fftMagnitudePhase.sol.dm
    /opt/ti/ti_ccs6_1/ccsv6/ccs_base/dvt_4.0.0.201501151820/CCSgraphs/solutions/FFTWaterfall/fftwaterfall.sol.dm
    /opt/ti/ti_ccs6_1/ccsv6/ccs_base/dvt_4.0.0.201501151820/CCSgraphs/solutions/SingleTime/singletime.sol.dm

    I haven't tested increasing the CircularBuffer size for any other graph types than "Single Time". It would be useful if someone from TI could find out if the maximum number of values displayed on a CCS graph could be increased from a GUI setting, rather than having to edit a file in the CCS installation.

  • thank you very much for the help, it works perfectly.


    I agree that there should be a way to change the value from the GUI CCS.