A method of evaluating the performance of a control system using an
electronic device having state machine logic. The state machine logic
includes determining a first logic state representative of a first
condition of the control system based on data received from the control
system. The state machine logic also includes executing a first testing
function and transitioning to a second logic state representative of a
second condition of the control system based on at least one of the
received data and output from the first testing function. The state
machine logic further includes executing a second testing function and
providing a diagnosis of the performance of the control system based on
the output of at least one of the first testing function and the second
testing function.