Noise filter - power supply, digital input

The opto fet is a bi-directional switch.
Not sure what you mean with variable current.
A switch is certainly the wrong part to vary a current.

Please tell us the exact signals you are putting on the analogue inputs and what you expect on the output.

Is this thread related to your previous one?
Leo..