An electromagnetic flowmeter for measuring a flow rate of a fluid in a
pipe is described. A pipe carries a fluid. A magnetic coil is disposed
adjacent to the pipe for inducing a magnetic flux in the fluid. A
plurality of electrodes are disposed within the pipe, and the plurality
of electrodes are electrically isolated from one another. Measurement
circuitry is coupled to at least one of the plurality of electrodes and
is configured to measure flow rate as a function of a potential across
the plurality of electrodes. An empty pipe detector is coupled to at
least one of the plurality of electrodes and is adapted to detect an
empty pipe condition based upon an adjustable test criteria. In one
embodiment, a local operator interface is coupled to the empty pipe
detector for adjusting the adjustable test criteria.