Grumpy_Mike:
Sorry but I have absolutely no idea what that diagram means. You might know but it is not clear.
The quality of an answer is only as good as the quality of the question.
Ok, the text version...
I have 2 substances (redbull and jagermeister)...
I have 2 ultrasonic sensors (one for left hand and one for right hand)...
With left hand i am controlling the amount of redbull and jagermeister that is going into glasses...
With right hand i am controlling the ratio of redbull and jagermeister that is going into glasses...
The ratio detirmined by the right hand depends on the value of the left hand.
for example if i have 80% red bull and 20% jager (detirmened with right hand), but left hand is at 0 % NOTHING will flow...