An original method for diagnosing esophageal peristaltic function using an optoelectronic device that operates on the principle of optical location is described. The scheme of operation and used methods are detailed, and effectiveness of the optoelectronic device for diagnosis of functional disorders of the esophagus is assessed.