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 Slider Gel with float or decimal increment values

Other Parts Discussed in Thread: CCSTUDIO

Hey forum,

I'm using CCS3.3 along with a TMS320C6713 DSK to program a graphic equalizer for a project. I wish to be able to include cut/boost in the equalizer so I need fractional increments for gain in my slider gels (0.1 gain=-10dB attentuation). However, everytime I try to use a non integer I get an error when loading the GEL stating:

GEL: Error loading file 'C:\CCStudio_v3.3\MyProjects\sine8_LED\gain.gel': line 6: expecting IntegerConstant, found '0.1'

I've tried redifining the gain variable associated with the slider in the C code to a float or decimal but I've had no luck. I am assuming the integer constant association involves the code for the slider gel commands themselves. All I could find is a .dll file associated with the slidergel usage but have no way of editing it. Is there any way I can use a fraction for the increment values with slider gels? A work around could be just multiplying my gain factor in the C code by 0.1 but I'd rather avoid this route