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.

How to input and output floating point values using GUI Composer?

How to input several floating point variables in the range from 0.0 to 1.0 and get back a floating point value belonging to the same range 0.0 to 1.0 to/from some program while using CCS 5.4 and GUI Composer (the target is Piccolo F28069)?

  • Hi Michael,

    Can you elaborate a bit more on the type of widgets that you are trying to use? There is a video tutorials on how to use GUI Composer. You can access this video from the "Help | CCS Videos and Tutorials" in the CCS main window, or from the Welcome screen.

    Regards,
    Patrick 

  • Hi Patrick,

    I am trying to pass several input values into my program that uses these floating-point values as its inputs. The program calculates an output value and has to send it back to the user interface also as a floating-point number. My widgets are the simplest: text boxes.

    So, could you advise me how to do it? By the way, I was unable to activate the TI video tutorials.

    Regards,

    Michael

  • Hi Patrick,

    Now I've passed through the PowerPoint presentation on GUI Composer and paid attention that this GUI Composer is designed to work with Tiva processor. Otherwise, I am using F28069 ControlSTICK. The TI presentation shows the double USB paths to the microcontroller card. The ControlSTICK does not have a second USB port.  So, is it possible to use the GUI Composer with this ControlSTICK?

    Regards,

    Michael

  • Hi Michael,

    For the ControlSTICK, you should be able to use JTAG with GUI Composer. I was able to bind two text boxes to three different target variables with float type, two inputs and one output; sum of the two inputs.

    It should be as simple as entering the global variable names in the binding tabs for each variable. Try the BlinkingLED example and see if you can bind one of the text box with this variable CpuTimer0Regs.PRD.all. You should be able to control the LED blinking frequency with the text box.

    Regards,
    Patrick