 If the voltage is chosen such that the electric field is eliminated (the flat vacuum condition), then
Since the experimenter controls and knows "ΔV"sp, then finding the flat vacuum condition gives directly the work function difference between the two materials.The only question is, how to detect the flat vacuum condition?Typically, the electric field is detected by varying the distance between the sample and probe.