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/TMS320F28377S: GUI Composer: Slider can't increment less than 1

Part Number: TMS320F28377S

Tool/software: Code Composer Studio

Hello TI community, 

I am currently working on GUI Composer v2 from the dev.ti.com website. I am currently trying to have a slider tool increment at 0.1 but when I flash the program onto my LaunchXL-F28377S, the slider will only let me move by whole number jumps of 1. I was wondering if this is a bug in the program or perhaps I need to define the increment as a float or something.

  • Brenden,

    Can you try adding a widget that displays the value as well?  

    Here I have a simple program that has a global float.  I have a widget that displays the value and then a slider attached to it.  The widget that displays the value correctly shows the value.  The slider widget correctly increments the value but its display does not show the decimal place.

    Here are the settings for both widgets.

    Thus I believe the slider is working correctly but it's display label at the bottom is rounding.

    I filed GC-997 to track the issue with the label on the slider now allowing you to specify how many decimal places to show

    John

  • Hello John,

    I figured out my issue, I initialized my global variable as an integer instead of a float which didn't allow me to set the slider by 0.1 increments. The display text does help as the display on the slider does round values