The code example that is mentioned will work for 4100S kit as well. Please make sure that the following are done:
1. Pin Assignment - Please make sure that the pins are assigned correctly. You can choose the pins where the slider is connected under Design Wide Resources -> Pins. Make sure that the pins set in this tab match the pins connected to the slider in the kit.
2. Slider hardware - Since the 4100S kit does not include a slider with the kit, please make sure that an external slider sensor is attached to the kit.
3. I2C connections - If the i2C pins are set correctly, you can run CapSense Tuner to check the status of the slider segments. You can do so by right clicking the component, and clicking on "Launch Tuner" option. Or you can select Tools->Component Tuners -> CapSense. Please connect to the kit and send a screecshot for further debug.
Thanks and regards