Setting manually or automatically to start sampling