Glass electrode pH measurement
You measure an electric potential difference. It can be considered sum of three different effects. If you could isolate them, you will have the electromotive force of both reference electrodes. If they can be isolated, each of them will generate a potential difference at open circuit (when the stationary state is reached) equal in magnitude to the emf. You always will have this difference of potential plus the potential difference at both sides of the membrane. Just add potential differences due to the stationary condition reached because of the emf.