A new type of detecting device with many different states is proposed on the basis on a nonlinear oscillator with several stable limit cycles. The device can be used as an intelligent switch. A simple example of possible applications is presented, while numerous adaptive control applications exist.