Guys, the only thing I would caution you on, is be careful about increasing the resistor value because of the voltage drop. Tim (the engineer of the CTRIO module) said, "The connections you mention will form a low pass filter. The 1k resistor could drop as much as 12V at the CTRIO maximum input current of 12mA, so be sure your power supply is at least 21VDC. The value of the cap will set the time constant, so 1uF would set a 1ms time constant. That seems like a good place to start. If you still have the issue, try increasing the cap size."
Increasing cap size has the same effect on time constant as increasing the resistor value with the added advantage of not increasing the voltage drop.