Ramp Functions.
colinhasted
Posts: 44
Hi there,
Just a quick question, I've got a dimmer pack which has it's own 5 second fade time built in. I am coding so that 8 presets can be recalled or new ones made and saved over. I'd like the bar graphs on the touch panel to 'pseudo' fade with dimmer pack rather than snapping to the new values (just to look nice). Rather like a 'hmm hmm' Cxxtron dimming module.
Can anyone think of an easy way to do this rather than taking the difference in fader positions and dividing it by the time to work out the increments etc etc?
I'm sure I must be missing an obvious trick!
Colin
Just a quick question, I've got a dimmer pack which has it's own 5 second fade time built in. I am coding so that 8 presets can be recalled or new ones made and saved over. I'd like the bar graphs on the touch panel to 'pseudo' fade with dimmer pack rather than snapping to the new values (just to look nice). Rather like a 'hmm hmm' Cxxtron dimming module.
Can anyone think of an easy way to do this rather than taking the difference in fader positions and dividing it by the time to work out the increments etc etc?
I'm sure I must be missing an obvious trick!
Colin
0
Comments
Heh ... that would be his obvious trick. I doubt actual feedback matters, if he's just sending an on or an off. It just has to move at near the same pace as the actual dimming.
I guess it looks like a maths approach is going to be the only option - working out the rate of increase required and then incrementing via a set timeline. A pain I guess, but it will certainly look more professional than just snapping the level faders. Ironically the easy thing would be to ditch the level faders altogether but it is a helpful indication that the user has hit the end stops!