and other types of systems without departing from the principles of the present invention the latching event detector 30 includes a power supply circuit 32 a programmable microprocessor u 1 three event detector circuits 34 36 38 a relay k 1 interconnected relay driver circuits 40 42 a reset switch sw 1 a single shot circuit 46 a clock circuit 48 and a watchdog circuit 50 the power supply circuit 32 receives primary power from the power line 24 at terminals 1 and 3 of a connector p 1 the clock circuit 48 provides the basic system clock at pins 15 16 of the microprocessor u 1 the event detector circuit 34 is connected to terminal 3 of a connector p 3 which is connected to a line 52 connected between the ignition module 22 and the pilot valve 18 voltage present on terminal 3 of connector p 3 provides an indication that the pilot valve 18 is open and the output of the event detector circuit 34 at pin 6 of u 3 will be low when voltage is not present on terminal 3 of connector p 3 the pilot valve 18 is closed and the output of the event detector circuit 34 will be high the output of the event detector circuit 34 is connected to pin 8.