The gain of U1 can be controlled by a digital binary 1248 nibble at ABC. The gain at digital 000 is unity or 1 and the gain at various stages are set by 4051.
Precision Attenuator with Digital Control – delabs
There are eight different gains as the steps of gain resistor network is chosen by 4051. The on resistance of 4051 channel around 100E gets added to U1 pin 2 internal impedance.
Auto ranging 4-1/2 Digit Digital Voltmeter – delabs
You can use separate resistor networks with trimpots for each channel if you require but keep the networks total burden on U1 pin 6 to around 10K, not less than than. You can use this to set the gain of a amplifier with the help of a microcontroller.
This circuit changes the gain of opamp U1B in four steps or segments. It can be used to get a linear output from most transducers to 1% levels.U1A is a amplifying buffer use it to boost the signal to the required level.
The resistor values i have put are for an imaginary transducer, you have to design them. The buffered input signal is compared to reference switching points by LM339.
Temperature Measurement and Control
LM339 changes the gain resistors of U1B thru the mux switch 4066. JP1 to JP4 can select either amplification or attenuation of signal. The resistor switched by 4066 can be across R1 or R2 based on JP1 to JP4.
You may have to input transducer values into a spreadsheet and draw a graph. Then divide the graph into 5 segments and deduce the switch points and gain.
A, B, and C are the Digital Control for x, y and z input and output pairs.The voltage at Vinx is stored in C1 when A goes high, when A is low the voltage stored in C1 is read by buffer U2A.
It could be used in DMM circuits as Analog Memory DMM range, AC-DC mode, logic control
Another application of Mux 8 Channel 4-20mA Analog Multiplexer
The stby or standby input should be low when sample and hold is operating. If stby is taken high then C1 Cap is isolated and leakage is minimum. The supply of +/- 7.5V is chosen as OFF resistance of 4053 is high at this supply.