Encoder window error check