A system and method utilizes an image analysis approach for controlling
the probe-to-surface distance of a liquid junction-based surface sampling
system for use with mass spectrometric detection. Such an approach
enables a hands-free formation of the liquid microjunction used to sample
solution composition from the surface and for re-optimization, as
necessary, of the microjunction thickness during a surface scan to
achieve a fully automated surface sampling system.