We use these for counting the revolutions of our motor. We mount them to the output shaft of the gearbox with a piece of surgical tubing. One of our mentors manufactured some spiffy plastic mounts that strap onto the side of the motor to hold the potentiometer. Works pretty nice.
http://www.alliedelec.com/search/pro...px?SKU=9700063