Switch off measuring, control system during test of encoder, resolver