High current digital potentiometer?

Evenaav:
I have no information on the solenoid.
it is an air core coil with 0,3ohm resistance

Well 30V across a 0.3R load is 100A so your current requirement is massive. Much bigger than the 10A you first talked about.