Turbine-type flowmeter uses the flow of liquid from a tank with reed-type liquid level switches as a calibration reference. A circuit to generate a reliable gate signal consists of an input and switch identification stage, monostable and bistable multivibrators, and a signal inverter and pulse output stage