I replaced the feedback resistor of an inverting configuration by a pot. I'm meant to vary from edge to edge the pot so I can get a variable gain within -100 < A < -10 (I mean, without getting out from that range not even on the edges). Therefore, I need to fix the gain when the pot is at 0 Ohm and so for its max Ohm to avoid getting it greater than 100 times or minor than 10 times.
My first attempts were to put a resistor in series with the pot (both as feedback), later I tried with placing a resistor in parallel with the pot (again as feedback); at any case, I couldn't get the gain to be limited at 10, it tends to zero invariably.
What can you kindly suggest to me?
EDIT: opamp polarized with +12 and -12 V