The Midi Hardware encoder is designed to connect directly to potentiometers. It senses the voltage at the potentiometer wiper and converts it to the CC value.
The Behringer expression pedal appears to vary the analog audio level of an input signal, so it won't work at all with the encoder. The M-Audio EX-P is an example of what should work.
Ray