Rev digit board potentiometer

Has anyone used the potentiometer on the REV digit board? We have been messing around with it and are having issues reading the potentiometer on ai3. We can use a multimeter to see it correctly to from 0-5V, so the issue is decidedly in programming but when we read it, it appears to only be noise. Do we have to do something to indicate we want to read off of the mxp? Should we ground unused inputs? We have tried both declaring it as an analoginput and an analog potentiometer.

Thanks!
Andrew

According to another mxp expansion device manual, the four analog inputs on the MXP are separate from the ones on the RIOs ports. The potentiometer is on MXP port AI3, which is actually set up in WPIlib with something like:

analogInput revPot = new analogInput(7);

Caveat: just reading the documentation; I haven’t actually done this.